Add Process UI Components to Core

Created on 11 December 2024, 11 days ago

Problem/Motivation

Add core UI components to the AI module for visualizing and managing AI processes, with real-time updates using Server-Sent Events (SSE).

Currently, there's no standardized way to:

  • View process status and progress in real-time
  • Stream updates without polling
  • Manage running processes efficiently
  • Display process history
  • Provide continuous feedback for long-running operations
  • Integrate process visualization with entities

Proposed resolution

  1. Real-time Updates
    • SSE controller for process updates
    • Event stream handling
    • Real-time progress indicators
    • Stream reconnection handling
    • Fallback mechanisms
  2. Views Integration
    • Process list view
    • Process status view
    • Custom views field handlers
    • Filterable/sortable process data
    • Bulk operations support
  3. Process Display Components
    • Real-time status indicator
    • Streaming progress bar
    • Live token updates
    • Error display
    • Process control buttons
  4. Entity Integration Framework
    • Local tasks (tabs) integration
    • Entity-specific process views
    • Contextual filters
    • Process history per entity
  5. Stream Management
    • Connection handling
    • Error recovery
    • Bandwidth optimization
    • Multiple stream coordination
    • Client state management

API changes

  • New SSE endpoints
  • New local tasks
  • Stream handling services
🌱 Plan
Status

Active

Version

1.0

Component

User interface

Created by

🇬🇧United Kingdom seogow

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024