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

オープン
#19,177 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
css, javascript, shell
領域
frontend, tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Shell
スター
22
フォーク
2
平均マージ
2時間
マージ済み PR(30日)
960

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。