session list under projects should be ordered by last use, newest first #31
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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).