feat(app): view archived sessions & unarchive#15250
feat(app): view archived sessions & unarchive#15250alexyaroshuk wants to merge 14 commits intoanomalyco:devfrom
Conversation
|
The following comment was made by an LLM, it may be inaccurate: Potential Duplicate PRs Found
|
|
02d566e to
76cda30
Compare
|
@adamdotdevin Could this get a review? Anything I should change? |
|
I just experienced this exact issue - I archived a session by mistake and couldn't find any way to unarchive it in the UI. The session data was still in the SQLite database, but there was no way to restore it through the interface. This PR would have saved my session! Really glad to see this fix coming. The implementation looks clean - having the archived sessions in Settings > Data makes perfect sense. Tested the branch locally and the unarchive functionality works as expected. This solves issues #6680 and #12393 perfectly. 🚀 Please prioritize this merge! |
|
Update: I've also created a complementary PR with tests for the archive/unarchive functionality: ✅ PR #1 (from my fork): Shaik121#1 The tests verify:
All tests pass (2 pass, 0 fail). Could the maintainers please review and merge PR #15250? This feature is critical for users who accidentally archive sessions - there's currently no way to unarchive them in the UI. The tests confirm the backend functionality works as expected. |
Issue for this PR
Closes #6680, #12393
Type of change
What does this PR do?
Adds a new "Archived Sessions" section in Settings that allows users to:
How did you verify your code works?
Screenshots / recordings
Checklist
Comparison to #6769
This pr solves the same underlying issue as 6769, but differently:
Compared to PR #6769, I've placed the archived sessions feature in Settings/ Data(new tab) instead of the sidebar dropdown, added a multi-project filter (All/Current project), and used a simpler list view without the built-in search. The backend changes are in routes/session.ts instead of server.ts.
Files changed