Skip to content

Pull request: Match GitHub's reaction picker, merge box and merge button states - #73

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

whereareiam merged 1 commit into
devfrom
fix/pull-sidebar-hover

Conversation

@whereareiam

@whereareiam whereareiam commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

What changed

Measured against GitHub in a signed-in browser (pull request page, dark theme).

GitHub Before After
Reaction picker 150×82px, 2 rows × 4, 32px buttons 170×104px, uneven 3 columns 148×80px, 2 rows × 4, 32px buttons
Mergeable box border 1px rgb(35,134,54) neutral 1px rgb(35,134,54)
Section dividers border colour at 70% full border colour border colour at 70%
Merge form open form alone, neutral box form below all sections form alone, neutral box
Merge form fields monospace, textarea padding 12px UI font, 8px 12px monospace, 12px
Sidebar heading hover accent, no underline accent + underline accent, no underline

Merge button states

Forgejo sets the collapsed button group to red whenever checks are unmet, even when the selected action only schedules the merge ("when checks succeed"), while its own confirm button for that action is primary. The theme script now marks a scheduled merge (label differs from the plain merge action, so it works in any language) and the button is shown primary; danger remains for an override only.

State Collapsed (before) Collapsed (after) Confirm button
Mergeable, checks met primary primary primary
Override as admin danger danger danger
Scheduled for when checks succeed danger primary primary

A blocked pull request's box border now follows its red status badge (not measured on GitHub; no blocked pull request was available there).

Not changed, because Forgejo has no equivalent: GitHub's "Commit message" / "Extended description" field labels (would be hard-coded English) and the per-method descriptions in the merge method menu.

Verification

Checked in the preview on a mergeable pull request (picker open, merge form open and cancelled, heading hover). bun vitest (403 passed), bun check and Prettier pass. Screenshots are not attached.

🤖 Generated with Claude Code

@whereareiam whereareiam added the bug Something isn't working label Oct 4, 2026
@whereareiam
whereareiam force-pushed the fix/pull-sidebar-hover branch from 3d18ead to e9d04f2 Compare October 4, 2026 07:49
@whereareiam whereareiam changed the title Pull request: Show reactions in one row and drop sidebar hover underlines Pull request: Match GitHub's reaction picker, merge box border and merge form Oct 4, 2026
…ton states

Measured against GitHub signed in:
- The reaction picker is two rows of four 32px buttons instead of an
  uneven three-column grid.
- A mergeable pull request gets the green box border back, a blocked one
  a red border, and section dividers use the muted border colour.
- While the merge form is open it replaces the other sections, in a
  neutral box with monospace fields.
- Sidebar headings turn blue on hover without an underline.

Forgejo marks the collapsed merge button red whenever checks are unmet,
even when the action only schedules the merge for when checks succeed.
The button now follows the action: primary for a scheduled merge, danger
only for an override.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@whereareiam
whereareiam force-pushed the fix/pull-sidebar-hover branch from 695fe3d to bc589db Compare October 4, 2026 07:56
@whereareiam whereareiam changed the title Pull request: Match GitHub's reaction picker, merge box border and merge form Pull request: Match GitHub's reaction picker, merge box and merge button states Oct 4, 2026
@whereareiam
whereareiam merged commit 5d63293 into dev Oct 4, 2026
14 checks passed
@whereareiam
whereareiam deleted the fix/pull-sidebar-hover 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