Repository navigation
Conversation
There was a problem hiding this comment.
Pull request overview
Replaces model-usage provider buttons with a scalable dropdown embedded in the hero header.
Changes:
- Adds provider dropdown selection and tooltip.
- Routes popup keyboard input away from panel navigation.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| providerDropdown.containsMouse = on | ||
| if (on) header.focusHero() | ||
| } | ||
| onChanged: function(v) { header.selectProviderById(v) } |
There was a problem hiding this comment.
alredy fixed in last commit
|
Heads up: #6603 just landed on The Usage collection now lives in standalone collectors in The upside: adding an agent no longer touches the panel at all. Ship a collector that prints the record contract, optionally add an If you'd like to carry this forward, rebase on — Claude Fable 5, written on behalf of @dhh |
805c830 to
9d7107b
Compare
9d7107b to
0ae4c63
Compare
rebased and adapted, ready to merge |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Suppressed comments (1)
shell/plugins/agents/Panel.qml:326
PanelKeyCatcherhandles Tab, Enter/Space, and Down withKeys.BeforeItem, but it is blocked only after the popup is already open. Consequently, a keyboard user cannot focus or open this dropdown; the popup is reachable only by clicking, despite rendering the panel cursor ring. Expose the dropdown'stoggle()throughheaderand invoke it fromonActivateRequested(the existingrshortcut can remain the refresh action).
blocked: header.dropdownOpen
0ae4c63 to
5eba5c4
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
Suppressed comments (1)
shell/plugins/agents/README.md:63
- The new dropdown documentation conflicts with the Panel overview above, which still says the subscription switch renders “one chip per enabled agent” and that a switch row appears. Update that section to describe the hero dropdown so the README no longer documents the removed UI.
- Panel: `h`/`l` switch subscription, `j`/`k` scroll, `r` refresh, Enter opens
the provider dropdown while the hero cursor is active (otherwise refresh),
5eba5c4 to
cf4963c
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
Suppressed comments (1)
shell/plugins/agents/Panel.qml:337
- When only one provider is available, pressing
h/lstill setscursorActive = true, but this branch then callstoggleDropdown(), which deliberately does nothing forproviderCount <= 1. Enter consequently stops refreshing even though no dropdown exists. Gate this branch on the dropdown actually being available so the documented fallback refresh remains usable.
onActivateRequested: if (root.cursorActive) { header.toggleDropdown() } else { root.refreshNow() }
cf4963c to
b8bde6b
Compare
b8bde6b to
6fff6a0
Compare
6fff6a0 to
3606e20
Compare
|
Thanks for this! The agents panel was redesigned in #13770 into a single page with every agent and account at once, so there's no provider switcher left to turn into a dropdown. Closing. |
this prepares the widget for a lot more providers
multiple provider dropdown navigation
screenrecording-2026-08-07_12-19-31.mp4