feat(rendered-views): add the shared token layer and the branding setting - part 3 of 4
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
- 49/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- javascript
- Domínio
- developer-experience
Direção de pesquisa
Read the parent issue #19170 for the full context, then inspect lib/view-settings.mjs, the lane plugin's userConfig, and ADR 0133, Decision 3. Start by tracing how settings and --team-ref are resolved, then add coverage for resolution order, validation refusals, and contrast floors. Done means all listed validation and contrast requirements pass, with notices identifying rejected overrides.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Part 3 of 4 of #19170, split at intake (owner Q93). The done-when below is copied from #19170 as written.
Done when
-
lib/view-settings.mjsresolves abrandingkey from the personal override, the team file and the lane plugin'suserConfig, in that order, and reports the layer behind each value. - The resolver accepts colors only as six-digit hex, font families only from a closed character set, a logo as an SVG that passes the builder's SVG allowlist or as a PNG or JPEG file, plus a text label, and brand font files (WOFF2, WOFF, TTF, OTF); it reads each embedded file itself, checks its magic bytes against the allowed media types and writes it as a
data:URL. An invalid value is reported and ignored without dropping another layer's value. - In both schemes, the resolver checks every pair an overridable role takes part in:
fg,mutedandlinktext onbgand onpanelat 4.5:1, and thefocusoutline onbgand onpanelat 3:1 (ADR 0133, Decision 3). It drops an override that fails any of its pairs, keeps the shipped value, and prints a notice naming the role, scheme, pair and ratio. - A lane passing
--team-refreadsbrandingfrom that commit. - The
userConfigoption shape for the per-user value followsdocs/conventions/plugin-option-naming. - Tests cover resolution order, each validation refusal, and the floor check.
- Linguagem predominante
- Shell
- Estrelas
- 22
- Forks
- 2
- Merge médio
- 2h
- PRs com merge (30d)
- 960
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de melodic-software/claude-code-plugins
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
melodic-software/claude-code-plugins#19225 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 65/100
melodic-software/claude-code-plugins#17779 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
recurring
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
melodic-software/claude-code-plugins#19274 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
melodic-software/claude-code-plugins#19270 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 53/100
melodic-software/claude-code-plugins#19269 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de melodic-software/claude-code-plugins
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
CachyOS/CachyOS-Welcome#307 ·
-
Magnet links and .torrent files not opened: desktop Exec lacks %U and biglybt-runner drops argumentsAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
area:linux source:reader type:enhancement
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 68/100
stephrobert/blog-roadmap#236 ·
-
[BUG][Windows] mo clean throws Int32 overflow in Developer tools when removed size exceeds 2 GiBAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
nais/attest-sign#139 ·
Mantenedores costumam responder em até 1 dia