[US-7.1 / OBT-210] Add a reusable FilterBar component - #20
Conversation
Introduce a shared FilterBar with configurable filter dropdowns (label, options, value, change handler), an optional search input, and an optional result label. Active filters are highlighted with the telha accent, and the standalone Filter icon is dropped to reduce visual noise. Styled with the Shema design tokens.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Warning Review limit reached
Next review available in: 41 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: QUIET Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
US-7.1 / OBT-210 — Add a reusable, well-designed
FilterBarcomponent so filtering across the console is consistent and polished instead of ad-hoc per page. Unblocks US-7.2 (Users) and US-7.3 (Access Requests).Changes
src/components/common/FilterBar.tsx:filtersprop — array of configs (key,label,options,value,onChange, optionalplaceholder/inactiveValue/className).searchprop (value, onChange, placeholder).resultLabel(e.g. "12 results").inactiveValue, default"all") are highlighted with the telha accent; the standaloneFiltericon is dropped to reduce visual noise.Type of Change
Testing
npm run typecheck— passnpm run lint— 0 errors (pre-existing ProjectsPage warning only)npm run build— pass