fix(desktop): show unprojected sessions in project grouping - #54608
Open
EvenXieWF wants to merge 1 commit into
Open
fix(desktop): show unprojected sessions in project grouping#54608EvenXieWF wants to merge 1 commit into
EvenXieWF wants to merge 1 commit into
Conversation
EvenXieWF
force-pushed
the
fix/desktop-no-project-sessions
branch
from
June 29, 2026 04:07
f4db463 to
5afe863
Compare
EvenXieWF
force-pushed
the
fix/desktop-no-project-sessions
branch
from
June 29, 2026 05:45
5afe863 to
0e5b219
Compare
11 tasks
Contributor
|
Thanks for covering the backend tree, preview rendering, dismissal guard, and project drill-in path. The underlying omission is still present on current main: Problems
Suggested changes
Automated hermes-sweeper review. |
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
No projectbucket to the Desktop project tree for sessions that cannot be assigned to an explicit project or git repo.Why
After the Desktop project-grouped sidebar was introduced, historical sessions with
cwdmissing,cwd='/', home/Hermes state paths, or other non-project locations could disappear from the grouped Projects view. The sessions still existed in the database and flat recents, but the Projects overview could appear to contain only one real project, which looks like sessions were lost after an upgrade.Even after adding the synthetic bucket, the overview intentionally previews only a few rows per project. Without a count/"show more" affordance, a bucket with many sessions can still look like it only contains the preview rows.
Tests
/Users/xiewenfen/.hermes/hermes-agent/venv/bin/python -m pytest tests/tui_gateway/test_project_tree.py tests/tui_gateway/test_projects_rpc.py -q— 32 passednpm run test:ui -- src/app/chat/sidebar/projects/workspace-groups.test.ts— 37 passednpm run typechecknpm run build