feat(session): add archive undo + unarchive command#16212
feat(session): add archive undo + unarchive command#16212anduimagui wants to merge 9 commits intoanomalyco:devfrom
Conversation
|
The following comment was made by an LLM, it may be inaccurate: Based on the search results, here are potentially related PRs (excluding the current PR #16212): Related PRs:
Note: The most recent and relevant duplicates appear to be #16031, #16001, and #15250, which all involve unarchive functionality. You may want to review these to ensure the work doesn't overlap or cause conflicts. |
|
This builds on the same unarchive groundwork from related PRs, but the main UX goal here is speed to immediately undo if it was a mistake. like Gmail’s “Undo Send” toast, instead of having to navigate elsewhere to restore a session. |
Issue for this PR
Closes #
Type of change
What does this PR do?
Adds a proper unarchive flow and makes archive easy to undo.
What changed:
Cmd+Shift+Backspace)Cmd+Shift+U)session.unarchivein the app command registry.archivedcan be cleared (null) and unarchive can preserve the oldupdatedtimestamp.Why this solves it:
How did you verify your code works?
bun install./packages/sdk/js/script/build.tsbun run typecheckin:packages/apppackages/desktoppackages/opencodebun turbo typechecksuccessfully.Screenshots / recordings
Checklist