AI Assistant: double loading indicator (cursor + dots) while waiting for response #48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When sending a message in the AI Assistant, two loading indicators appear simultaneously:
|...dots indicator below itThis looks like two separate messages loading instead of one clean loading state.
Expected
Single loading indicator — either the cursor in the bubble OR the dots, not both at the same time.
Where
hero_archipelagos/archipelagos/intelligence/ai/src/views/message_bubble.rs— creates the streaming bubblehero_archipelagos/archipelagos/intelligence/ai/src/island.rs— manages loading stateContext
This is a frontend-only issue. The backend (hero_agent) sends SSE events correctly —
event: tokenfollowed byevent: done. The response arrives and renders properly after the loading phase.The issue is that the island creates both a streaming placeholder bubble AND a loading indicator simultaneously, instead of showing just one.
Priority
Low — cosmetic issue, does not affect functionality.
Fixed: removed
&& !m.content.is_empty()from message_list.rs condition. Dots now only show when no assistant message exists at all. Squash-merged to development in hero_archipelagos.Signed-off-by: mik-tf