-
Notifications
You must be signed in to change notification settings - Fork 8.2k
fix: Fix Model Provider Counter in Header #11096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Change quotes from double to single for consistency - Reduce icon size from w-5 h-5 to w-4 h-4 - Reduce text size from text-sm to text-xs - Add group hover states to badge (text-primary, bg-secondary) - Remove conditional width styling and cn utility import - Simplify arrow function syntax in onClick handler
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughUpdated the visual styling of the model provider count component by adjusting icon and text sizes, refining Badge hover effects, and removing unused utilities. No functional or logic changes were introduced. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5–10 minutes
Pre-merge checks and finishing touches✅ Passed checks (7 passed)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project check has failed because the head coverage (39.43%) is below the target coverage (60.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #11096 +/- ##
=======================================
Coverage 33.21% 33.22%
=======================================
Files 1391 1391
Lines 65849 65847 -2
Branches 9745 9744 -1
=======================================
+ Hits 21873 21875 +2
+ Misses 42854 42850 -4
Partials 1122 1122
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This pull request updates the
ModelProviderCountcomponent to improve its visual consistency and interactivity. The main changes focus on adjusting the button and badge styling, as well as icon and text sizing.UI and Styling Improvements:
groupclass to enable group-hover effects, and the icon and text have been resized for better alignment (index.tsx).Badgecomponent within the button now uses smaller text and changes appearance on hover, improving visual feedback (index.tsx).Code Cleanup:
cnutility import was removed to clean up the code (index.tsx).Fix
Summary by CodeRabbit
Style
Chores
✏️ Tip: You can customize this high-level summary in your review settings.