Repository navigation
improve(ui): compact Settings Skills controls on phones - #190369
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: needs changes before merge. What this changesThis PR moves phone-width Skills actions into an overflow menu and places search and Refresh together. Example: Settings > Skills at 390 × 844 pixels.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 2 items remain Keep this maintainer-authored PR open: the mobile improvement is useful and visually supported, but two patch-caused CI failures need focused repairs. Priority: P3 Before merge
Findings
Agent review detailsHow this fits togetherThe Control UI Skills page presents Gateway-owned library and workspace data; its toolbar forwards navigation, refresh, creation, and import actions to existing owners. flowchart TD
A[Settings Skills route] --> B[Skills page]
B --> C[Library toolbar]
B --> D[Workspace toolbar]
C --> E[Shared Menu]
D --> E
E --> F[Existing navigation and library owners]
Technical reviewBest possible solution: Retain the shared Menu and existing action owners, migrate the affected browser interactions, and eliminate the CSS budget regression. Do we have a high-confidence way to reproduce the issue? The existing toolbar structure and paired 390-pixel screenshots establish the crowding problem; no target code was executed during this review. Is this the best way to solve the issue? The responsive presentation reuses the existing Menu and library operations without introducing another state owner, making it an appropriately scoped solution. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 87ba257f66d0. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +136. Total +136 across 6 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 1, 2026, 9:06 AM ET / 14:06 UTC. |
Use one shared refresh control with stable labels, busy state and existing page callbacks. Preserve the Skills phone menu and hide its desktop refresh copy after integrating #190369. Validation: 61 Skills unit tests and six Skills library E2Es pass locally; all six broad UI E2E shards pass. Original branch and integrated source reviews found no actionable issues. Risk and coverage: CI is not fully green. CSS grew by 205 bytes gzip and 1352 bytes raw; chat boot JS grew by 136 bytes. The maintainer authorized the budget exception. Two failing attachment/plugin fixture lookups are outside changed paths: their owners and inputs match the tested main baseline, and failure occurs before any changed action. No test assertion or approved visual value was weakened.
) Compact Settings Skills controls on phones using the existing actions and menu owners. Keep desktop actions, capability and busy gates, and catalog status accessibility. Validation: full branch review found no actionable issues; existing exact-head UI, E2E, lint, type, architecture and security checks passed. Behavioral Skills E2Es were adapted to use the phone menu. Risk and coverage: approved visual evidence reused. Total CSS grew by 208 bytes gzip and 1542 bytes raw against the paired base. The maintainer explicitly authorized the budget exception while preserving this design.
…law#190426) Use one shared refresh control with stable labels, busy state and existing page callbacks. Preserve the Skills phone menu and hide its desktop refresh copy after integrating openclaw#190369. Validation: 61 Skills unit tests and six Skills library E2Es pass locally; all six broad UI E2E shards pass. Original branch and integrated source reviews found no actionable issues. Risk and coverage: CI is not fully green. CSS grew by 205 bytes gzip and 1352 bytes raw; chat boot JS grew by 136 bytes. The maintainer authorized the budget exception. Two failing attachment/plugin fixture lookups are outside changed paths: their owners and inputs match the tested main baseline, and failure occurs before any changed action. No test assertion or approved visual value was weakened.
What Problem This Solves
At phone width, Settings > Skills spends the first screen on controls. Four action buttons wrap across two rows, Refresh sits alone on its own row, and the search field has its own label. The first skill starts 686 px down a 844 px screen.
User Impact
On a phone the first skill now starts at 360 px, so the list is visible on arrival. Search skills, Workshop, Create skill and Import skill are one tap away in a menu announced as "More actions", and search and Refresh share a row. Switching library tabs no longer moves the content under them. Desktop does not change.
Why This Change Was Made
Below 640 px the library tabs stay first and the explanatory line stays under them. The search field, an icon Refresh and a three-dots menu share one row, on the same button surface as the Automations filter trigger in every theme. The menu uses the existing
Menucomponent and runs the same actions as the desktop buttons. The Agent & workspace tab keeps its own filter toolbar and gets the same menu, so no action is lost on that tab. Every library tab sits 12 px under the tabs. That tab's text Refresh is handled by #190426. The search label stays available to assistive technology. Skill cards in the catalog that Search skills opens showed a bare status dot whose meaning lived in a hover tooltip, which a phone doesn't have, so on phones the state is written next to the dot. Desktop keeps the dot and tooltip.Evidence
Mock data at 390 px with real taps. Page PRs branch from main, so these images show today's top bar until the header PR lands. CRT's wider font wraps the tabs to two rows, as it does on main.
Catalog from Search skills, at 390 px:
skills-library.e2e.test.tsnow opens Create skill and Import skill through the menu at phone widths, since they moved there on purpose.Local checks pass: oxfmt, oxlint, stylelint,
tsgo:ui,tsgo:test:ui,ui:i18n:check, the controller guard,src/pages/skillsunit tests andskills-library.e2e.test.ts.