feat(rendered-views): migrate the remaining shared-builder pages to the shared token layer

Offen
#19,176 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
css, html, javascript, shell
Bereich
design, frontend

Rechercherichtung

Read ADR 0133, especially Decision 8 and “The inventory,” then inspect the five listed templates and the shared token layer. Check the four plugins’ tests, scripts/shared-copies.txt, and the token drift check; machine-health also needs lib/view-settings.mjs. Done means each page supports branding overrides and the specified checks pass, preserves its current appearance without branding, and all four plugins leave the drift allowlist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Problem

ADR 0133 (docs/adr/0133-let-a-consumer-brand-rendered-pages-through-one-shared-token-layer.md,
Decision 8 and "The inventory") orders the third wave as the pages on the shared view builder that
carry only their own scheme flip:

  • debugging: skills/debug/templates/post-mortem-view.html
  • discovery: skills/blindspot/templates/blindspot-view.html
  • machine-health: skills/audit/templates/checkup.html
  • work-items: skills/morning-brief/templates/brief.html, skills/triage/templates/board.html

None applies a consumer's branding.

Done when

  • Each of the four plugins registers reference/html-tokens.css in scripts/shared-copies.txt, and machine-health also registers lib/view-settings.mjs.
  • Each listed template takes palette and stacks from the token layer, defines no literal palette value, and applies the resolved branding overrides with the logo in the chrome bar's fixed slot when one is set.
  • With no branding set, each page looks as it does today.
  • Each plugin's tests build one page with a branding override and check the override, the toggle, the comment box and the floor.
  • The four plugins are removed from the token drift check's allowlist.

Related

  • Refs: #16412 (design and decisions)
  • Blocked by: #19170
Vorherrschende Sprache
Shell
Sterne
22
Forks
2
Ø Merge
2 Std. 1 Min.
Gemergte PRs (30 T.)
972

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus melodic-software/claude-code-plugins

Alle Issues in melodic-software/claude-code-plugins

Ähnliche Issues

Weitere Issues zu Shell/Bash

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.