Repository navigation
fix: keep agent skill names on one line beside their switches - #203734
Conversation
Use the skill name and its switch as one native label. Keep descriptions, status badges and missing requirements below at full width and outside the activation target. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: d8405efa-ad55-8166-a5f2-aa9e8bab2ed7
|
🦞👀 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 places each agent skill switch beside its name and makes the name activate that switch. Example: Viewing Field Notebook in an agent’s Skills settings on a 390-pixel-wide phone.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains This PR provides a useful, focused visual fix and should stay open, but its added CSS causes a required performance check to fail. Priority: P3 Before merge
Findings
Agent review detailsHow this fits togetherThe Control UI renders the selected agent’s skill inventory and effective allowlist, then sends toggle actions through the existing configuration owner. flowchart TD
A[Skill inventory and agent config] --> B[Agent Skills panel]
B --> C[Skill name and native switch]
C --> D[Existing toggle handler]
D --> E[Configuration save owner]
E --> F[Gateway configuration]
Technical reviewBest possible solution: Retain the native-label fix and reduce the touched stylesheet’s emitted CSS enough to satisfy the existing performance gate. Do we have a high-confidence way to reproduce the issue? Current-main markup and narrow-screen styles explain the separated switch, and the supplied before screenshot shows it; no target code was executed during this read-only review. Is this the best way to solve the issue? The native label is a small, appropriate repair using the existing switch and save owners, with no added state or permission policy. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 42f8c5bcb9f5. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource +17, Tests +16. Total +33 across 3 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. 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 22, 2026, 4:46 PM ET / 21:46 UTC. |
Co-authored-by: vyctorbrzezowski <[email protected]>
|
Merged via squash.
|
* commit '92569e37ab84a8cb1e4a12c3dcbb45acb97977c9': fix: distinguish Desktop sources without wrapping their names or IDs (#203747) fix(ui): Greek sigma searches miss matches outside Sessions and Files (#189518) fix: keep agent skill names on one line beside their switches (#203734) test(cron): admit scheduled occurrences in cron fixtures and fix Node 24 toHex in Vitest (#205383) fix: keep the Agents menu usable after copying an ID (#203739) fix(whatsapp): preserve code table spaces across message chunks (#205327) refactor(cron): admit legacy scheduled requesters through operator admission (#205346) fix: keep silent Codex turns healthy with running commands (#196062) test(update): verify the recorded preparation failure (#205363) fix(test): prove sibling imports on the active update path fix(chat): complete mentions without leaving part of the name behind (#205326) fix(test): restore Side chat hydration and retry checks (#205376) refactor: plugin-run turns get owner status from commands.ownerAllowFrom, like text messages (#205373) chore(ui): refresh control ui locales (#205378) fix: keep Telegram rich <details> and list blocks in one message when replies stream in chunks (#205318) refactor(gateway): one refusal owner with a required next step (#205337) fix(discord): keep long table labels bold across messages (#205328) feat: invitation, sharing and participant controls in the Control UI (#204920) fix(test): distinguish stamped Skill Library upgrade policies fix(markdown): preserve trailing inline-code spaces in plain-text tables (#205317)
…aw#203734) * fix(ui): keep agent skill switches with their names Use the skill name and its switch as one native label. Keep descriptions, status badges and missing requirements below at full width and outside the activation target. Co-authored-by: vyctorbrzezowski <[email protected]> * fix: keep each agent skill switch beside the name it controls Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: d8405efa-ad55-8166-a5f2-aa9e8bab2ed7 * fix: keep long skill names on one line beside their switches Co-authored-by: vyctorbrzezowski <[email protected]> * fix: satisfy lint in the touched agents files --------- Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
In an agent’s Skills list, switches used to sit beneath the descriptions and badges. Moving each switch beside its name fixed short labels, but a long skill identifier still broke mid-word onto a second line on phones. Its switch sat between the two lines rather than beside the name.
User Impact
A long name now ends in an ellipsis when it runs out of space. Its icon and switch stay on the same line. Descriptions, status badges and requirements remain underneath, without losing text. The switch keeps its full accessible name, and the full name is also available on hover and through the filter.
Why This Change Was Made
The title and switch already share a label. Allowing the skill grid to shrink to its available width lets only the title shorten. The switch stays visible and does not move when the name is long. Skill permissions and saving behavior are unchanged.
Evidence
In the matching phone crops below, the long title changed from two lines (38 px) to one (19 px). The switch remained at x=307, and the description and badges stayed in place. At 390 × 844, 820 × 1180, 1180 × 820 and 1440 × 900, selecting the long name switched off that skill alone; searching for the other skill showed it was still enabled. Both focused browser regressions passed, including a tap on the phone title. Only simulated settings were used.
The clean and marked phone crops compare the previously published head
4551945590d8fwith2291cd130a39e. The original short-name interaction is also preserved: before and after.Clean comparison
Annotated comparison
Contributor: @vyctorbrzezowski.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by