Skip to content

Long review threads fold, and the top bar matches in every tool - #49

Merged
DeyangChan merged 3 commits into
mainfrom
card/62ec9bb4
Nov 30, 2026
Merged

DeyangChan merged 3 commits into
mainfrom
card/62ec9bb4

Conversation

@DeyangChan

@DeyangChan DeyangChan commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

What this changes

Long conversations on a review comment now fold. A thread of three or more messages shows the first message and the last, with the rest behind a row such as "5 earlier replies". Clicking the row shows every message. The same row then reads "Hide 5 replies", and clicking it folds the thread again.

  • It works in the comment list and in the comment box on the canvas. One fold state drives both.
  • A reply being typed survives folding and unfolding.
  • The fold row's look came from a Polish round at Refined, and the owner approved it there. It has a dotted rule in line with the message rules, a caret matching the thread toggle, and a hover tint.
  • The shared top bar now sets its own type (13px, buttons included) in lib/shell/shell.css. It used to inherit each page's body size, so Polish and the build board drew it larger, and the story map's button fell back to the browser default. Removed the three .vs-topbar { font-size: 14px } overrides and re-stamped every page. The logo and title were already the same on every page.
  • Version 6.23.0 (minor: new behaviour), with a changelog entry.

How it was tested

  • Measured the top bar on all eight stamped pages at 1280 and 390 wide, before and after. Logo: 15px everywhere. Title: 13px/650 everywhere. Bar text and buttons: 13 / 13.33 / 13.5 / 14px before, 13px on every page after.

  • Extended e2e scenario B11 (the question-and-answer thread flow) rather than adding a scenario. The thread grows to four messages, and the test checks that it folds to first and last, unfolds to all four, then folds back. The fold assertion failed on the previous workspace and passes now.

  • Full cucumber suite under claude and codex: 57/57 each.

  • All node test suites, build-shell.mjs check, and both claude plugin validate --strict runs pass.

  • Drove the workspace in headless Chromium with a seven-message thread. Checked at 1440 and 834 wide, in light and dark, folded, hovered, focused and unfolded, and the canvas comment box at 1440 in light. I did not install the plugin from this branch into a separate project.

🤖 Generated with Claude Code

DeyangChan and others added 3 commits November 30, 2026 22:20
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Polish round on the folded threads approved two changes: the fold row
gets a dotted rule in line with the messages, a caret and a hover tint, and
an unfolded thread keeps the row in place as "Hide n replies".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bar inherited each page's body size: 13px in Review, 13.5px on the build
board, 14px on the Polish pages through an override, and the story map's
button fell back to the browser default. The shell now sets 13px on the bar
and its buttons, and the Polish overrides are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DeyangChan DeyangChan changed the title Long review threads fold to their first and last message Long review threads fold, and the top bar matches in every tool Nov 30, 2026
@DeyangChan
DeyangChan merged commit e8a822b into main Nov 30, 2026
13 checks passed
@DeyangChan
DeyangChan deleted the card/62ec9bb4 branch November 30, 2026 15:02
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