Repository navigation
feat(recent): 🕘 Recent menu + Ctrl+Shift+E to jump to recently used sessions - #192
Merged
Merged
Conversation
…ently used sessions Lists the 10 most recently used sessions (live and sleeping), newest first, without the active one — so Ctrl+Shift+E, Enter flips back to the previous session; 1–9/0 pick directly. Rows show accent, name, folder, status and "5m / 3h / 2d". A live pick is focused (switching the group tab in filter-strip mode when it's hidden); a sleeping one is woken. LastActivityAt is no longer stamped during the restore loop, which used to overwrite the saved order with sidebar order on every start. Ordering/wording in WPF-free Services/RecentSessions (unit-tested); UI test RecentSessionsTests checks the order and the jump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NsYm9iLc2aRnRDfV2uZRQX
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NsYm9iLc2aRnRDfV2uZRQX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
🕘 Recent ▾ next to "+ New Session", and Ctrl+Shift+E (not Ctrl+E — that's end-of-line in bash), open a menu of the 10 most recently used sessions, live and sleeping, newest first.
5m / 3h / 2d.Fix included:
LastActivityAtwas stamped for every session during the restore loop (each restored session becomes active in turn), overwriting the saved order with sidebar order on every start. It is no longer stamped while restoring — also fixes the "last active" sidebar sort.Tests
RecentSessionsTests(unit, 13): order, active excluded, sleeping included, cap, ties, wordingRecentSessionsTests: A then B → menu shows A first (B absent); jump to A → menu shows B firstNot yet checked by hand
Ctrl+Shift+E while a terminal has focus; the order after a restart.
🤖 Generated with Claude Code
https://claude.ai/code/session_01NsYm9iLc2aRnRDfV2uZRQX