feat(web): add provider model bulk visibility toggle - #243
Open
leoisadev1 wants to merge 2 commits into
Open
Conversation
A provider with many built-in models currently needs each hide/show clicked by hand. Disable all hides every built-in slug; Enable all restores them and leaves custom models and unrelated hidden entries alone. Favorites stay a separate list. Adapted from pingdotgg#10947.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Greptile SummaryAdds a bulk visibility control for built-in provider models and verifies its visibility, labels, and hidden-model updates through rendered interaction coverage. Confidence Score: 5/5Safe to merge; no blocking issues remain. The prior testing-coverage thread was resolved without explanation by greptile-apps[bot]. The current test suite includes rendered interaction coverage for the bulk control’s omission, labels, and callback values, so it is not outstanding. Reviews (2): Last reviewed commit: "test(web): cover provider model bulk vis..." | Re-trigger Greptile |
Helper tests already proved the hidden-model math. This adds a rendered control check so a missing button, wrong Enable all/Disable all label, or unwired click no longer slips through.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Changed
Provider model lists gain Disable all / Enable all. The toggle writes only built-in slugs into
hiddenModels. Custom models stay visible. Unrelated leftover hidden entries stay hidden when enabling.Why
Akeru ships five providers with long model lists. Hiding them one by one is busywork.
Adapted from pingdotgg/t3code#10947.
UI Changes
The Models header on each provider instance card now has the bulk toggle when that instance has built-in models.
Checklist
Verification
vp test run apps/web/src/components/settings/ProviderModelsSection.test.tsImplemented and verified by Grok 4.6 High in Grok Build via Orca.