Live activity indicator replacing typing dots (#96) #104

Merged
westfarn merged 1 commits from feat/96-activity-indicator into master 2026-08-04 04:08:58 -07:00
Owner

Summary

  • Closes #96.
  • Parses versioned WS status frames in MessageContext (activityStage / label / detail / history).
  • New ActivityIndicator: completed stages with checks, ~400ms min display, elapsed/still-working notes, a11y live region, reduced-motion, dots fallback when no frames.
  • Wired through ConversationDetailCard + AsyncDashboard2; analytics ACTIVITY_STAGE_COMPLETED.

Depends on

Backend status emission from chat_backend PR (feat/62-p4-evals-63-agentic). Without it, UI keeps three-dot fallback.

Test plan

  • Jest: wsFrames, ActivityIndicator, ConversationDetailCard, MessageContext
  • Manual light/dark + 320px width
  • Manual with backend status frames: Evaluating → Searching → Refining
  • Manual: stream interrupt clears indicator
  • Capacitor Android smoke
## Summary - Closes [#96](https://git.aimloperations.com/ai_ml_operations/chat_web_app/issues/96). - Parses versioned WS `status` frames in `MessageContext` (`activityStage` / `label` / `detail` / `history`). - New `ActivityIndicator`: completed stages with checks, ~400ms min display, elapsed/still-working notes, a11y live region, reduced-motion, dots fallback when no frames. - Wired through `ConversationDetailCard` + `AsyncDashboard2`; analytics `ACTIVITY_STAGE_COMPLETED`. ## Depends on Backend status emission from [chat_backend PR](https://git.aimloperations.com/ai_ml_operations/chat_backend/pulls) (`feat/62-p4-evals-63-agentic`). Without it, UI keeps three-dot fallback. ## Test plan - [x] Jest: `wsFrames`, `ActivityIndicator`, `ConversationDetailCard`, `MessageContext` - [ ] Manual light/dark + 320px width - [ ] Manual with backend status frames: Evaluating → Searching → Refining - [ ] Manual: stream interrupt clears indicator - [ ] Capacitor Android smoke
westfarn added 1 commit 2026-08-04 04:07:54 -07:00
Replace typing dots with live activity status frames (#96).
Unit Tests / test (pull_request) Successful in 12s
de6251e02f
Parse versioned WS status envelopes in MessageContext, render
ActivityIndicator with history/min-display/a11y, and fall back to
three dots when the backend sends no status frames.
westfarn merged commit 3313738990 into master 2026-08-04 04:08:58 -07:00
westfarn deleted branch feat/96-activity-indicator 2026-08-04 04:08:58 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/chat_web_app#104