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

Aberta
#19,176 3 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
45/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
css, html, javascript, shell
Domínio
design, frontend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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
Linguagem predominante
Shell
Estrelas
22
Forks
2
Merge médio
2h 1min
PRs com merge (30d)
972

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de melodic-software/claude-code-plugins

Todas as issues de melodic-software/claude-code-plugins

Issues semelhantes

Mais issues de Shell/Bash

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.