Skip to content

feat(ui): group model picker runtime and account settings - #192137

Merged
vyctorbrzezowski merged 2 commits into
mainfrom
brzezowski/model-picker-settings
Nov 13, 2026
Merged

vyctorbrzezowski merged 2 commits into
mainfrom
brzezowski/model-picker-settings

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Runtime alternatives duplicate model rows, and the expanded settings block under the list displaced the picker contents.

User Impact

The settings block under the list is gone; each setting now sits where it applies:

  • Runs on is a compact bar at the foot of the model list, shown only for providers with two or more runtimes. An info button next to the label opens a card above the bar with the existing explanation of each runtime.
  • Context window: the selected model shows its current size as a small menu ("272K ⌄") when it offers more than one size.
  • Account: for the provider in use, the account is a chip next to the provider name that opens a menu below it: the current account (name and email, check on the right), the other saved accounts, then "Manage saved accounts…". There is no "Automatic" option in an existing chat, and "Load more" and "Loading…" behave as before. Other providers keep the credential chip.

Usage percentages are no longer shown in the account menu; they move to a follow-up.

Why This Change Was Made

Uses the existing runtime, context-window and account owners and the existing translation catalog. The provider rail (#192135) has landed. This layer has been rebased onto main with its old parent commits removed. The remaining order is this PR, states and phone layout (#192142), cooldown (#192145), then favorites (#180824).

Original UI evidence

Passed oxfmt, oxlint, stylelint, tsgo:ui, the production build and the adjacent picker, runtime, context and account tests. Screenshots use the mock Gateway with real clicks; After images are dark at 2×, Before images are the earlier light captures.

Not done here: states, phone sheet and cooldown follow in PRs 3–4. No e2e suites, real Gateway or CI watching.

State Before After
Runs on · desktop 1440 Before: Runs on, desktop 1440, light After: Runs on bar, desktop 1440, dark
Runs on explanation (Anthropic) · desktop 1440 — After: Runs on explanation card, desktop 1440, dark
Runs on card · OpenAI · desktop 1440 · dark — After: Runs on card, OpenAI, desktop 1440, dark
Context window menu · desktop 1440 — After: context window menu, desktop 1440, dark
Account menu · desktop 1440 Before: account, desktop 1440, light After: account menu, desktop 1440, dark
Accounts loading · desktop 1440 — After: accounts loading, desktop 1440, dark
Provider not in use · desktop 1440 — After: provider not in use, desktop 1440, dark

Before images: light theme. After images: dark theme.

Maintainer review and validation

The approved layout is preserved. Runtime controls follow the saved selection after a rejected change or an external update, distinguish an unknown configured base from explicit OpenClaw, and allow a runtime change when the current model is Default. The combined Anthropic group reads the native Claude credential label from the existing native-auth identity.

Account rows remain mounted while their inventory updates, preserving keyboard focus and clicks already in progress. This uses stable local rendering dependencies; account loading, permission checks and selection writes stay with their existing owners. No new polling or focus-restoration mechanism was added.

Validation:

  • Runtime regressions fail before the repair and pass after it; 29 Chromium component cases pass.
  • Focused account, context, permission and New Session lifecycle tests pass, including 33 New Session cases.
  • Browser account flows pass with both pointer and keyboard, preserving pagination, focus, disabled state, selection payloads and isolation. The equivalent baseline flow passes too; only obsolete title/icon assertions were adjusted in that comparison harness.
  • Claude native/API authentication, model-picker composition and reduced-motion/viewport interaction cases pass.
  • A separate isolated real-Gateway run at 1280 px and 390 px verified the actual model-selection request and persisted model/provider readback. It used a synthetic local model catalog and no inference.
  • UI and test typechecks, scoped lint, formatting and the translation-catalog check pass.

The following before/after uses the actual built Control UI and synthetic authentication status: Claude CLI is selected while a separate API key also exists.

Native Claude authentication Before repair After repair
Credential label Native Claude credential before repair Native Claude credential after repair

The integrated-control captures use the real Control UI source renderer with synthetic Gateway contract fixtures, after overlay animations settled. They show layout and interaction coverage, not real provider login or runtime execution.

Integrated controls Desktop Phone
Context window Integrated context desktop Integrated context phone
Accounts Integrated accounts desktop Integrated accounts phone

Final reviewed correction: 3f6229d951f7cea37a2be140a57c75438c849e85, with a verified signature and the same tree as the tested local commit. Fresh independent review of the full layer and final repairs found no actionable P0–P2 issues. Current-head CI is running; no full-CI pass is claimed. Asset-size budget exceptions are approved separately from behavioral validation.

@vyctorbrzezowski vyctorbrzezowski self-assigned this Nov 3, 2026
@clawsweeper

clawsweeper Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 3, 2026
@clawsweeper

clawsweeper Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 6319a474fb5fe8d29c432c3ec002b02934afffc1, but the PR head is now a7bf9ff91a081b3ba6d6e581be20378966daaf95. Its old verdict and PR readiness labels are no longer current.

Next step
Comment @clawsweeper re-review when the current head is ready; pushes after the first review are not reviewed automatically.

Review history (1 earlier review cycle)
  • reviewed 2026-11-03T18:04:36.770Z sha 6319a47 :: needs changes before merge. :: [P2] Preserve unknown configured routing as a distinct runtime choice | [P2] Reconcile runtime overrides with the saved model selection | [P2] Keep locked-chat account choices outside the clipping container

@clawsweeper clawsweeper Bot removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Nov 5, 2026
Base automatically changed from brzezowski/model-picker-rail to main November 13, 2026 21:33
Keep unknown configured routing distinct from explicit OpenClaw and reconcile runtime controls with saved selection. Preserve the approved context and account controls and their behavioral coverage.

Co-authored-by: vyctorbrzezowski <[email protected]>
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/model-picker-settings branch from afc83bc to 0eeeefe Compare November 13, 2026 21:43
Keep runtime changes available from Default, resolve native Claude credential labels through their original auth identity, and retain account-row focus across inventory refreshes. Update affected consumers to the approved controls without weakening selection and permission checks.

Co-authored-by: vyctorbrzezowski <[email protected]>
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Current head: 3f6229d951f7cea37a2be140a57c75438c849e85. The final runtime, authentication-label and account-refresh repairs are published; the PR body contains the current validation and visual evidence.

@clawsweeper

clawsweeper Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Nov 13, 2026
@vyctorbrzezowski
vyctorbrzezowski merged commit 56ca2fa into main Nov 13, 2026
71 of 80 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/model-picker-settings branch November 13, 2026 22:23
roboclaw-bot added a commit that referenced this pull request Nov 14, 2026
* fix(ci): keep unused dependency exports module-private

The check-dependencies job reported six unused exports. Keep the five
unclaimed implementation details private without changing their behavior;
PR #198306 by vincentkoc covers the separate release waiver table, which
remains untouched here.

QA_UX_STREAM_END_MARKER and TELEPORT_PT were introduced by #198293.
adoptTelegramDmTopicMessage and TELEGRAM_DM_TOPIC_ADOPT_WINDOW_SEC came
from #169444; migrate their direct tests to adoptTelegramDmTopicUpdate
and retain the explicit three-second accepted/four-second rejected window.
ChatModelRuntimeControl came from #192137 and keeps its local renderer.

Pinned formatting passes and independent P0-P2 review is clean. Named
tests could not collect without runtime dependencies; scoped lint could
not start with a wrapper import outside the requested sparse checkout.

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>

* fix(ci): unused exports fail the dependency check

Worked on by:
- @obviyus
- @steipete

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: 3bcacc77-7216-8f2e-9e43-4c1cf827724f

---------

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 14, 2026
…92137)

