Repository navigation
Collapse Info panel sections from their headings - #4998
Merged
brsbl merged 5 commits intoOct 6, 2026
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
brsbl
force-pushed
the
bb/info-panel-collapsible-sections-thr_6ii952bx6f
branch
from
October 6, 2026 04:08
dce49ed to
c776093
Compare
18 tasks
brsbl
force-pushed
the
bb/info-panel-collapsible-sections-thr_6ii952bx6f
branch
2 times, most recently
from
October 6, 2026 05:41
f05ef84 to
4f0d03c
Compare
Clicking a section heading collapses or expands it. Collapsed sections keep their count, totals, and heading controls, and show a chevron. The collapsed set is a synced UI preference, infoPanel.collapsedSections, so it follows the user across windows and devices. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A synced preference atom created in a lazily loaded module missed the initial reconcile, so it kept its default until the next refetch. Registration now reconciles from the cached server response. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…apsed Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl
force-pushed
the
bb/info-panel-collapsible-sections-thr_6ii952bx6f
branch
from
October 6, 2026 05:57
4f0d03c to
41a51a1
Compare
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.
Human comments
What was wrong
The redesigned thread Info panel (#4898) stacks properties, Commits, Changes, Forks, and Thread storage in one scrolling column. On active threads it gets long, and there was no way to put away a section you don't need.
What changed
aria-expanded, and it gets a rounded highlight on hover.infoPanel.collapsedSections. It's a list of section ids (commits,changes,forks,threadStorage) and follows the user across windows and devices.bb settings ui getandbb settings ui setread and write it.docs/configuration.md, the bb-cli skill reference, and thebb guidecustomization chapter cover it.Compatibility: the change is additive. An older server that lacks the key leaves the preference local to the device, which is existing behavior for missing entries. Old clients ignore the extra key.
How you verified
Screenshots come from the branch web app in headless Chrome for Testing through the Browser Automation plugin, at 1440×900 and 2×, with the same fixture and pointer positions.
Before:
cf56d66(#4898 head) · After:329c78a· Captured at 2×The current head
f05ef84adds only documentation and rebases onto #4898's latest head. The collapse code is unchanged.aria-expandedand the server value in sync. After a reload the collapsed state came back from the server, both before and after the late-registration fix.InfoSectiontest coversaria-expanded, hiding the body, and hiding the heading controls;Follow-ups (P2, not in this PR):
bb settings ui list/get/settolerate older servers that lack newer keys. This predates this PR.BB-Thread: Enhance info panel to thread navigation
BB-Thread-ID: thr_6ii952bx6f
🤖 Generated with Claude Code