Add Process UI Components to Core

Created on 11 December 2024, 7 months 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

  • Issue created by @seogow
  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

    We are doing some issue management housekeeping and adding/removing components.

    The "Providers" and "User interface" components will be removed because providers have been moved into their own projects and user interface should be part of the relevant module/submodule, so this issue is being moved to "Miscellaneous".

    If we have a different project to move this to, we can also do that as a secondary step.

    See πŸ“Œ Update AI module project components Active for more details.

    ======

    @seogow What is the status of this issue? I see it's still assigned to you.

Production build 0.71.5 2024