Update Label styling to match ActionButton design#3806
Conversation
Summary by CodeRabbit
WalkthroughUpdates the LabelList Label component's root className to change visual styling (layout, spacing, border/colors, transitions, and hover/dark-mode styles) without modifying data flow or exported APIs. (Under 50 words.) Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
a8fcfb4
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3806 +/- ##
==========================================
+ Coverage 85.61% 90.24% +4.63%
==========================================
Files 461 463 +2
Lines 14254 14410 +156
Branches 1905 1936 +31
==========================================
+ Hits 12203 13005 +802
+ Misses 1672 987 -685
- Partials 379 418 +39
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 87 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
kasya
left a comment
There was a problem hiding this comment.
@Mr-Rahul-Paul thanks for working on this 👍🏼
I updated your code a little bit:
- changed color on some of those bg and text colors you update to decrease contrast (imo, having pure white and black colors is not the best idea),
- decreased paddings a little bit just to make use labels are not too big
|
Thanks for the changes and feedback!! @kasya |



Resolves #3568
Proposed change
The labels displayed via the LabelList component are now consistent with the design of other interactive elements, like ActionButton and are responsive.
Visual Comparison
Before:
After:
File changed
frontend/src/components/LabelList.tsxChecklist
make check-testlocally: all warnings addressed, tests passed