Skip to content

Archive chats optimistically without delaying navigation - #697

Merged
cfal merged 5 commits into
mainfrom
fix/archive-switch-immediately
Sep 7, 2026
Merged

cfal merged 5 commits into
mainfrom
fix/archive-switch-immediately

Conversation

@cfal

@cfal cfal commented Sep 6, 2026 •

Copy link
Copy Markdown
Owner

Archiving a chat previously delayed navigation and left the row visibly unarchived while the request completed, allowing late work to override a manual chat switch. This change navigates away immediately, optimistically moves affected rows to the top of the archived group, reconciles server truth in the background with failure-safe rollback, preserves later user navigation, and guards overlapping single and bulk archive actions.

@cfal cfal changed the title Switch chats immediately when archiving Archive chats optimistically without delaying navigation Sep 7, 2026
cfal added 3 commits September 7, 2026 00:53
…mediately

# Conflicts:
#	web/src/lib/chat/sessions/chat-sessions.svelte.ts
#	web/src/lib/components/sidebar/__tests__/sidebar-row-model.logic.test.ts
@cfal
cfal merged commit 201b5db into main Sep 7, 2026
26 of 27 checks passed
@cfal
cfal deleted the fix/archive-switch-immediately branch September 7, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant