chat switch: stale flash + rapid-switch race #48
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos#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?
Two related issues in
archipelago.rs:handle_chat_clickonly updatedroute; the previous chat'sactive_chat/active_messageswere visible until the new fetch completed, causing a noticeable flash of stale data.active_messagesand clobber B's.Fix: clear
active_chat/active_messages/erroron click. In the chat-load effect, define astill_on_chat(&sid)check that readsroute.peek()after each.awaitand bails out early if the user has moved on.zaelgohary referenced this issue2026-04-19 08:29:02 +00:00
bug: switching chats flashes old data + rapid switch can clobber the viewto chat switch: stale flash + rapid-switch racezaelgohary referenced this issue from lhumina_code/hero_os2026-04-19 09:26:23 +00:00
Fixed by #56.