Skip to main content

Frontend Chat

3 requirements · 9 scenarios

Background Conversation Monitoring

JR-frontend-chat-005
The frontend SHALL maintain SSE connections for all conversations with processing status, regardless of which conversation is active. Background completion and error events SHALL update conversation status without interrupting the active view.
3 test scenarios
  • Background completion updates status JR-frontend-chat-005.1
  • Background error updates status JR-frontend-chat-005.2
  • Switching active chat preserves processing streams JR-frontend-chat-005.3

Attachment Download URL Resolution

JR-frontend-chat-006
The frontend SHALL use the backend-provided download URL for chat attachments when present, and only fall back to legacy identifier-based URLs if no download URL is provided.
2 test scenarios
  • Download URL provided by backend is used JR-frontend-chat-006.1
  • Legacy attachment identifier fallback JR-frontend-chat-006.2

Research Timeline Completion State

JR-frontend-chat-007
The research timeline panel SHALL reflect completion state when the chat ends. Missing information indicators SHALL be hidden on completion. The timeline SHALL auto-collapse and display a completion summary, while remaining interactive for review.
4 test scenarios
  • Missing information hidden when chat completes JR-frontend-chat-007.1
  • Timeline auto-collapses on chat completion JR-frontend-chat-007.2
  • Summary shows completion text when chat ended JR-frontend-chat-007.3
  • Timeline remains interactive after completion JR-frontend-chat-007.4