Repository navigation
feat(web): show project attention in switcher - #7955
sethwebster wants to merge 2 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Skipped Macroscope did not run approvability analysis for this PR. Macroscope could not determine whether this PR modifies its approvability configuration, so the PR was not approved automatically. A PR that may change the rules that govern approval is never approved automatically. |
|
Note This comment is posted by Julius' dot Closing this because the new project attention dots require prior product-direction approval. In #7954, Theo classified these dots as a feature proposal and asked for an Ideas discussion; this PR does not link approval of the direction and scope. The contribution guide requires that approval. Please obtain it in an Ideas discussion and link the decision when requesting reconsideration. |
Closes #7954.
Problem
The project switcher hides attention states in other projects. Users have to change the project filter or return to All projects to find a failed thread, an input request, or an unread completion.
Fix
failed > input > doneprecedence.Mobile keeps its native text-only project filter, which has no project-icon slot.
UI changes
Verification
pnpm exec vp test run apps/web/src/components/Sidebar.logic.test.ts(111 tests)pnpm exec vp run --filter @t3tools/web typecheckvp lintfor the changed TypeScript filespnpm exec vp run --filter @t3tools/web buildFailed,Awaiting input, andDoneImplemented with gpt-5.6-sol through the Codex harness in T3 Code.
Note
Low Risk
UI-only sidebar switcher change with isolated status rollup and tests; no auth, data, or API surface changes.
Overview
The web/desktop project switcher now shows a status dot on projects that need attention outside the current filter, so users can find failures, input requests, and unread completions without switching to All projects.
Dots roll up only
failed,input, anddone(unread completion), in that order. Approvals, background work, settled/snoozed/archived threads, and never-visited historical completions do not light a dot. Cross-project status is computed only while the menu is open; each row subscribes only to its own visit markers. Accessible names include the status label. Mobile stays text-only.Reviewed by Cursor Bugbot for commit bbd52c7. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add project attention dots to the sidebar project switcher
resolveProjectAttentionStatusin Sidebar.logic.ts which reduces a list of threads to a single attention status with precedence:failed>input>done, ornullwhen no attention applies.ProjectScopeMenuItemcomponent in Sidebar.tsx that renders a colored dot and aria-label per project when attention is present, and a settings button.projectAttentionThreadsByKey; out-of-scope threads remain hidden in the main lists but are processed for attention.Macroscope summarized bbd52c7.