Skip to content

fix(dashboard): surface provider model list above the fold#3179

Merged
houko merged 1 commit into
mainfrom
fix/provider-detail-model-list
Apr 25, 2026
Merged

fix(dashboard): surface provider model list above the fold#3179
houko merged 1 commit into
mainfrom
fix/provider-detail-model-list

Conversation

@houko

@houko houko commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #3175. The Providers page drawer (introduced as the drawer-right variant) already rendered the per-provider model list, but it sat below the Properties section (Base URL, API Key, Status, Health, Key required, Last test). Users clicking a provider expecting to see "which models are available" had to scroll past every property line to find the list.

Fix

  • Move the model list section directly under the Stats card so it sits next to the count (natural pairing).
  • Drop the max-h-48 overflow-y-auto inner scroll on the model grid. The drawer's outer overflow-y-auto is the single scroll source; the inner one was the same nested-scroll papercut the drawer rollout already swatted elsewhere.

Test plan

  • Open ProvidersPage, click a provider with multiple models → drawer slides in → both the count and the model list are visible without further scrolling on a typical viewport
  • Provider with many models — only the outer drawer scrolls
  • Provider with zero models — empty state still renders in the same position
  • CI green

ProviderDetailModal already had the model list — but it sat below the
Properties section (Base URL, API Key, Status, Health, etc.), so users
who clicked into a provider expecting to see 'which models can I use?'
had to scroll past every property to find it. Worse, the list itself
had its own max-h-48 overflow-y-auto, producing nested scroll inside
the drawer.

Move the model list directly under the Stats card (where the count
lives — natural pairing) and drop the inner scroll so the drawer's
own outer scroll handles overflow.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@houko
houko merged commit 4ad9198 into main Apr 25, 2026
17 checks passed
@houko
houko deleted the fix/provider-detail-model-list branch April 25, 2026 16:33
@github-actions github-actions Bot added ready-for-review PR is ready for maintainer review size/S 10-49 lines changed no-rust-required This task does not require Rust knowledge and removed ready-for-review PR is ready for maintainer review labels Apr 25, 2026
@houko houko mentioned this pull request Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-rust-required This task does not require Rust knowledge size/S 10-49 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant