Skip to main content

Frontend Chat

3 requirements · 9 scenarios

Background Processing SSE Coverage

JR-frontend-chat-005
The frontend SHALL maintain SSE connections for all conversations with status processing, regardless of which conversation is active.
3 test scenarios
  • Background completion updates status JR-frontend-chat-005.1
  • Background error updates status JR-frontend-chat-005.2
  • Switching active chat does not disconnect processing streams JR-frontend-chat-005.3

Chat attachments use backend download URLs

JR-frontend-chat-006
The frontend SHALL use the backend-provided download_url for chat attachments when present, and only fall back to legacy ID-based URLs if no download URL is provided.
2 test scenarios
  • Download URL provided by backend JR-frontend-chat-006.1
  • Legacy attachment ID 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 (status becomes completed or cancelled).
4 test scenarios
  • Hide missing information when chat completes JR-frontend-chat-007.1
  • Auto-collapse timeline on chat completion JR-frontend-chat-007.2
  • Summary line shows completion text when chat ended JR-frontend-chat-007.3
  • Timeline remains interactive after completion JR-frontend-chat-007.4