Skip to content

Compact catalog install controls and match CLI ellipsis colors - #5013

Merged
Patrick-Erichsen merged 1 commit into
mainfrom
compact-catalog-install-controls
Dec 1, 2026
Merged

Patrick-Erichsen merged 1 commit into
mainfrom
compact-catalog-install-controls

Conversation

@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator

Reduce the shared Desktop install button and CLI row from 44px to 36px without shrinking either font. Apply the same sizing to the loading placeholder so changing tabs does not shift the rail.

The CLI still highlights the package name. Each text segment now paints its own native ellipsis: a clipped command prefix ends in muted dots, and a clipped package name ends in the package color. Clipboard contents, the tooltip, Desktop eligibility, rail width, and prompt fallback are unchanged.

On Travel Copilot, Chromium measured both controls at 36px with 4px vertical padding at desktop and phone widths. The browser copied the exact full command in both cases. A pixel comparison on the narrow rail confirmed that the previously bright marker now takes the prefix color; where the package name clips, the bright marker is retained. The updated browser regression covers 320, 600, and 1280px viewports.

@vercel

vercel Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clawhub Ready Ready Preview Dec 1, 2026 1:23am UTC

Request Review

@clawsweeper

clawsweeper Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Pull request received.

ClawSweeper review complete

ClawSweeper finished reviewing this revision.

View the workflow run.

@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator Author

Travel Copilot before (left) and candidate (right), from the same listing. Both controls are 44 → 36 px with unchanged fonts. At 1440 px the muted prefix clips; at 390 px the brighter package name clips. The candidate uses the compiled stylesheet on the listing, not a production deploy.

Before and after across the desktop and phone install rails

@clawsweeper clawsweeper Bot added the P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. label Dec 1, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. proof: sufficient Contributor real behavior proof is sufficient. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. labels Dec 1, 2026
@clawsweeper

clawsweeper Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Codex review: passed.

What this changes

This PR makes catalog install controls 36px tall and colors each CLI ellipsis to match the text being truncated.

Example: View Travel Copilot’s install controls at 1440px and 390px viewport widths.

  • Before: Desktop and CLI controls are 44px tall, and a truncated muted command prefix has a brighter ellipsis.
  • After: Both controls are 36px tall, with muted prefix dots and brighter package-name dots.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Focused owner-directed polish with visible browser evidence, relevant regression coverage, passing checks, and no findings.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): The inspected Travel Copilot browser image shows the shared install controls before and after at 1440px and 390px, including prefix and package ellipsis colors; clipboard equality and measured padding are author-reported rather than independently visible in the image.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Catalog install controls occupy more vertical space than desired, and truncated muted command text ends with a mismatched bright ellipsis.
Reason: The established feature owner authored this direction, and the small shared change improves consistency without changing fonts, commands, eligibility, or installation consent.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: the maintainer-authored polish is absent from current main, preserves the existing install behavior, and has no actionable findings.

Reviewed head: e481c16dc429af4b1ddec8f76016b3c439f9dc62

Before merge

None.

Findings

None.

Agent review details

How this fits together

Skill, Plugin, and Template pages supply commands and eligible Desktop identities to the shared install card, which renders the preview, tooltip, copy action, or app link.

flowchart TD
  A[Catalog detail pages] --> B[Shared install card]
  B --> C[Desktop app link]
  B --> D[CLI command preview]
  D --> E[Full command tooltip and clipboard]
  F[Shared stylesheet] --> B
  F --> G[Loading placeholder]
Loading

Technical review

Best possible solution:

Land the focused shared-CSS change with its existing browser regression and updated layout spec.

Do we have a high-confidence way to reproduce the issue?

Current main explicitly sets 44px controls and clips the combined command; the supplied browser baseline shows the corresponding appearance, though no runtime reproduction was executed during this read-only review.

Is this the best way to solve the issue?

Best-fix verdict: best; styling the existing token spans and shared height variable fixes the presentation in its current owner, while per-page overrides or JavaScript truncation would duplicate behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 5e4a7da62c4d.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Patrick Erichsen: Raw commit bc308cd adds src/styles.css:6326 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: bc308cd2ee8f; files: src/styles.css)
  • Vyctor H. Brzezowski: Raw commit 2bf8113 adds src/styles.css:7907 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 2bf8113ef13b; files: src/styles.css)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
LOC +40/-6 across 3 files Shared CSS accounts for +26/-3, browser coverage +12/-1, and the durable spec +2/-2; the growth is scoped to the visual change.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 30, 2026, 8:34 PM ET / December 1, 2026, 01:34 UTC.

@Patrick-Erichsen
Patrick-Erichsen merged commit 78e4f7b into main Dec 1, 2026
52 of 54 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the compact-catalog-install-controls branch December 1, 2026 01:36

This branch was successfully deployed

1 active deployment
Preview – clawhub — e481c16d Deployed Dec 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient Contributor real behavior proof is sufficient. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant