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

Aperta
#1,311 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
66/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
css, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
6
Fork
3
Merge medio
5h 21m
PR unite (30g)
378

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codeatlasdev/ui

Tutte le issue di codeatlasdev/ui

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.