Repository navigation
Fix copy fallback, language picker, stepper navigation and headline hover - #15
Conversation
…over - Copy: browsers that refuse the async clipboard (the Claude desktop browser denies its permission) did nothing visible; the error showed only at the top of the page. Copy now falls back to a selection copy, then selects the command and asks for ⌘C beside the button. - Language list: on Review and later views at widths up to 1050 px the hidden floating summary measured 0 x 0 and was taken as the bottom edge, so the list opened above the viewport. Hidden summaries are ignored and lists open above only with real room. - Flag: the trigger inherited space-between and sat 2 px off-centre. - Language names drop countries: English, Português, Español. - Stepper: steps are buttons for Choose, Review and the chosen route; the companion locks earlier steps during a run. - Headline: hover switched the gradient size instantly and snapped back; registered colour stops now glide for 900 ms, still under Calm. Verification: unit 22 + 21, format and catalogue checks; Playwright WebKit 34/34, Chromium and Firefox 27/27 on affected specs. The four new interface tests fail against main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JBgAhZ6s45DnrKXbhbwYet
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: be5a0a3947
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ); | ||
| } | ||
| bindEvents(); | ||
| renderStepper(); |
There was a problem hiding this comment.
Refresh stepper state after connecting to the companion
When opening a fresh local companion without an initial plan, this renders the stepper while session is still null, enabling the installation step. After /api/session resolves and /api/state returns idle, initialization never renders the stepper again: applyImported() only runs for an initial plan, and renderRun() only runs for a non-idle run. Clicking “Guided installation” therefore enters the uninitialized progress view even though no installation has started and no polling is scheduled. Re-render the stepper after the session handshake so the progress step remains disabled until a run exists.
Useful? React with 👍 / 👎.
Problem
Feedback from using the live site:
clipboard-writeis denied,writeTextrejected, and the only feedback was an error at the top of the page, off-screen from the button.0 × 0at the top;positionListused it as the bottom edge and opened the list aty = -72withmax-height: 90px.justify-content: space-betweeninherited from the source trigger).background-sizeswitched from 100% to 240% instantly and the animation snapped back on leave.Resulting behaviour
execCommand, restoring focus), then selects the command and shows "press ⌘C" beside the button.@propertystops; resting colours are unchanged, Calm/reduced motion keep it still, and browsers without@propertysimply switch colours.Key decisions
writeText, within the click's transient activation; verified working in the Claude desktop browser (execCommand("copy")returnedtrueon a real click).aria-current="step"on its button; li styling uses:has(), already used throughout the stylesheet.Verification
npm test(Node 22, Python 21),check:format,check:catalog.tests/browser/interface.spec.mjsfail againstmainand pass here. The companion dry-run test now asserts the stepper locks during the run.Limitations
execCommand("copy"), deprecated but supported by current engines.outputs/were not regenerated.Generated by Claude Code