Skip to content

fix(ui): restore control styling and truncate long branch names - #199111

Merged
vyctorbrzezowski merged 6 commits into
mainfrom
openclaw/audit-openclaw-ui-styling-regressions
Nov 17, 2026
Merged

vyctorbrzezowski merged 6 commits into
mainfrom
openclaw/audit-openclaw-ui-styling-regressions

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Several controls lose their intended styling, long sidebar branch names wrap, and redundant controls clutter New Session and Automations.

User Impact

  • Long branch names truncate on one line; the full name remains in the tooltip.
  • Fullscreen uses the standard icon button, preserving keyboard activation, focus, and the mounted desktop.
  • Dashboard permission actions are compact, with primary emphasis on Allow.
  • Inherited settings are subdued on a fresh Channels visit and return to normal emphasis when edited; they remain editable.
  • The separate New Session override-count button and Automations transcript viewer are removed. Capability editing/reset through +, activity history, normal chat history, and the public Gateway transcript API remain available.

Why This Change Was Made

Reuse existing control components and styles instead of adding aliases or page-specific workarounds. Remove the unused count component/copy, transcript renderer and state, obsolete styles/tests, bundle registration, and benchmark hooks. Other findings from the styling audit are outside this change.

Current main was integrated to preserve its newer composer/context-tray behavior and include the existing model-picker spacing fix.

Evidence

Reviewed candidate: cdf17af30f183d43f5c76985491b2b1d1848bab3, integrated with main d29fad4e3e687dedf683e38ec35b12cb85510637.

  • 53 focused tests passed for Automations state/history/accessibility, timestamps and dashboard controls.
  • 15 built-Control-UI browser cases passed for fullscreen/focus, draft capabilities, long branch names and model-picker spacing.
  • The prior model-picker gap failure was reproduced, then resolved by incorporating the existing main fix from fix(ui): remove excess space before the model picker chevron #199089. No assertion or size limit was relaxed.
  • UI build, UI TypeScript check, scoped lint/stylelint/format and diff checks passed. Independent review of the integrated full diff found no actionable P0–P2 findings.
  • Removed newly added exact-style assertions and their dedicated fixture, retaining interaction and meaningful clipping/tooltip coverage. The UI design is unchanged.
  • Merge conflicts preserve main's condition-failure and delivery-error presentation. Normal chat and the public cron.history API remain intact.

Current CI run 43996606170 completed with 54 successful and 24 skipped jobs. The only failing job is a pre-existing private-server test inventory omission: recovery-uses.e2e.test.ts is discovered but missing from the list. The detector, caller, list and missing test are byte-identical in the actual CI base and tested merge. The automatic classification is “unknown” because it had no comparable main job; this is independently established source attribution, not a claim that baseline tests were rerun. Security and the asset-size check passed. Landing uses the scoped inherited-failure exception and does not report CI as green.

Before/After

These are the existing, reinspected Control UI captures with synthetic Gateway data, dark theme, 1280×900. The five control comparisons use main b9dacb674914f74b57155edc02cdd13f8f963486; the Automations comparison uses 8b414e95d0965c71a2b8e7360b99ad4ae5d2121b. They document the unchanged design, not a live-Gateway test of the latest candidate.

New Session

Before After
Before — New Session After — New Session

Sidebar branch

Before After
Before — Sidebar branch After — Sidebar branch

Fullscreen

Before After
Before — Fullscreen After — Fullscreen

Dashboard permissions

Before After
Before — Dashboard permissions After — Dashboard permissions

Inherited settings

Before After
Before — Inherited settings After — Inherited settings

Automations

Before

Before: detached transcript card and View transcript action

After

After: activity history without the transcript panel or action

Requested by @vyctorbrzezowski.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

roboclaw-bot and others added 2 commits November 14, 2026 18:52
Remove the action and detached panel, their lifecycle and callback wiring, the orphaned feed and styles, obsolete tests and copy, and the retired benchmark interaction. Preserve activity history and the public transcript API.

Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: b7dfff60-a810-4b81-9705-21f4f478473e
@clawsweeper

