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

Abierto
#19,177 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
css, javascript, shell
Área
frontend, tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Shell
Estrellas
22
Forks
2
Merge medio
2 h
PR fusionados (30 d)
960

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de melodic-software/claude-code-plugins

Todos los issues de melodic-software/claude-code-plugins

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.