Repository navigation
feat(web): agrupamento, filtro e ordenação da sidebar - #1
Merged
Merged
Conversation
The sidebar inbox is one flat list. With several environments, projects and providers in play there is no way to see "just this machine" or "just Codex" without scoping to a single project at a time, and every card repeats the project name whether or not that is the useful bit. Adds a compact bar under the project selector with three menus: - Group by: environment, project or provider, plus an optional second axis nested inside the first. "Nothing" keeps today's flat list and stays the default. - Provider filter: narrows every shelf, not just the inbox, so the filter never lies about what "only Claude" means. - Sort: last activity or date created. The existing project grouping mode (repository / folder / project) is surfaced here too, instead of living only in Settings. Each trigger reads out its current choice, so the bar doubles as the readout of how the list is arranged. Grouped rows say each thing once: a card drops whatever a section header above it already states, so the same row is three lines in the flat list and one line under a project header. Collapsed sections carry an attention rollup — approvals, input requests, failures, unread completions and running work — using the same status rules the rows themselves follow, so a header can never claim something its rows would not show. Unread finished threads get a dot next to their title. The grouping itself is pure and unit-tested: sections come out in first-appearance order and threads keep their incoming order, so sorting and grouping stay orthogonal. Collapse state persists per section key and resets when the axes change, so stale keys cannot pre-collapse unrelated sections. Pinned keeps its manual order and the snoozed and settled shelves stay whole. Written by Claude Opus 5 in Claude Code.
Grouping the inbox by project surfaces every project as a header, but starting work in one still meant going back up to the project selector and changing scope. Adds a New thread button beside the collapse arrow on project section headers. Environment and provider sections span several projects, so they have no unambiguous target and get no button rather than a guess. The button is a sibling of the toggle rather than a child (a button inside a button is invalid), and it reads its target off the section's first thread instead of parsing the group key, so ids stay branded and the key format stays an implementation detail. Written by Claude Opus 5 in Claude Code.
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.
Traz as modificações próprias do fork para a
main, estabelecendo o modelo main = upstream/main + minhas alterações.O que entra
feat(web): group, filter and sort the sidebar inbox— agrupamento, filtro e ordenação da inbox na sidebarfeat(web): start a thread from a project section header— iniciar thread direto pelo header da seção do projetoArquivos
apps/web/src/components/Sidebar.tsxapps/web/src/components/sidebar/SidebarGroupingBar.tsxapps/web/src/components/sidebarThreadGrouping.tsapps/web/src/components/sidebarThreadGrouping.test.tspackages/contracts/src/settings.tsdocs/user/thread-sidebar.mdTotal: 7 arquivos, +1791 / -204.
Notas
mainatual (592c5983c) verificado localmente: sem conflitos.t3code-syncpassa a mergearupstream/mainpor cima destas alterações a cada 3 horas.