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

未關閉
#1,311 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
半天
新手友好度
66/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
css, typescript

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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).

主要語言
TypeScript
星號
6
分支
3
平均合併
5 小時 21 分鐘
30 天內合併 PR
378

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

codeatlasdev/ui 的其他 Issue

查看 codeatlasdev/ui 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。