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

Resolved 💬 2 comments Opened Jun 28, 2026 by JakobGruen 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 ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