Skip to content

fix(native): line Pulls up on the sidebar's spacing, and write the design language down - #998

Merged
omartelo merged 2 commits into
mainfrom
fix/pulls-layout-design-md
Oct 30, 2026
Merged

omartelo merged 2 commits into
mainfrom
fix/pulls-layout-design-md

Conversation

@omartelo

Copy link
Copy Markdown
Collaborator

Summary

Review fixes on the Pulls screen from #992, and a native/DESIGN.md so the next screen starts from these patterns instead of rediscovering them in review.

Pulls

  • Resolve conflicts / Fix checks leave the ⋯ menu for an outline button in the header, left of the session button. ⋯ keeps Approve, Refresh and Open on GitHub.
  • Header, crumb and tab strip sit on the island's 8px edge, the same edge as the Files toolbar.
  • Body content moves from 24px to 18px: the sidebar's 8px island edge plus a row's 10px (pullsRowEdge + pullsRowPadX). List and panel rows hover-fill inside the edge with RadiusMD, like a sidebar card; the seams between PR rows stay.
  • Reply, Resolve and Send to session on a thread go from SizeXS to SizeSM, the window's size for screen actions.
  • The hunk a thread quotes sits in its own block on Background, apart from the comments on Sidebar, with added and removed rows tinted. Tabs expand to four spaces: the fonts have no glyph for a tab and drew a missing-glyph box.

Docs

  • native/DESIGN.md: open surfaces over boxes, tokens, units, semantic color, button sizes, where actions go, the island's edge and screen layout, measured from the sidebar and Settings. The spacing is shared; each screen keeps its own look.
  • CLAUDE.md points to it under "Where things are written down".

Test plan

  • native/: gofmt -l ., go vet ./..., go test ./...
  • go test ./internal/patchnotes/

…-off in the header

Resolve conflicts and Fix checks leave the ⋯ menu for a button beside Merge.
The header and its strips sit on the island's 8px edge, the body at 18px
like a sidebar card, and rows hover-fill inside the edge with rounded corners.
Thread actions use the window's SM buttons, and the hunk a thread quotes sits
in a block of its own on the background, its tabs expanded: the fonts draw a
missing-glyph box for one.
Tokens, button sizes, where actions go and the island's spacing, measured
from the sidebar and Settings, so a new screen starts from the pattern
instead of finding it in review.
@omartelo
omartelo merged commit 2c3b93f into main Oct 30, 2026
7 checks passed
@omartelo
omartelo deleted the fix/pulls-layout-design-md branch October 30, 2026 19:33
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