Group model runtime, context-window and account controls around the active model. Preserve authoritative runtime choices, native authentication labels, and account focus and pointer interactions during inventory updates.

Co-authored-by: vyctorbrzezowski <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 14, 2026
* fix(ci): keep unused dependency exports module-private

The check-dependencies job reported six unused exports. Keep the five
unclaimed implementation details private without changing their behavior;
PR openclaw#198306 by vincentkoc covers the separate release waiver table, which
remains untouched here.

QA_UX_STREAM_END_MARKER and TELEPORT_PT were introduced by openclaw#198293.
adoptTelegramDmTopicMessage and TELEGRAM_DM_TOPIC_ADOPT_WINDOW_SEC came
from openclaw#169444; migrate their direct tests to adoptTelegramDmTopicUpdate
and retain the explicit three-second accepted/four-second rejected window.
ChatModelRuntimeControl came from openclaw#192137 and keeps its local renderer.

Pinned formatting passes and independent P0-P2 review is clean. Named
tests could not collect without runtime dependencies; scoped lint could
not start with a wrapper import outside the requested sparse checkout.

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>

* fix(ci): unused exports fail the dependency check

Worked on by:
- @obviyus
- @steipete

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: 3bcacc77-7216-8f2e-9e43-4c1cf827724f

---------

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant