Repository navigation
fix(wework): group model selector families - #2138
Conversation
|
Warning Review limit reached
Next review available in: 20 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: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThe desktop model selector now groups models by family. Single-family menus show models directly, while multi-family menus require choosing a family before displaying its models. State handling, submenu positioning, rendering, tests, and English and Chinese documentation were updated. ChangesDesktop model selector family navigation
Sequence Diagram(s)sequenceDiagram
participant User
participant ModelSelector
participant FamilySubmenu
User->>ModelSelector: Open model selector
ModelSelector->>FamilySubmenu: Show model families when multiple exist
User->>FamilySubmenu: Select a family
FamilySubmenu->>ModelSelector: Activate selected family
ModelSelector->>FamilySubmenu: Show that family's model options
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
3bf928e to
5b4d177
Compare
What changed
Why
The desktop selector previously flattened every family into one model list. This made models from different providers indistinguishable and did not match the intended progressive menu behavior.
User impact
Small catalogs remain fast to scan, while larger catalogs are organized by family before model selection.
Validation
pnpm --filter wework exec prettier --check ...pnpm --filter wework exec eslint ...pnpm --filter wework exec tsc --noEmitpnpm --filter wework test(200 files, 1997 tests)Summary by CodeRabbit
New Features
Documentation