Skip to content

fix(web): give a commit's message the whole first line on phones - #746

Merged
PastaPastaPasta merged 2 commits into
masterfrom
ux/mobile-commit-rows
Nov 25, 2026
Merged

PastaPastaPasta merged 2 commits into
masterfrom
ux/mobile-commit-rows

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Owner

Problem

At 390 px the commit list cuts every message to about 16 characters ("Merge pull reque…", "docs: refresh shares only …"). The signature badge ("Signed by GitHub" / "Verified") and the commit id sit beside the message and take most of the row, so a phone user can't tell commits apart.

Change

The commit row is a three-column grid:

  • Phones: the message (and its check dot) spans the first line, and author · time, the signature badge and the id share the second.
  • sm and wider: message over author on the left, with badge and id beside both lines, the same as before.
  • Touch: the message link still stretches over the row as a 44 px+ target. The badge and copy buttons are positioned elements after it, so they stay on top. In Chromium, a tap at the copy button's centre hits the button.

Evidence

mainnet dash-forge history, 390 px. Before (live) / after (this branch built for mainnet, reading mainnet):

Migration / compat check

  • Layout only: CSS classes on the commit row change; data-testid="commit-row" and the row's contents stay as they were.
  • Untouched: data, storage, URLs and formats.
  • Result: compatible, no migration needed.

🤖 Generated with Claude Code

At 390 px the signature badge ("Signed by GitHub") and the commit id sat
beside the message and cut it to about 16 characters ("Merge pull
reque…"). On phones the message now spans the row and the badge and id
move onto the author line; from `sm` up the layout is unchanged. The
message link still stretches over the row for touch; the badge and copy
buttons are positioned after it and stay on top.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Caution

CodeRabbit couldn't post its review summary.

Error details

HttpError

…age line

On phones the badge's and id's 44px hit areas reached into the message
line above them; a wider row gap keeps the whole message line on the
commit link. The badge and id share one cell, so an unsigned commit no
longer gets a doubled gap.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@PastaPastaPasta
PastaPastaPasta merged commit 87d35f5 into master Nov 25, 2026
21 checks passed
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