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

Đang mở
#19,173 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
html, javascript
Lĩnh vực
design, frontend

Hướng nghiên cứu

Start with ADR 0133, Decision 8, and plugins/planning/surface/README.md around lines 146 and 150; then inspect the three skill view templates, surface/index.html, shared/web/app.js, proto.js, and proto-pin.js. Check how the shared token layer and branding overrides are handled, and review scripts/shared-copies.txt plus the token drift check. Done means all listed pages use the shared tokens and overrides, legacy keys are retired with a notice, and the specified tests pass; the work is blocked by #19170.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem

ADR 0133 (docs/adr/0133-let-a-consumer-brand-rendered-pages-through-one-shared-token-layer.md,
Decision 8) migrates planning in the first wave, with both interview pages. planning's page
sources are the three skill view templates (brainstorm, design, plan), surface/index.html, and
shared/web/app.js, proto.js and proto-pin.js, each with its own scheme flip. The interview
page also reads interview_page.themeTokens and theme.json from several layers and applies none
of them (plugins/planning/surface/README.md:146,150), a second branding key the ADR retires.

Done when

  • planning registers reference/html-tokens.css in scripts/shared-copies.txt, and the copy is generated.
  • The three skill views, the interview page and the shared interview page 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.
  • interview_page.themeTokens and theme.json are retired: no longer read for a value, with a one-time notice that names the key and points to branding, and the schema and surface/README.md updated.
  • With no branding set, every page looks as it does today, and the existing "no accent or palette picker" assertions still pass.
  • Tests build a view and load each interview page with a branding override and check the override, the toggle, the comment box and the floor.
  • planning is removed from the token drift check's allowlist.

Related

  • Refs: #16412 (design and decisions)
  • Blocked by: #19170
Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
2 giờ
Pull request đã merge (30 ngày)
960

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.