Skip to content

feat(ui): show model picker cooldown status - #192145

Merged
vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/model-picker-cooldown
Nov 13, 2026
Merged

vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/model-picker-cooldown

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The model picker dropped Gateway cooldown details. Unavailable models did not explain when their cooldown would end, and a pinned Default could remain selectable.

User Impact

Models in cooldown remain disabled, including pinned defaults and alternate runtimes. When an entire provider is cooling down, one status chip appears in its header. For a partially affected provider, only the affected rows show the chip. Cooldown replaces context information on those rows, and unavailable choices expose their status to assistive technology.

The countdown disappearing does not enable a model. Only an updated Gateway catalog can make it selectable. This change does not add credential-expiry UI.

Implementation

Rebased onto main after #192135, #192137, and #192142 landed. The existing model availability owner remains authoritative; the picker only presents its cooldown deadline.

Validation

  • Two Chromium source-UI flows passed at 1280px and 390px with synthetic Gateway fixtures and a simulated clock.
  • Full-provider and partial-provider states were checked. Advancing beyond the deadline removed the countdown while keeping the rows disabled and preventing selection requests.
  • A subsequent catalog update enabled the model; selecting it and accepting the existing confirmation produced the expected sessions.patch payload.
  • Baseline captures use 2bbbc2c8a5088548a8f948c3d7812a074518876a. Matching candidate captures use the same dark theme, data, viewport, and actions, after finite list transitions settle.
  • This is UI contract evidence, not a live provider cooldown or inference test.
  • Focused availability, picker, lifecycle, and shared-clock tests passed. Final verification after the accessibility correction passed 33 cases; UI typechecking, lint, formatting, stylelint, and the locale check passed.
  • The list wrapper now lives with the existing model-option components. Its behavior is unchanged. The countdown uses the existing shared visible clock and adds no Gateway polling.
  • Full CI is not represented as complete. The maintainer authorized landing after scoped validation and an asset-budget exception; substantive failures and security checks remain required.

Matched Visual Evidence

Scenario Before After
Entire provider in cooldown · 1280×900 · dark Entire provider in cooldown, before at 1280px Entire provider in cooldown, after at 1280px
Entire provider in cooldown · 390×900 · dark Entire provider in cooldown, before at 390px Entire provider in cooldown, after at 390px
Some models in cooldown · 1280×900 · dark Some models in cooldown, before at 1280px Some models in cooldown, after at 1280px
Some models in cooldown · 390×900 · dark Some models in cooldown, before at 390px Some models in cooldown, after at 390px
Retained original design evidence

These earlier light/dark captures document the original design. They are historical evidence rather than matched final-candidate comparisons.

State Before After
Every model in cooldown · desktop 1440 — After: provider cooldown, desktop 1440, dark
Some models in cooldown · desktop 1440 Before: model cooldown, desktop 1440, light After: model cooldown, desktop 1440, dark
Runtime in cooldown · desktop 1440 Before: runtime cooldown, desktop 1440, light After: runtime cooldown, desktop 1440, dark
Every model in cooldown · phone 390 — After: provider cooldown, phone 390, dark

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

@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. 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. 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 b431290a08b95a61ba34259a969f5653ee599f15, but the PR head is now 9611feabceadc15d38c94de56f5bccf396308ff3. 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:02:50.273Z sha b431290 :: needs changes before merge. :: [P2] Expose the cooldown status to assistive technology | [P2] Keep the new presentation within the enforced asset budget

@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 Nov 5, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/model-picker-states branch from 4ed5eb6 to f3062e7 Compare November 13, 2026 22:44
Base automatically changed from brzezowski/model-picker-states to main November 13, 2026 22:50
Keep the existing model list wrapper with model-option rendering and retain behavior-focused availability coverage.

Co-authored-by: vyctorbrzezowski <[email protected]>
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/model-picker-cooldown branch from 81fee76 to e7f500b Compare November 13, 2026 22:58
@vyctorbrzezowski vyctorbrzezowski changed the title feat(ui): show model picker cooldown and expiry data feat(ui): show model picker cooldown status Nov 13, 2026
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Rebased onto the merged picker states layer. Kept cooldown availability under Gateway authority, added the missing accessible status, and published matching desktop and phone captures. Focused checks and the final independent review passed.

@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 eb54b6c into main Nov 13, 2026
77 of 84 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/model-picker-cooldown branch November 13, 2026 23:02
@vyctorbrzezowski
vyctorbrzezowski restored the brzezowski/model-picker-cooldown branch November 13, 2026 23:03
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/model-picker-cooldown branch November 13, 2026 23:03
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 14, 2026
Show model and provider cooldown status while retaining Gateway authority over availability. Preserve account recovery, runtime routing, and keyboard behavior; announce cooldown to assistive technology.

Co-authored-by: vyctorbrzezowski <[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: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant