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

Ouverte
#19,176 3 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
45/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
Active
Stack technique
css, html, javascript, shell
Domaine
design, frontend

Piste de recherche

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.

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

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.