Desktop: archiving a session from the Completed list jumps to a new session instead of selecting the next one in the list
Summary
In the desktop app's session sidebar, archiving a session from the Completed list navigates away to a brand-new, empty session screen. I expected the app to stay in the list and select the session that was directly below the archived one.
Steps to reproduce
- Have several sessions in the Completed section of the sidebar.
- Right-click a session that is not the last one in the list → Archive (or press
A). - Observe which session is displayed afterwards.
Actual behavior
The main pane switches to a new/empty session screen. My place in the list is lost, and I have to scroll back and click the next session manually.
Expected behavior
After archiving, select and display the session that was immediately below the archived one within the same list — the same convention as mail clients and file managers. Suggested fallbacks:
- If the archived session was the last item in its list, select the item immediately above it.
- Only if the list becomes empty should the app fall back to a new session screen.
Why it matters
Archiving is usually done in a sweep — several finished sessions in a row. Being thrown to a new session after every single archive turns a quick cleanup pass into repeated re-navigation.
Environment
- Claude Code desktop app (macOS), CLI version
2.1.205 - macOS 15 (Darwin 24.6.0), Apple Silicon