clawsweeper Bot commented Nov 14, 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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui scripts Repository scripts size: XL labels Nov 14, 2026
@roboclaw-bot

roboclaw-bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator Author

Actual Control UI with synthetic Gateway data, at 1280×900. The before image is the audited main baseline (8b414e95d0965c71a2b8e7360b99ad4ae5d2121b); the after image is the removal on that baseline.

Before

Before: detached transcript card and View transcript action

After

After: activity history without the transcript panel or action

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review November 14, 2026 18:57
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR restores shared control styling, truncates sidebar branch names, and removes the New Session override-count button and Automations transcript viewer.

Example: The sidebar displays branch fix/control-ui-model-picker-capability-badge-and-sidebar-state-styling.

  • Before: The branch name wraps across three lines.
  • After: The name occupies one clipped line, with its full value available through the tooltip.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, visually demonstrated changes with no blocking code finding; ineffective absence assertions and unresolved CI attribution keep this below A.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected browser captures exercise the actual Control UI with synthetic Gateway data at 1280×900 and show all six intended visual outcomes; unchanged styling hunks support reusing those captures for this head, while reported interaction checks remain supporting evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Several controls have inconsistent styling, long branch names consume extra sidebar rows, and the selected UI exposes controls the maintainer wants removed.
Reason: The maintainer-authored direction accepts the presentation removals, while the styling fixes reuse established components and preserve the remaining workflows.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-directed PR makes useful UI corrections, with no blocking code defect found; current-head CI still has a failed ownership-inventory check requiring attribution.

Priority: P3
Reviewed head: cdf17af30f183d43f5c76985491b2b1d1848bab3

Before merge

None.

Findings

None.

Provenance

  • Dashboard permission-button classes: original intent not found (unknown: git log -S over current and earlier board-capability paths reached unavailable historical blob 4c0bbce5e6665c2fbe9a17d6902548f68ff76217; current shared CSS independently confirms btn--sm and primary as the supported classes.)

Tests

  • Low-value test ui/src/pages/cron/view-reactivity.test.tsx: Remove the two new absence checks for “View transcript”: they assert retired wording, while the base control actually says “View chat”; retain the useful row-identity, summary-update, and filter assertions.
  • Missing end-to-end proof: A red-on-base execution of the added branch-clipping assertion is not recorded, although the supplied browser comparisons independently show the visual failure and correction.
Agent review details

How this fits together

The Control UI presents Gateway state through Solid components and shared styles; this change adjusts presentation and removes the Cron transcript presentation path while retaining Gateway history access.

flowchart LR
  Gateway[Gateway state and APIs] --> UI[Control UI owners]
  UI --> Controls[Shared controls]
  Styles[Shared stylesheets] --> Controls
  UI --> Activity[Automation activity history]
  Gateway --> History[Public cron history API]
  Controls --> Browser[Browser interface]
Loading

Technical review

Best possible solution:

Retain the focused shared-control repairs and complete UI removal, then settle the failed CI gate without assigning unrelated main repairs to this PR.

Do we have a high-confidence way to reproduce the issue?

Current-main source retains the styling defects, and supplied browser captures show their before/after effects; no product code or tests were executed during this read-only review.

Is this the best way to solve the issue?

