Clean up and improve how comment threads are structured and displayed on patches and issues.
Clean up and improve how comment threads are structured and displayed on patches and issues.
Show comment actions only on hover
Hide the edit/react/reply icon row on comments by default and reveal it when the comment is hovered or focused, reducing visual noise in threads.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Remove duplicate reaction selector
Comments with existing reactions showed a second reaction picker next to the reactions row, duplicating the one already in the header action row. Dropping the redundant one.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Highlight own reactions on comments
Give emoji reactions a distinct pill style and visually mark the reactions the current user has participated in with a subtle background, so they stand out from reactions left by others. Also renders the emoji glyph at the same 16px size used by other UI icons instead of the 12px text size.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Hide reaction count when there’s only one
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Move comment hash into hover-only action row
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Match comment caption color with timestamp
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Indent replies and render them in individual boxes
Give each reply its own framed box so replies read as discrete items instead of a merged column. The replies section now also indents from the parent comment and adds a pair of timeline lines along its left edge — one continuing the main thread connector and another stub at the reply-avatar position — to visually group replies under their parent in deep threads.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Drop “drag and drop files” hint from comment form
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Surface submit shortcut on the submit button itself
Move the keyboard shortcut hint from the helper text below the comment form onto the submit button as a dimmed suffix, drop the now-redundant “Press ⌘↵ to submit” phrasing, and remove the checkmark icon so the button reads as text plus shortcut only.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Hide comment form footer until text is entered
For the always-open comment form at the bottom of a thread, collapse the action row (discard, markdown hint, attach, preview, submit) while the textarea is empty so an unused form doesn’t clutter the discussion. The row reveals as soon as the user starts typing.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Align reactions row with comment author padding
Match the reaction row’s left inset to the author row’s and add a touch more breathing room below it when reactions are present.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Polish reaction controls
- Reactions fade their background on hover to signal interactivity.
- Hovering a reaction the viewer has made shows a “Remove reaction” tooltip instead of the author list.
- When a comment has reactions, the emoji picker moves from the hover-only header row to the right of the reactions list, where it also stays hover-only.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Fix megabyte capitalization in drop-zone hint
Always show reaction picker in top-right action row
Add subtle/mid/strong brand surface tokens
Tint own reactions with brand subtle surface
Style own reactions with brand border and text
Show reactor names on reaction pills
Collapse reactor names to a count after 3
Rebase
Fix icon layout shift and commit id stickiness
Reshuffle commits
Fix tests
Cleanup
Cleanup + fix bug
Format