session list under projects should be ordered by last use, newest first #31

Closed
opened 2026-07-26 12:34:27 +00:00 by hugo · 1 comment
Owner

just list the normal sessions by date of last use, the newest used one first. that is more natural than the current order. if I work on a session, chances are that it is more relevant than some other session that happens to be before it in the list.

just list the normal sessions by date of last use, the newest used one first. that is more natural than the current order. if I work on a session, chances are that it is more relevant than some other session that happens to be before it in the list.
hugo added the bug label 2026-07-26 12:34:27 +00:00
Author
Owner

Implemented in 7f14b60. Sessions now persist a last-used timestamp, refresh it when opened and when chat/tool turns are stored, and sort newest-first within the existing pinned/normal/archived groups with a deterministic ID tie-breaker. This matches DS4's persisted last_used ordering behavior. Added a database regression test covering recency ordering and group precedence. Verified with cargo fmt --all -- --check, cargo clippy --all-targets --all-features -- -D warnings, make bundle, and cargo test --all-features (124 passed, 12 hardware-dependent tests ignored).

Implemented in 7f14b60. Sessions now persist a last-used timestamp, refresh it when opened and when chat/tool turns are stored, and sort newest-first within the existing pinned/normal/archived groups with a deterministic ID tie-breaker. This matches DS4's persisted last_used ordering behavior. Added a database regression test covering recency ordering and group precedence. Verified with cargo fmt --all -- --check, cargo clippy --all-targets --all-features -- -D warnings, make bundle, and cargo test --all-features (124 passed, 12 hardware-dependent tests ignored).
hugo closed this issue 2026-07-27 16:54:36 +00:00
Sign in to join this conversation.