Skip to content

Phase 5 — Real-time Progress & UX #6

Description

@hypercompetent

Part of the PyQt → Dash/Plotly migration. See cytoflowweb/PLAN.md for full context.

Estimated effort: 1–2 weeks
Depends on: Phase 1 (#1)

Tasks

  • Add FastAPI WebSocket endpoint (/ws/{session_id})
  • Integrate dash-extensions WebSocket client (or dcc.Interval polling as fallback)
  • Status badges per pipeline step (valid / estimating / applying / error) using dbc.Badge
  • Cancel running computation button

WebSocket message schema

{"type": "status",    "step": 3, "state": "estimating", "progress": 0.42}
{"type": "plot_ready","step": 3}
{"type": "error",     "step": 3, "message": "..."}

Milestone

Long-running operations (tSNE, SOM, Gaussian mixture) show live progress in the sidebar. Users can cancel a running computation without refreshing the page.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions