AI Assistant: double loading indicator (cursor + dots) while waiting for response #48

Closed
opened 2026-03-19 14:33:29 +00:00 by mik-tf · 1 comment
Owner

Problem

When sending a message in the AI Assistant, two loading indicators appear simultaneously:

  1. An empty message bubble with a cursor |
  2. A separate ... dots indicator below it

This 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 bubble
  • hero_archipelagos/archipelagos/intelligence/ai/src/island.rs — manages loading state

Context

This is a frontend-only issue. The backend (hero_agent) sends SSE events correctly — event: token followed by event: 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.

## Problem When sending a message in the AI Assistant, two loading indicators appear simultaneously: 1. An empty message bubble with a cursor `|` 2. A separate `...` dots indicator below it This 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 bubble - `hero_archipelagos/archipelagos/intelligence/ai/src/island.rs` — manages loading state ## Context This is a frontend-only issue. The backend (hero_agent) sends SSE events correctly — `event: token` followed by `event: 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.
Author
Owner

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

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
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/home#48
No description provided.