-
Notifications
You must be signed in to change notification settings - Fork 534
bug: first conversation click from clean state does not load messages #729
Copy link
Copy link
Closed
Description
Description
When navigating to the Chat page and clicking on a conversation for the first time, the conversation messages do not load. The URL updates correctly, the sidebar item highlights, and the agent auto-selects, but the main content area continues showing the "Start a conversation" empty-state placeholder.
Clicking a different conversation after the failed first click loads messages correctly. Going back to the originally-clicked conversation also works after that.
Steps to Reproduce
- Navigate to
/chat(clean state, no conversation selected) - Select an agent (e.g., "glm thục bô") or leave unselected
- Click the first conversation in the list (e.g., "Chat a95c8ffa")
- Observe: URL updates, sidebar highlights the conversation, but main area shows "Start a conversation"
- Click a different conversation (e.g., "Chat 9d511cea")
- Observe: messages load correctly
Expected Behavior
Clicking any conversation should immediately load and display its messages.
Actual Behavior
| Click | Target | Result |
|---|---|---|
| 1st (from clean state) | Any conversation | URL updates, item highlights, messages NOT loaded |
| 2nd | Different conversation | Messages load correctly |
| 3rd+ | Any conversation | Messages load correctly |
Affected Files
ui/— chat conversation panel component (likely a race condition between agent context initialization and conversation message fetch on first selection)
Environment
- GoClaw v2.67.3
- Tested via Playwright browser automation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels