Skip to content

fix(ui): align Models settings controls across screen sizes - #173769

Merged
vincentkoc merged 1 commit into
mainfrom
openclaw/models-settings-stack-20261016
Oct 19, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
openclaw/models-settings-stack-20261016

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: Models settings dropdowns have inconsistent sizing, long labels crowd narrow screens, and API metadata clutters the selected model trigger.

User Impact

Model controls align on desktop and stack without horizontal overflow through 768px. Closed primary, utility, and fallback triggers show the model name/icon only. Open option rows retain muted gray, inline, right-aligned API/access metadata so users can distinguish choices. Model/account selection values and accessibility semantics are preserved.

Why This Change Was Made

Reuse the picker's existing selected-detail option and scope the row layout to Models settings. Other picker callers keep their existing behavior; no shared picker API or runtime contract changes.

Stack 2/2. #173768 landed as d694fe8c09ffa672ed1d144210730fc8dfd9f18e. This PR now targets main with only the reviewed presentation layer; its seven-file patch is byte-identical after replay onto landed PR1.

Evidence

  • Reconciled the stack with current utility-model fallback support. The shared fallback control is retained for both normal and utility fallback selection; its closed trigger hides metadata while open options retain account details.
  • 108 focused Models data/view/config-mutation/page tests passed. After lint-only test cleanup, all 51 affected data/view tests passed again. Scoped lint, stylesheet lint, formatting, and the keyless translation-baseline check passed.
  • Canonical local AutoReview completed at P0–P2: scoped-clean, exit 0, no timeout. The subsequent upstream-baseline refresh preserves the complete authored diff byte-for-byte; no Models source or dependency pin changed.
  • The initial typecheck exposed the upstream sidebar import error, already repaired by fix(ui): restore builds after sidebar projection move #176799. This candidate incorporates that main commit without adding a sidebar change to either PR. Both affected page/E2E type graphs now pass; the production bundle built and all 12 browser cases across the three scoped suites passed.
  • Existing inspected screenshots below are retained historical before/after evidence for the presentation contract. They use synthetic Gateway responses, not live-provider or deployed verification. Fresh current-candidate desktop/mobile closed/open captures were recorded and visually inspected locally; the linked historical images below remain labeled as such.

Before this layer

Before layout repair: independently sized dropdowns after the capability layer

After — desktop selected and open

After: desktop selected trigger without API metadata

After: desktop open options with muted right-aligned API metadata

After — phone selected and open

After: mobile selected trigger with a long model label

After: mobile open options keep API metadata inline

Current source and review binding

Signed head: 42e2dd1d23b69af3d69c421d21a4c81f55052fd5; tree: 53dc307e66f0e3cd2d931fb7db12c99912e31d71. Verified GitHub signature; parent is landed PR1. The exact layer-two patch SHA-256 remains c56898c6dacce38a2b58c3e582780ee38f3c01b850b8cea5455a73101ef7c86f.
The independent review is complete with no remaining actionable findings. Standard reasoning levels retain their translations; additional/provider-specific options preserve their catalog labels. A rendered French regression covers selection, saved unsupported values, raw API values, and live locale changes.
The localization repair passed 32 focused tests, scoped lint/formatting, both affected type graphs, and canonical local AutoReview (scoped-clean). Earlier full-diff review, 12 passing browser cases, production build, and inspected synthetic-Gateway visual evidence remain valid for unchanged inputs.
Current-head main-targeted CI run 39192336511, attempt 1, finished with 26 passing jobs. The only root failure is inherited control-ui-performance: its actual main baseline is 1,491,409 B and the candidate is 1,491,390 B (-19 B), both over the 1,490,000 B absolute chat-boot limit. Both builds succeeded; the workflow, measurement tooling, configuration and dependency inputs match the baseline. All other selected checks and security-fast passed. Failed status and exact attribution are retained for the documented native inherited-only landing procedure; review, security and live policy admission remain enforced.
No deployment is included.

@clawsweeper

clawsweeper Bot commented Oct 16, 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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 16, 2026
@clawsweeper

clawsweeper Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 10b9df4ac4910caf1765b0d208eba2ef267dd8ae, but the PR head is now 5a61c0d1abfc30be40f28082592d668e9a4a0438. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

Review history (1 earlier review cycle)
  • reviewed 2026-10-16T04:19:05.721Z sha 10b9df4 :: needs changes before merge. :: [P2] Update the existing tablet layout assertion for the new breakpoint

@vincentkoc
vincentkoc force-pushed the openclaw/models-settings-capabilities-20261016 branch from 149be98 to e7a1ce5 Compare October 16, 2026 07:29
@vincentkoc
vincentkoc force-pushed the openclaw/models-settings-stack-20261016 branch from 10b9df4 to e277ea5 Compare October 16, 2026 07:29
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: M and removed size: S labels Oct 16, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review October 16, 2026 07:31
@vincentkoc
vincentkoc force-pushed the openclaw/models-settings-capabilities-20261016 branch from e7a1ce5 to aa0e7b5 Compare October 16, 2026 07:58
@vincentkoc
vincentkoc force-pushed the openclaw/models-settings-stack-20261016 branch from e277ea5 to 5a61c0d Compare October 16, 2026 07:58
@clawsweeper clawsweeper Bot removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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 Oct 16, 2026
@vincentkoc
vincentkoc force-pushed the openclaw/models-settings-capabilities-20261016 branch from aa0e7b5 to 46bce7e Compare October 19, 2026 02:21
@vincentkoc
vincentkoc force-pushed the openclaw/models-settings-stack-20261016 branch from 5a61c0d to cc79351 Compare October 19, 2026 02:21
@vincentkoc
vincentkoc force-pushed the openclaw/models-settings-capabilities-20261016 branch from 46bce7e to 7480403 Compare October 19, 2026 02:41
@vincentkoc
vincentkoc force-pushed the openclaw/models-settings-stack-20261016 branch from cc79351 to 09f8159 Compare October 19, 2026 02:41
Base automatically changed from openclaw/models-settings-capabilities-20261016 to main October 19, 2026 02:55
@vincentkoc
vincentkoc force-pushed the openclaw/models-settings-stack-20261016 branch from 09f8159 to 42e2dd1 Compare October 19, 2026 02:56
@vincentkoc
vincentkoc merged commit b6f5a4b into main Oct 19, 2026
95 of 98 checks passed
@vincentkoc
vincentkoc deleted the openclaw/models-settings-stack-20261016 branch October 19, 2026 03:14
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

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 docs Improvements or additions to documentation P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant