feat(ui): add "All branches" tab to board assistant panel - #2058
Open
tzercin wants to merge 1 commit into
Open
Conversation
Adds an "All branches" tab to the board teammate/assistant panel, sitting alongside "All sessions". It lists every branch on the current board — including archived (hidden) ones that the global store intentionally omits — each with a pan-to-branch locator button that mirrors the All Sessions tab, plus the zone(s) the branch is pinned to. - New BoardBranchList component fetches board-scoped branches without an archived filter, sorts active-before-archived (MRU within each group), and surfaces the daemon-enriched zone_label. - Refetches on branch and board-object realtime events so zone moves (which patch board_objects, not the branch row) update the pill live. - Wires the tab into BoardTeammatePanel and the panel rail (BranchesOutlined). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
tzercin
force-pushed
the
all-branches-tab
branch
from
July 28, 2026 07:40
31f03cc to
33b4a08
Compare
Member
|
Screenshot plz! |
Contributor
Author
|
Attached. ScreenRecording20260728212444-reduced.mp4 |
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
Adds an All branches tab to the board teammate/assistant panel, sitting alongside the existing All sessions tab. It lists every branch on the current board — both active/shown and inactive/hidden (archived) — each with a pan-to-branch locator button (mirroring the All Sessions tab) and the zone(s) the branch is pinned to.
What's included
BoardBranchListcomponent — fetches board-scoped branches without anarchivedfilter, so both shown and hidden branches appear (the global store intentionally omits archived ones). Sorts active-before-archived, most-recently-used first within each group, and surfaces the daemon-enrichedzone_label.branchesandboard-objectsrealtime events. Zone pinning lives onboard_objects.data.zone_idrather than the branch row, so a zone move patchesboard-objectsand never fires a branch event; the board-object listener keeps the zone pill accurate without a page refresh.BranchBoardLocatorIcon/ row click that pans the canvas camera onto the branch card via the shared recenter channel.all-branchestab inBoardTeammatePaneland aBranchesOutlinedentry in the panel rail.Testing
BoardBranchList.test.tsxcovers: listing both shown and archived branches with zone labels, the archived-filter-free query, realtime refetch on board-object (zone move) events, ignoring events for other boards, and pan-to-branch on row click.pnpm vitest run).🤖 Generated with Claude Code