Skip to content

Pull request: Stop the merge menu jumping, keep the header still between tabs, tidy the reviewer row - #77

Merged
whereareiam merged 1 commit into
devfrom
fix/pull-polish
Oct 4, 2026
Merged

whereareiam merged 1 commit into
devfrom
fix/pull-polish

Conversation

@whereareiam

Copy link
Copy Markdown
Owner

Stacked on #76 (base is its branch).

What was wrong

  • Merge method menu flicker: .ui.button:active applies transform: translateY(0.5px) with an 80ms transition. A transformed element is the containing block of its absolutely positioned children, so right after the click the arrow button anchored its own menu (menu under the arrow, on the right); when the transition ended the menu fell back to the button group (left).
  • Page moved between tabs: on Commits and Files changed the title header was 85px (4px bottom padding, 7px gap, centred items); on Conversation it was 81px (no padding, 16px gap, top-aligned). The tabs sat at 225px against 221px and the title moved by 0.5px.
  • Reviewer row in the sidebar: a 20px dismiss icon beside 16px icons, all in the text colour.

What changed

Before After
Dropdown-holding button while pressed translateY(0.5px) no transform
Title header height, Commits / Files changed 85px 81px
Tabs top, Commits / Files changed 225px 221px (same as Conversation)
Reviewer action icons 20px and 16px, text colour 16px, muted, accent on hover
Reviewer name 400 600

Verification

Measured in the preview: header, title, edit button and tabs are at identical positions on all three tabs. The menu position was logged through a real click (stable at the group's left edge); the flicker itself is a transient I could not capture, so the fix is from the cause, not from an observed before/after. bun vitest (403 passed), bun check and Prettier pass. Screenshots are not attached.

🤖 Generated with Claude Code

…een tabs, tidy the reviewer row

- A pressed button is briefly transformed, which made the merge arrow
  the positioning parent of its own menu: the menu opened under the
  arrow and jumped left when the press transition ended. Buttons that
  hold a dropdown no longer transform.
- The title header had 4px extra padding and a different gap on Commits
  and Files changed than on Conversation, so switching tabs moved the
  page. All tabs now share one header box.
- A reviewer's row in the sidebar shows the name in bold with 16px muted
  action icons instead of mixed sizes in the text colour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@whereareiam whereareiam added the bug Something isn't working label Oct 4, 2026
Base automatically changed from fix/pull-states to dev October 4, 2026 10:24
@whereareiam
whereareiam merged commit a6732b5 into dev Oct 4, 2026
7 checks passed
@whereareiam
whereareiam deleted the fix/pull-polish branch October 4, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant