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

Ouverte
#19,175 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
38/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
Active
Stack technique
css, javascript
Domaine
design, frontend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
Langage dominant
Shell
Étoiles
22
Forks
2
Merge moyen
2 h
PR mergées (30 j)
960

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de melodic-software/claude-code-plugins

Toutes les issues de melodic-software/claude-code-plugins

Issues similaires

Plus d'issues Shell/Bash

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.