ca-table-wrap--cards was renamed to ca-table-root--cards in 1.2.0 without a changelog note

Đang mở
#1,311 1 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ó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
66/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
css, typescript
Lĩnh vực
documentation, frontend

Hướng nghiên cứu

Start with packages/ui/tests/css-api-drift.test.ts and the REMOVED_UNANNOUNCED exception added by #1310, then read docs/css-api.md and the SimpleTable responsive="cards" modifier source in packages/ui. Decide between re-adding .ca-table-wrap--cards as an alias on the same element or writing the rename into the upgrade guide plus a codeatlas-ui migrate entry; either way, run the drift test after dropping the exception — it fails when an exception is no longer needed, which is the done signal.

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

Mô tả

documentation good first issue

Found by the css-api drift test of #1308 (PR #1310): docs/css-api.md still lists .ca-table-wrap--cards, but since 1.2.0 (a minor release) the SimpleTable responsive="cards" modifier is .ca-table-root--cards, and no changelog entry, upgrade note or migration mentions it. An app that targeted the old class (AGENTS.md rule 9: ca-* classes are a public contract) lost its override silently.

#1310 keeps the old name listed and in an explicit exception (REMOVED_UNANNOUNCED) so the drift test stays strict without hiding it. Decide one of:

  • add the old class back as an alias on the same element (cheap; keeps the contract), or
  • document the rename in the upgrade guide and a codeatlas-ui migrate entry (and drop the exception).

Either way, remove the exception from packages/ui/tests/css-api-drift.test.ts when done (the test fails when an exception is no longer needed).

Ngôn ngữ chính
TypeScript
Star
6
Fork
3
Merge trung bình
5 giờ 21 phút
Pull request đã merge (30 ngày)
378

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 codeatlasdev/ui

Tất cả issue của codeatlasdev/ui

Issue tương tự

Thêm issue về TypeScript

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.