Repository navigation
feat(ui): refine model picker states and phone sheet - #192142
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
afc83bc to
0eeeefe
Compare
Keep account recovery available and retain the shared focus ring. Use the existing visible viewport dimensions for the mobile sheet. Adapt affected interaction tests and remove redundant geometry assertions. Co-authored-by: vyctorbrzezowski <[email protected]>
4ed5eb6 to
f3062e7
Compare
|
@clawsweeper re-review Rebased the model-picker states layer onto its merged parent. Preserved account recovery during authentication failures, restored the shared focus ring, and fixed phone-sheet positioning with a visible keyboard. The body now includes matched correction captures and the current scoped validation. |
|
🦞👀 Re-review progress:
|
Add compact loading and authentication states and a responsive phone sheet to the model picker. Preserve account recovery, keyboard focus, and visible-viewport positioning. Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Repeated authentication errors crowded model rows, catalog transitions changed the picker's layout, and the desktop picker did not fit phones.
User Impact
The picker now has loading and recovery states, one provider sign-in action, and a phone sheet with searchable models and accessible context/account controls. Existing rows and the draft are retained during catalog refresh. Authentication-blocked rows cannot select a model; the account menu stays available for recovery.
The phone sheet follows the visible viewport when a keyboard opens or pans the page. Search and filtered results remain reachable. Recovery buttons inherit the shared keyboard focus ring.
Implementation
Rebased onto
mainafter #192135 and #192137 landed. This layer preserves their provider rail, runtime selection, context menus, and account controls; cooldown remains in #192145.The existing shell viewport owner supplies positioning and height. The correction removes the local focus-outline suppression and keeps account recovery visible during authentication failures. It adds no viewport observer, credentials, configuration, or backend policy.
Validation
Matched Correction Proof
Both pairs show the integrated candidate before and after the focused corrections. The keyboard pair uses the same dark UI, 390px layout width, 380px visible height, and offset 0. It is cropped explicitly to the visible area; the keyboard is simulated.
Retained original design evidence
These earlier captures document the approved loading, authentication, compact, and phone-sheet designs. Their light Before and dark After images are historical design evidence, not matched final-head comparisons.
Before images: light theme. After images: dark theme.