Skip to content

feat(web): add provider model bulk visibility toggle - #243

Open
leoisadev1 wants to merge 2 commits into
mainfrom
feat/web-provider-model-bulk-toggle
Open

feat(web): add provider model bulk visibility toggle#243
leoisadev1 wants to merge 2 commits into
mainfrom
feat/web-provider-model-bulk-toggle

Conversation

@leoisadev1

Copy link
Copy Markdown
Member

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

  • This PR is small and focused
  • I explained what changed and why
  • I linked the accepted plugin or provider proposal in Why, or this PR does not add one
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Verification

  • vp test run apps/web/src/components/settings/ProviderModelsSection.test.ts
  • targeted lint/format
  • Settings Providers still lists ChatGPT, Claude, Grok, Kimi For Coding, and OpenCode Go. Fixture instances were disconnected so the live Models list was empty; the helper is covered by tests.

Implemented and verified by Grok 4.6 High in Grok Build via Orca.

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.
@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
akeru-bot-landing Skipped Skipped Sep 10, 2026 6:17pm UTC

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Sep 10, 2026
@greptile-apps

greptile-apps Bot commented Sep 10, 2026

Copy link
Copy Markdown

Greptile Summary

Adds 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/5

Safe 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

Comment thread apps/web/src/components/settings/ProviderModelsSection.test.ts
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant