Repository navigation
History: filter sessions by archived state #6037
apple-ouyang
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What I am trying to do
Narrow History to a specific archived state: all / unarchived / archived.
How I do it today
I cannot. History returns archived and live sessions in one list — the daemon's
fetch_agent_history_requestalready defaults toincludeArchived: true— and the only signal is the small "Archived" badge on each row. My installation has ~930 persisted sessions and 877 of them are archived, so the 53 live ones are buried, and going back to a specific archived session means scrolling a very long list.Where Paseo gets in the way
The list is exactly where "which of these are archived?" should be answerable, but there is no control for it. The value is already on the client (each row carries
archivedAt), so nothing new is needed from the daemon.What a better workflow looks like
A three-state segmented control next to the History search field — All / Unarchived / Archived — filtering the rows the screen already holds. I used Orca's Workspace Cleanup "Archived" facet (Any / Only / Exclude) as the shape reference; that is a client-side filter too.
I already run a local build of this. Screenshots below come from a harness with no paired daemon, so the list itself is empty — they show the control and the filter-aware empty state:
If this direction is useful, I am happy to open a focused PR: app-only changes (the History screen, a small pure state module with unit tests, and the nine locale files). No daemon or protocol change.
All reactions