Skip to content

fix(ui): align graph nodes and inline symbols to their text (#271) - #278

Merged
hewigovens merged 1 commit into
mainfrom
polish-alignment
Sep 18, 2026
Merged

hewigovens merged 1 commit into
mainfrom
polish-alignment

Conversation

@hewigovens

@hewigovens hewigovens commented Sep 18, 2026

Copy link
Copy Markdown
Owner

The DAG node was painted at a fixed 12 pt offset, about 3.5 pt above the change-ID line at the default font and further off as the font-size setting grows; it now centers on the refs row's measured bounds, which an anchor preference hands to the new DAGGraphColumn view. Icon and label pairs align on the first text baseline in the DAG chips, the description Edit button (its pencil now matches the label size), copyable rows, file rows, and the toolbar Bookmarks button, which also gains the horizontal inset its neighbours have; the file status dot anchors to the filename line instead of the two-line block. Chips carrying an SF Symbol were up to 13% taller than text-only chips and the tag symbol pushed its own label a point off the line, so symbols now draw at the small scale and the refs row aligns on the baseline, giving every chip one height.

Closes #271. Part of #270. Stacked under the #272 PR, which builds on this one.

Before / after

Same fixture repo, same selection, revset bar shown, 2x. Before is 0.3.18-beta.2; after is this stack with #272 included.

Light

Before

before-light

After

after-light

Dark

Before

before-dark

After

after-dark

The DAG node was painted at a fixed 12 pt offset, about 3.5 pt above the change-ID line at the default font and further off as the font-size setting grows; it now centers on the refs row's measured bounds, which an anchor preference hands to the new DAGGraphColumn view. Icon and label pairs align on the first text baseline in the DAG chips, the description Edit button (its pencil now matches the label size), copyable rows, file rows, and the toolbar Bookmarks button, which also gains the horizontal inset its neighbours have; the file status dot anchors to the filename line instead of the two-line block. Chips carrying an SF Symbol were up to 13% taller than text-only chips and the tag symbol pushed its own label a point off the line, so symbols now draw at the small scale and the refs row aligns on the baseline, giving every chip one height.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 18, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-18T05:25:12.770506Z c7e2e1c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Repository owner deleted a comment from chatgpt-codex-connector Bot Sep 18, 2026
@hewigovens
hewigovens added this pull request to stack #280 September 18, 2026 05:25
@hewigovens
hewigovens merged commit 8e688b2 into main Sep 18, 2026
6 checks passed
@hewigovens
hewigovens deleted the polish-alignment branch September 18, 2026 05:55
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.

Graph node and inline icon alignment

1 participant