fix(web): let empty-provider composer open settings - #8482
AmAzing129 wants to merge 1 commit into
Conversation
The composer already told users to enable a provider in Settings, but the footer chip was disabled, so there was no way through from that screen. Make the chip a link to provider settings.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a small, isolated UI fix that makes the existing empty-provider indicator link to the already-established provider settings route. Existing provider selection and send-disable behavior remain unchanged, and the new navigation behavior has focused test coverage. You can add or adjust custom eligibility rules. Learn more. |
|
Closing as part of the open-PR backlog sweep (wave 2). Reason: Empty-provider composer already opens settings on main. Reopen if this is still wanted and you’re willing to rebase onto current |
What Changed
When no provider is available, the composer footer used to render a disabled No provider available chip. That chip is now a link to Settings → Providers. Hovering it shows "Open provider settings". Send stays disabled until a provider is enabled.
Web and desktop share this composer. Mobile does not: providers are configured on the host.
Why
The empty-provider composer already told people to enable a provider in Settings, but the only control in that slot was disabled. There was no way through from the screen they were stuck on.
This keeps the same empty state and makes the obvious control do the thing the copy already promised.
UI Changes
Before: disabled status chip in the model-picker slot. Placeholder says to enable a provider in Settings, but nothing in the composer navigates there.
After: same chip, now a link. Click opens
/settings/providers. Tooltip: "Open provider settings".Verified on desktop with every provider disabled: the chip appears, click lands on provider settings, enabling a provider restores the model picker.
Please drop before/after screenshots into this description (the empty composer chip, then the same chip after hover/click). I could not attach image files from the CLI.
Checklist