Skip to content

improve(ui): compact Settings Skills controls on phones - #190369

Merged
vyctorbrzezowski merged 4 commits into
mainfrom
brzezowski/mobile-settings-skills
Nov 2, 2026
Merged

vyctorbrzezowski merged 4 commits into
mainfrom
brzezowski/mobile-settings-skills

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

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 Menu component 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.

Before, Absolutely light After, Absolutely light Menu open
Agent & workspace tab After, Absolutely dark After, CRT Real Safari, After

Catalog from Search skills, at 390 px:

skills-library.e2e.test.ts now 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/skills unit tests and skills-library.e2e.test.ts.

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

clawsweeper Bot commented Nov 1, 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. 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. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 1, 2026
@clawsweeper

clawsweeper Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR moves phone-width Skills actions into an overflow menu and places search and Refresh together.

Example: Settings > Skills at 390 × 844 pixels.

  • Before: The first skill begins around 686 pixels down the screen.
  • After: The first skill begins around 360 pixels down, below a compact search and actions row.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The visual result is convincingly demonstrated, but the browser-consumer cutover and CSS growth gate remain broken.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected browser screenshots with synthetic library data show the changed Settings Skills layout at phone width, the substantially earlier first skill, and the shared menu containing all four actions.
Patch quality 🦐 gold shrimp (3/6) 2 actionable review findings remain.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Phone users encounter several rows of controls before seeing their first skill.
Reason: The maintainer-authored direction has clear visual value, preserves action availability, and leaves desktop controls in place.

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
Reviewed head: 9e7971d51b7cca71b2e40a555df8b2645756d82f

Before merge

  • Update the phone browser flows for the overflow menu (P2) - At 375 pixels this rule hides the Create skill and Import skill buttons, but the existing browser scenarios still click those buttons directly. Exact-head CI consequently times out at skills-library.e2e.test.ts:105 and :234 before exercising save/conflict and file-picker behavior. Update the affected narrow-screen interactions to open the Library menu and select its menu items, preserving the existing downstream assertions and desktop coverage.
  • Keep the added styles within the CSS growth gate (P2) - These new responsive rules increase total CSS on a base that already exceeds its ceiling. The performance gate explicitly allows only 64 bytes of additional build variance in that situation, and exact-head CI reports violations for both raw and compressed CSS; the PR also records 155 bytes of compressed growth. Reduce or offset the added stylesheet bytes within the touched styling owner so control-ui-performance passes without raising its budget or weakening enforcement.

Findings

  • [P2] Update the phone browser flows for the overflow menu — ui/src/styles/plugins.css:1481-1482
  • [P2] Keep the added styles within the CSS growth gate — ui/src/styles/plugins.css:1473-1478
Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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:

  • [P2] Update the phone browser flows for the overflow menu — ui/src/styles/plugins.css:1481-1482
    At 375 pixels this rule hides the Create skill and Import skill buttons, but the existing browser scenarios still click those buttons directly. Exact-head CI consequently times out at skills-library.e2e.test.ts:105 and :234 before exercising save/conflict and file-picker behavior. Update the affected narrow-screen interactions to open the Library menu and select its menu items, preserving the existing downstream assertions and desktop coverage.
    Confidence: 1
  • [P2] Keep the added styles within the CSS growth gate — ui/src/styles/plugins.css:1473-1478
    These new responsive rules increase total CSS on a base that already exceeds its ceiling. The performance gate explicitly allows only 64 bytes of additional build variance in that situation, and exact-head CI reports violations for both raw and compressed CSS; the PR also records 155 bytes of compressed growth. Reduce or offset the added stylesheet bytes within the touched styling owner so control-ui-performance passes without raising its budget or weakening enforcement.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 87ba257f66d0.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test:ui:e2e ui/src/e2e/skills-library.e2e.test.ts
  • pnpm --dir ui test src/pages/skills
  • pnpm ui:check-performance:base
  • pnpm lint:ui:styles
  • git diff --check

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 969d4e5 adds ui/src/pages/skills/library-toolbar.tsx:82 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 969d4e53445c; files: ui/src/pages/skills/library-toolbar.tsx)

PR surface

Source +136. Total +136 across 6 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 6 178 42 +136
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 178 42 +136

Labels

Label changes:

  • add P3: This improves phone layout and discoverability without changing the underlying Skills workflow.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P3: This improves phone layout and discoverability without changing the underlying Skills workflow.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 1, 2026, 9:06 AM ET / 14:06 UTC.

@vyctorbrzezowski
vyctorbrzezowski merged commit 91fc365 into main Nov 2, 2026
92 of 96 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/mobile-settings-skills branch November 2, 2026 11:36
vyctorbrzezowski added a commit that referenced this pull request Nov 2, 2026
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.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 3, 2026
)

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.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 3, 2026
…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.
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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: M status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant