Skip to content

Refactor secondary panel tab ownership - #131

Merged
ymichael merged 7 commits into
mainfrom
bb/scope-secondary-panel-tabs-thr_nsdencsz3x
Jun 13, 2026
Merged

ymichael merged 7 commits into
mainfrom
bb/scope-secondary-panel-tabs-thr_nsdencsz3x

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

Summary

  • unify secondary-panel tab state behind stable identities and derive panel open state from tab state
  • remove secondary-panel URL round-trip sync and per-kind file-tab callback plumbing
  • make browser view visibility deck-local and preserve diff/iframe mounts across visibility toggles
  • reducerize git diff panel state and fold in Sync terminal tabs and active badge counts #127 terminal tab sync / active-count changes

Validation

  • pnpm exec turbo run typecheck --filter=@bb/app --filter=@bb/domain
  • pnpm exec turbo run test --filter=@bb/app -- threadTerminalTabs gitDiffPanelStateReducer secondaryPanelTabState
  • pnpm exec turbo run test --filter=@bb/domain -- terminal
  • git diff --check

@ymichael
ymichael force-pushed the bb/scope-secondary-panel-tabs-thr_nsdencsz3x branch from 9f3b137 to 6a3f92b Compare June 13, 2026 02:08
@ymichael
ymichael merged commit 871951c into main Jun 13, 2026
6 checks passed
@ymichael
ymichael deleted the bb/scope-secondary-panel-tabs-thr_nsdencsz3x branch June 13, 2026 02:24
brsbl added a commit that referenced this pull request Jun 15, 2026
Sync the paginated diff tab onto main's secondary-panel/diff refactor (65
commits: #131 tab ownership, #106 committed-changes option, #114 line-wrap,
#134 Mermaid, GitHub PR fetch). Kept the pagination feature; integrated main's
orthogonal additions; removed main's now-orphaned reducer diff-tab (replaced by
pagination); restored the test navigator stub (setup.ts) + re-added
@testing-library/react that the feature's tests need.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant