Session list sort/group state not persisted (resets on panel change or chat navigation)

Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened Jun 28, 2026 · closed Jun 28, 2026

Summary

The sort and group settings in the session list are not persisted. Every time you:

  • Switch between panels (e.g. cockpit ↔ project view)
  • Enter and exit a chat

…the sort/group state resets to the default, losing any customization.

Expected behavior

The selected sort order and group setting should be saved and restored:

  • Per project — when viewing a project's session list, remember that project's last sort/group choice
  • In the cockpit — remember the cockpit session list's last sort/group choice separately

Actual behavior

Sort and group always revert to the default state on any navigation that causes the session list to remount.

Reproduction steps

  1. Open the session list (cockpit or project view)
  2. Change the sort order or grouping
  3. Navigate into a chat, then back out — OR switch to another panel and back
  4. Observe: sort/group has reset to default

Suggested fix

Persist the sort/group preference in local storage (or settings), keyed by context (cockpit vs project:<id>), and rehydrate on mount.

View original on GitHub ↗

3 Comments

github-actions[bot] · 3 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/48242

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

JakobGruen · 3 months ago

Filed in the wrong repo — this is a mobile-code project issue, not a Claude Code bug. Refiled at https://github.com/JakobGruen/mobile-code/issues/267.

github-actions[bot] · 1 month ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.