feat(architecture): take rendered-page tokens and branding from the shared layer

Aberta
#19,174 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
56/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
css, html, javascript
Domínio
design, frontend

Direção de pesquisa

Read ADR 0133, Decision 8, and inspect scripts/shared-copies.txt, templates/map-view.html, and scripts/deepening-report.mjs. Check how the token drift test and existing page tests work, then build both pages with and without a branding override. Done means both pages use the shared tokens and resolved branding, existing appearance is preserved without branding, the listed UI checks pass, and architecture is removed from 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) puts architecture in the first wave because it carries the chrome
(scripts/shared-copies.txt:647). Its page sources, templates/map-view.html and the deepening
report built by scripts/deepening-report.mjs, define their own scheme flip and do not apply a
consumer's branding.

Done when

  • architecture registers reference/html-tokens.css in scripts/shared-copies.txt, and the copy is generated.
  • The map view and the deepening report take palette and stacks from the token layer and apply the resolved branding overrides, with the logo in the chrome bar's fixed slot when one is set.
  • With no branding set, both pages look as they do today.
  • Tests build each page with a branding override and check the override, the toggle, the comment box and the floor.
  • architecture is 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.