messaging: open chat lost on page reload — chat SID never written to URL #185
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#185
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
Opening a chat updates the in-memory
routesignal but never writes to the URL. After F5 the user is dumped back to the empty 'Select a conversation' state.The deserializer already supports it:
Route::from_viewatarchipelagos/messaging/src/archipelago.rs:42-66accepts achat:<sid>:<name>view encoding. The serializer side just isn't wired.Repro
/space/default/messaging, click any conversation.…/messaging(noview=segment, no+chat:…suffix).Where
archipelagos/messaging/src/archipelago.rs:263-270—handle_chat_click:Suggested fix
When
route.set(Route::Chat { … })fires, also update the IslandContext view via the navigation API so the URL reflectschat:<sid>:<name>.Route::from_viewwill then restore on reload.Found via QA session 2026-04-29.