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

Đang mở
#19,174 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
56/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ệ
css, html, javascript
Lĩnh vực
design, frontend

Hướng nghiên cứu

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.

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) 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
Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
2 giờ 1 phút
Pull request đã merge (30 ngày)
972

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.