Repository navigation
refactor(web): drop per-model checkbox selection from batch actions - #18233
Conversation
Batch verify now targets every model matching the current search/tag filter instead of a separate checkbox selection, so the row checkboxes, select-all control, and their i18n keys are removed. The batch add/remove control becomes a labeled button next to batch verify, making both filter-scoped actions read consistently. Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
💤 Files with no reviewable changes (2)
📝 WalkthroughWalkthroughModel management no longer supports per-model selection. Batch verification now applies to all filtered models. Batch add/remove actions use broader labels in English and Chinese locales. ChangesModel batch actions
Estimated code review effort: 2 (Simple) | ~10 minutes Mergeability Score: ⚪ Minimal · up to This localized UI refactor changes batch actions to use the active filter and removes per-model selection controls; no actionable merge-blocking risk remains beyond normal checks and review. Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
wangq8
left a comment
There was a problem hiding this comment.
LGTM overall. The refactor cleanly removes the per-row/select-all checkbox state and makes batch verify operate on all currently filtered models, matching the PR description.
Verified against the current code:
useMemoremoval is safe — the only remaining usage wasfilteredSelectedCount, which is deleted along with the selection state.Loader2is still imported and used in the new labeled batch add/remove button;ListMinus/ListPlus(only used by the removed icon button) are correctly dropped.ModelRowis only consumed inmodels-section/index.tsx, so removingisSelected/onToggleSelectfromModelRowPropsis safe.selectModelBeforeVerifyis still referenced by the provider-modal/instance-card flows, so it's correctly retained; the removed keys (selectAllFiltered,batchVerifySelected) exist only in en.ts/zh.ts, so no orphaned keys remain elsewhere.
Non-blocking observations:
- This is a real UX behavior change: batch verify previously allowed verifying a hand-picked subset, but now always targets every model matching the current search/tag filter. That's the stated intent, though worth a quick product sign-off since a broad filter match now verifies all models at once.
- No frontend tests accompany the change (consistent with the existing web codebase), but the new "verify all filtered" path and the labeled toggle button would benefit from a smoke test.
Summary
refactor(web): drop per-model checkbox selection from batch actions
Batch verify now targets every model matching the current search/tag filter instead of a separate checkbox selection, so the row checkboxes, select-all control, and their i18n keys are removed. The batch add/remove control becomes a labeled button next to batch verify, making both filter-scoped actions read consistently.