feat(rendered-views): migrate the self-styled pages to the shared token layer

Ouverte
#19,177 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é
Plutôt claire
Activité
Active
Stack technique
css, javascript, shell
Domaine
frontend, tooling

Piste de recherche

Read ADR 0133, especially Decision 8 and “The inventory,” then inspect the listed CSS, HTML, and JavaScript sources plus each plugin’s scripts/shared-copies.txt and tests. The work is blocked by #19170, so check that issue before starting. Done means all three plugins use the shared token layer, their branding and no-branding checks pass, and the token drift allowlist is empty.

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 last wave as the self-styled page sources, off the
shared builder and without --clay:

  • formal-verification: skills/chart/reference/render-theme.css
  • playbooks: reference/repo-sweep-plan-page.html
  • prototype: notes-bridge/host.html, notes-bridge/proto-pin.js, skills/explore-directions/assets/variant-switcher.html

None applies a consumer's branding. A page here whose requirements differ from the others on
palette, type or logo stays apart only after its reason is recorded in the rendered-views contract.

Done when

  • Each of the three plugins registers reference/html-tokens.css in scripts/shared-copies.txt, and formal-verification and playbooks also register lib/view-settings.mjs.
  • Each listed 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; or the contract records why the page stays apart.
  • With no branding set, each page looks as it does today.
  • Each plugin's tests build or load one page with a branding override and check the override, the toggle, the comment box and the floor.
  • The three plugins are removed from the token drift check's allowlist, which is then empty.

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.