chore(table): drop dead th.ant-column-cell selector#42407
Conversation
Code Review Agent Run #724bc7Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
th.ant-column-cell matches nothing antd renders, and header truncation is already handled by the .ant-table-cell rule below (th and td both carry that class), so the block was doubly dead. Remove it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
791cba7 to
5b8107f
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #42407 +/- ##
=======================================
Coverage 65.24% 65.24%
=======================================
Files 2795 2795
Lines 157643 157643
Branches 36061 36061
=======================================
Hits 102853 102853
Misses 52814 52814
Partials 1976 1976
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Code Review Agent Run #89a331Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
SUMMARY
TableCollectionstylesth.ant-column-cell, but no such class exists (antd header cells areth.ant-table-cell), so the rule has never matched. Its intent is also already covered: the.ant-table-cellblock in the same stylesheet applies ellipsis/nowrap truncation to header and body cells alike. Doubly dead, so this drops the block rather than renaming it.Found while sweeping every
ant-*class our Emotion styles reference against the set of classes antd v6 can actually emit; this was the only dead reference left after #42146 (it's dead in v5 too, so it's long-standing cruft rather than a migration regression).BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
No visual change; the removed rule never matched.
TESTING INSTRUCTIONS
Open any list view (e.g. Dashboards): long column headers still truncate with an ellipsis, exactly as before, via the
.ant-table-cellrule.ADDITIONAL INFORMATION
🤖 Generated with Claude Code