docs, comments: drop references to the removed model/effort picker
subagent.md no longer says the web UI's model picker offers availableModels, and the comments in Dropdown, ComponentsPage and WantedMenu no longer point at the deleted per-agent Picker.
This commit is contained in:
parent
ed271e655f
commit
4719395b31
4 changed files with 4 additions and 8 deletions
|
|
@ -2,8 +2,7 @@
|
|||
// the `Badge` that opened it (../badge/Badge.tsx) so the control is
|
||||
// visually attached to the thing it affects, instead of living three
|
||||
// clicks away in a catch-all menu (the junk-drawer pattern
|
||||
// `docs/web-ui/design-guide.md` calls out by name against the old
|
||||
// per-agent terminal's model picker). Not a native `<dialog>` — a
|
||||
// `docs/web-ui/design-guide.md` calls out by name). Not a native `<dialog>` — a
|
||||
// `showModal()` dialog's backdrop would visually detach it from its
|
||||
// anchor badge, and a non-modal `show()` gets no click-outside-to-close
|
||||
// for free, so this hand-rolls the same "outside click or Escape
|
||||
|
|
|
|||
|
|
@ -167,8 +167,7 @@ function RefreshIntervalPickerSample() {
|
|||
}
|
||||
|
||||
// The badge-triggers-a-dropdown-right-underneath-itself pattern this is
|
||||
// meant to land — the model/effort picker shape from the per-agent
|
||||
// terminal, demoed here with sample data. The wrapper
|
||||
// meant to land, demoed here with sample data. The wrapper
|
||||
// needs `position: relative` (`.components-badge-anchor`) so `Dropdown`
|
||||
// anchors under this badge specifically, not the page.
|
||||
function BadgePickerSample() {
|
||||
|
|
@ -528,7 +527,7 @@ export function ComponentsPage() {
|
|||
<Sample label="with a label prefix">
|
||||
<Badge label="ctx" value="534k" />
|
||||
</Sample>
|
||||
<Sample label="interactive, opens a Dropdown (model/effort picker shape)">
|
||||
<Sample label="interactive, opens a Dropdown">
|
||||
<BadgePickerSample />
|
||||
</Sample>
|
||||
<Sample label="interactive, toggles itself (pause/resume shape)">
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
// explicit — a dropdown just lets "up" be picked directly regardless
|
||||
// of what's inferred, no flip-to-the-opposite-of-a-guess involved
|
||||
// (mara: "when no state is declared, i want to set it to online").
|
||||
// Presentational only, same split as `StatusChips`'s `Picker`/
|
||||
// Presentational only, same split as `StatusChips`'s
|
||||
// `StatusMenu`: the caller owns what each selection actually does.
|
||||
//
|
||||
// "paused" has no separate resume option here — selecting "up" from a
|
||||
|
|
|
|||
Loading…
Reference in a new issue