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

Offen
#1,311 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
66/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
css, typescript

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
TypeScript
Sterne
6
Forks
3
Ø Merge
5 Std. 21 Min.
Gemergte PRs (30 T.)
378

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus codeatlasdev/ui

Alle Issues in codeatlasdev/ui

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.