The patch uses existing control and stylesheet owners and removes the retired UI path completely, with no unnecessary production machinery found.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Automations transcript presentation changes intended behavior with a stated reason (64dcedc: Provide recorded-run transcripts after temporary-session cleanup; later work retained exact-run access and clarified shared-conversation scope.)
  • New Session override-count control changes intended behavior with a stated reason (a5b5920: Expose capability selection before session creation and keep active capability state visible after closing the menu.)
  • Sidebar branch strip changes intended behavior with a stated reason (81ce206: Separate branch information from footer buttons and keep the full name available through a tooltip.)
  • Inherited-setting emphasis keeps the original intent (5117315: Distinguish inherited defaults from authored settings while keeping controls editable.)
  • Desktop fullscreen control keeps the original intent (5322719: The inspected refactor colocated presentation with its owner; this PR preserves the fullscreen authority, keyboard activation, and focus-restoration path.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source -902, Tests -583, Docs 0, Other -37. Total -1522 across 31 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 21 29 931 -902
Tests 6 20 603 -583
Docs 2 3 3 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 3 40 -37
Total 31 55 1577 -1522

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Production versus test changes Production/tooling +32/-971; tests +20/-603 The reduction removes the intentionally retired transcript presentation path and its dedicated coverage, rather than introducing replacement machinery.

Labels

Label changes:

  • add merge-risk: 🚨 compatibility: Existing users lose the Automations View chat entry point; this tradeoff is explicitly accepted in the maintainer-authored change, with activity history and cron.history retained.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: The styling repairs and maintainer-directed UI simplification are low-urgency presentation work.
  • merge-risk: 🚨 compatibility: Existing users lose the Automations View chat entry point; this tradeoff is explicitly accepted in the maintainer-authored change, with activity history and cron.history retained.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • 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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-11-14T19:14:06.248Z sha 3ca66e8 :: needs maintainer review before merge. :: none

Reviewed November 16, 2026, 8:42 PM ET / November 17, 2026, 01:42 UTC (Revision 2).

roboclaw-bot and others added 2 commits November 14, 2026 19:31
Truncate long branch names, use the shared fullscreen icon control, restore primary compact Dashboard permissions, and load inherited-value styling from the shared control sheet. Remove the separate New Session override-count button and its unused copy while keeping capability editing and reset.

Integrate current main to retain its newer composer shortcut behavior and context tray. Focused regression, interaction, type, and visual checks cover the integrated candidate.

Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 78eb3c08-28ab-4871-9924-7654f9ee334f
@roboclaw-bot

roboclaw-bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator Author

Matched before/after captures for the five requested audit changes. Actual Control UI with synthetic data, dark theme, 1280×900. Before is main at b9dacb674914f74b57155edc02cdd13f8f963486; after is the same base with this PR’s changes. The original Automations-removal proof remains linked in the PR body.

New Session

Before After
Before — New Session After — New Session

Sidebar branch

Before After
Before — Sidebar branch After — Sidebar branch

Fullscreen

Before After
Before — Fullscreen After — Fullscreen

Dashboard permissions

Before After
Before — Dashboard permissions After — Dashboard permissions

Inherited settings

Before After
Before — Inherited settings After — Inherited settings

@roboclaw-bot roboclaw-bot changed the title improve(ui): remove the transcript viewer from Automations fix(ui): restore control styling and truncate long branch names Nov 14, 2026
@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. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Nov 14, 2026
Baseline-Refresh: 55a650938bdc503687e979922b29ceaafdaf8c8a
@vyctorbrzezowski

Copy link
Copy Markdown
Member

Integrated main in cdf17af, preserving its newer error presentation and existing model-picker spacing fix. Removed only the added style-freezing assertions; interaction and clipping/tooltip coverage remain.53 focused checks and15 built-Control-UI browser cases pass, together with UI types and scoped lint/format. The body now embeds the existing before/after comparisons and separates historical proof from current validation. Fresh CI is running.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 17, 2026
@vyctorbrzezowski
vyctorbrzezowski enabled auto-merge (squash) November 17, 2026 01:37
@vyctorbrzezowski
vyctorbrzezowski merged commit c3baf0d into main Nov 17, 2026
138 of 141 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/audit-openclaw-ui-styling-regressions branch November 17, 2026 01:52
@vyctorbrzezowski

Copy link
Copy Markdown
Member

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 17, 2026
…claw#199111)

* improve(ui): remove the transcript viewer from Automations

Remove the action and detached panel, their lifecycle and callback wiring, the orphaned feed and styles, obsolete tests and copy, and the retired benchmark interaction. Preserve activity history and the public transcript API.

Co-authored-by: vyctorbrzezowski <[email protected]>

* improve(ui): remove the transcript viewer from Automations

Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: b7dfff60-a810-4b81-9705-21f4f478473e

* Publish openclaw/audit-openclaw-ui-styling-regressions

Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 78eb3c08-28ab-4871-9924-7654f9ee334f

* test(ui): keep control coverage focused on behavior

---------

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:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. docs Improvements or additions to documentation P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants