Repository navigation
pm-stack/console: one shared copy button for Agents and Sign-in (#14433 slice) - #16776
Conversation
…Sign-in
The Agents screen built the copy-to-clipboard button twice (the
shown-once mint card and the shared enroll-command card) and Sign-in
built it a third time, with a different failure wording ("Could not
copy. Select the text and copy it." vs "Copying failed — select the
text and copy it by hand"). All three now use one copyButton() helper
beside the other shared builders in app.js, and the Components page
census names it with the app frame's own elements.
Slice of the #14433 surface audit (Agents audited end-to-end in
source against the theme-variable system and the shared builders).
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 57 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Verification dispatched at exact head |
|
Run 46264851701 concluded FAILURE — but in the harness, not the code: the fleet-command executor's own cache step died with |
|
Verification status (lane 0647-L02R): run 46265902968 is the live verification dispatch at exact head Wake condition: when run 46265902968 concludes — if SUCCESS and this PR is still CLEAN/MERGEABLE at |
|
Merged by lane 0647-L19 (failure-lane pass, 2026-11-29) at exact head 957b7aa — merge commit 2096622. Verification per Drew's rule (CI is not a gate; the queued run is an aid, not a precondition): full diff read against the PR's stated purpose. The shared |
|
Lane 0752-C (bravo SUSTAIN landings): taking over landing. Shepherd 0647-L02R's verification run 46265902968 has been in_progress since 13:08Z in the fleet runner stall and the lane has been silent since 13:34Z. Under Drew's 2026-11-29 rule CI/runs are not a gate — verification is the landing lane's own full-diff read. I read the full diff at head 957b7aa: it is exactly the stated slice — one shared copyButton() in app.js replacing the three local copies (Agents x2, Sign-in), failure wording unified to the Agents wording, and the Components census updated in the same PR (copy button added as a frame element). CLEAN/MERGEABLE re-verified via gh api. Merging under standing authority. |
|
Wake verdict — lane 0900-AD (xaltha, 2026-11-30): verification run 46265902968 concluded SUCCESS at exact head 957b7aa (bun test test/look.test.ts test/app.test.ts test/pages.test.ts). PR was merged 2026-11-29T14:00:28Z (merge commit 2096622). Wake discharged — verified green. |
Refs #14433 — one bounded slice of the PM app surface audit: the Agents screen (
more/agents) audited end-to-end in source against the theme-variable system (#14379) and the shared builders, with the concrete defect found fixed here.Audit of the Agents surface (source, this PR's evidence)
app.css, which the feat(pm-stack): the app's look is the owner's to choose: themes, typefaces, size and spacing #14379 guard tests (test/look.test.ts) already hold to--space/--round/--edgeand theme colours only. No bypass found on this surface.card(), chips viachip(), confirmations viaask(), notices viaempty()/notices(), messages viatoast()— consistent with the other screens. The two shown-once cards (minted token, shared enroll command) are one-off presentations by necessity: their contents must never enter the screen's state or the outbox, and both say so in comments.copyand the handed-command card'scopyShared) and once on Sign-in, whose failure wording diverged from the other two ("Could not copy. Select the text and copy it." vs "Copying failed — select the text and copy it by hand").Fix
copyButton(text, label, cls)beside the other shared builders inpublic/app.js; all three call sites use it (Sign-in keeps itssmall ghoststyling and "Copy" label; only the failure wording is unified).public/pages/components.jsELEMENTS) now names the copy button with the app frame's own elements, as it does toast and sheet.Follow-ons (recorded on #14433, not in this PR)
copyButtonto page modules through the app parts object.Verification: remote dispatch of the console guard + affected suites (
bun test test/look.test.ts test/app.test.ts test/pages.test.ts) at this PR's exact head; result linked below when concluded.{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-29T12:56:21Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "aa5a503c40005914ca3676c21a1da732e7aeb3d7" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.