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

Aberta
#1,311 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
Meio dia
Facilidade para iniciantes
66/100
Tipo de issue
Documentação
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
css, typescript

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
TypeScript
Estrelas
6
Forks
3
Merge médio
5h 21min
PRs com merge (30d)
378

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de codeatlasdev/ui

Todas as issues de codeatlasdev/ui

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.