Repository navigation
fix(web): omit visible project threads from Recents - #1279
Conversation
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
…cents Restore the original intentional Recents behavior by reverting PR BytePioneer-AI#1279/BytePioneer-AI#1280 project-session exclusion so Recents once again lists all recent visible root sessions in the active host scope (including sessions belonging to expanded, collapsed, or windowed projects). Also fix remote host scope bugs in Recents: - Include ungrouped sessions belonging to the selected remote host (in "all" mode) instead of restricting ungrouped sessions to local only. - Gate local catalog pagination (list.hasMore / list.loading) by hostScopeIncludesLocalSessions so remote-only views no longer show a ghost "Show more" button when there are no more remote rows. - Gate projectless session creation (canStartProjectless) by hostScopeIncludesUngroupedLocal so remote-only and local-selected-workspace views do not expose a local-only compose button or render an empty Recents section.
Summary
Expanding a Workspace currently shows the same conversation under both the project and Recents. Exclude conversations already rendered in project sections before applying the Recents display limit, so the remaining recent conversations fill the list. Folding the project makes its conversations eligible for Recents again.
Related issues
N/A
UI Demo
Sanitized examples from CodexHost Web 0.28.0 on Windows.
Test plan
node --test apps/web-ui/packages/client/ui-workspace/test/sidebar-window.test.ts— 10 tests passed. The new case failed on the baseline and passed with the fix.