Skip to content

Conversation

@0xajka
Copy link

@0xajka 0xajka commented Jan 3, 2026

Resolves issue #6680

  • Add dialog to list and restore archived sessions
  • Update server to support archived filter in session list
  • Add archived parameter to SDK session.list method

Added a "view archived sessions" menu item to the menu in the side bar. This opens a dialoge box that lists the archived sessions from that project and if you click on one it will unarchive it and open it up. @adamdotdevin suggested it on the discord and gave most of these requirements.

menu modal

@adamdotdevin
Copy link
Contributor

@0xajka this looks good, but I think we should use the List component inside the dialog so we get search across the archived sessions. Take a look at the file selection dialog for an example.

0xajka added 2 commits January 3, 2026 18:11
- Add search functionality via List component's built-in search
- Simplify code by removing manual loading/empty state handling
- Enable keyboard navigation and fuzzy search for archived sessions
@0xajka
Copy link
Author

0xajka commented Jan 3, 2026

@adamdotdevin I changed it to using the List component

@0xajka
Copy link
Author

0xajka commented Jan 3, 2026

modal-using-list-component

@adamdotdevin
Copy link
Contributor

modal-using-list-component

Let's tighten up the list items so they don't have so much padding, can you take a look at our normal list item styles and go off of that?

@0xajka
Copy link
Author

0xajka commented Jan 4, 2026

@adamdotdevin More like this?

modal-using-list-component-2

@0xajka
Copy link
Author

0xajka commented Jan 4, 2026

Changed it so it will truncate and show ellipses

modal-using-list-component-3

@0xajka 0xajka requested a review from adamdotdevin as a code owner January 6, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants