fix: improve source filter display with count badge and consistent layout#35
fix: improve source filter display with count badge and consistent layout#35mohamedsedkiyouzbechi wants to merge 1 commit intomainfrom
Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThe changes modify the source filter UI in the prompt cards webview to separate the filter label from the count display. Instead of showing "X/Y" in the label text, the UI now displays a static "Sources" label alongside a separate count badge component, with supporting CSS flexbox adjustments. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 |
There was a problem hiding this comment.
Pull request overview
Improves the Prompts webview “All Sources” filter UI so the source dropdown has a stable, full-width layout and a consistent enabled/total count badge.
Changes:
- Forces the source filter control to occupy its own full-width row in the filter bar.
- Updates the source dropdown button label to be consistent (“All Sources” / “Sources” / “None Selected”) and adds a count badge.
You can also share your feedback on Copilot code review. Take the survey.
cd1d340 to
90d2dca
Compare
|
|
||
| ## [Unreleased] | ||
|
|
||
| ### Changed |
There was a problem hiding this comment.
This is in a Unreleased section. Shouldn't be in a new 1.5.5 version section?
There was a problem hiding this comment.
Waiting the merge of other PRs, and before merging into main, I’ll rebase and update the changelog accordingly to keep everything consistent.
It'll be 1.5.7.
6368b63 to
533635b
Compare
Summary
Improves the "All Sources" dropdown in the Prompts webview for better clarity and visual consistency.
Changes
7/8) could cause it to share a line with other filter buttons.enabled/totalcount badge to the source dropdown button, matching the style of the other filter buttons (All, Agents, Prompts, Instructions).📦 All Sources [n/n]— when all sources are selected📦 Sources [x/n]— when a subset is selected📦 None Selected [0/n]— when no sources are selectedScreenshots
Before:
After:
Summary by CodeRabbit