feat(rendered-views): migrate the pages that use the chrome's --clay to the shared token layer

Aperta
#19,175 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
css, javascript
Ambito
design, frontend

Direzione di ricerca

Start with ADR 0133, especially Decision 8 and its inventory, then inspect the five listed page sources and each plugin's scripts/shared-copies.txt. The work also depends on #19170, so check its status before starting. Done means all five pages use the shared token layer and branding overrides, their plugin tests cover the stated cases, and the plugins are removed from the token drift check's allowlist.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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 second wave as the page sources that already use the
chrome's --clay, each defining its own copy of the palette:

  • education: skills/quiz-me/scripts/build-report.mjs, lib/page-kit.mjs, skills/illustrate/templates/explainer.html
  • event-storming: skills/simulation/scripts/build-bc-view.mjs
  • harness-ops: skills/observability/scripts/build-dashboard.mjs
  • knowledge: skills/video-digest/scripts/build-menu-view.mjs
  • review: skills/explain-change/templates/digest.html

None applies a consumer's branding.

Done when

  • Each of the five plugins registers reference/html-tokens.css in scripts/shared-copies.txt, and event-storming and knowledge also register lib/view-settings.mjs.
  • Each listed page source 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.
  • /review:explain-change reads branding from the team file at its --team-ref commit, never the working tree.
  • 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 five plugins are removed from the token drift check's allowlist.

Related

  • Refs: #16412 (design and decisions)
  • Blocked by: #19170
Lingua principale
Shell
Stelle
22
Fork
2
Merge medio
2h
PR unite (30g)
960

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di melodic-software/claude-code-plugins

Tutte le issue di melodic-software/claude-code-plugins

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.