Skip to content

refactor: take the site chrome from the brand package - #27

Merged
lemarier merged 1 commit into
mainfrom
david/chrome-from-brand
Sep 19, 2026
Merged

lemarier merged 1 commit into
mainfrom
david/chrome-from-brand

Conversation

@lemarier

Copy link
Copy Markdown
Contributor

Change

The floating navigation bar, the nav links, the GitHub button and the whole footer come from @origin89/brand 0.6.0 instead of being defined here. styles/chrome.css goes from 346 lines to 244.

What stays is what this site adds to the shared chrome: the desktop product menu and its panel, how the bar collapses on a narrow window, and one line saying which state the footer dot reports — amber, through --o89-chrome-status.

The nav link rules were grouped with the menu button's (.o89-nav > nav a, .o89-nav-menu > button), so only the link half moved. The button keeps its own copy.

This site is the reference the package's chrome was taken from, so nothing here should look different.

Validation

just check passes (exit 0): lint, tests, type check, site build and Storybook build.

The chrome is verified directly rather than through the screenshots, because the six the run photographs do not contain it — a crawl of all 55 stories finds .o89-nav and .o89-footer rendering in eight, none of them among the six. So both builds were served side by side and every element inside the bar and the footer compared across 29 computed properties plus ::after, on a story that renders them. All 100 elements compute identically.

The screenshot pass itself reports 55 stories with no page errors. Three of its six images differ from a build of main, and those are the known flake rather than this change: two runs of the same main build reproduce one of them exactly, and the chrome is absent from all six regardless. That flake is narrower than it was but not gone — see the note below.

The flake fix in #26 is incomplete

That PR reported eight runs and 42 comparisons with zero differing pixels, which was true as measured in its worktree and has not held up. On main, buddy-map-390 still differs by 227 pixels between two runs of one build, with the same signature as before: part at the avatar, part in the map area. The image waiting removed most of it — five of six files were moving, now one is — but something in the map story is non-deterministic beyond images, and I have not found it yet. Worth its own pass rather than a claim that it is fixed.

The bar, the links, the GitHub button and the footer are
@origin89/brand 0.6.0's now. What stays is what this site adds: the
product menu, how the bar collapses on a narrow window, and the amber the
footer dot reports through --o89-chrome-status.

The nav link rules were grouped with the menu button's, so only the link
half moved; the button keeps its own.
Copilot AI lite review requested due to automatic review settings September 19, 2026 13:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Sep 19, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 7 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: QUIET

Plan: Advanced

Run ID: 512f0de3-7bcf-4f7a-a4a7-284f7fa1d69c

📥 Commits

Reviewing files that changed from the base of the PR and between 2525349 and 8711aed.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (3)
  • apps/website/package.json
  • apps/website/src/react/styles/chrome.css
  • pnpm-workspace.yaml

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 19, 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
📝 Code Review ✅ Completed 2026-09-19T13:05:19.167344Z 8711aed 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.

@lemarier
lemarier merged commit f121d4a into main Sep 19, 2026
3 checks passed
@lemarier
lemarier deleted the david/chrome-from-brand branch September 19, 2026 13:09
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.

2 participants