Skip to content

fix(ui): restore prior typography and keep source updates compact - #196751

Merged
roboclaw-bot merged 4 commits into
mainfrom
openclaw/revert-typography-keep-source-row
Nov 11, 2026
Merged

roboclaw-bot merged 4 commits into
mainfrom
openclaw/revert-typography-keep-source-row

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

Related: #196468

What Problem This Solves

Fixes: #196468 changed typography and text scaling across far more of the interface than the requested compact source-update row.

User Impact

Restores the pre-#196468 typography while keeping source-update disclosures compact, clickable, and keyboard accessible. Later unrelated fixes remain intact. No configuration changes or migration are required.

Why This Change Was Made

Reverts only the delta from merge e7bbd05 against its parent, applied to pinned main 53aed90. The only retained product repair is the source row's specific font/line-height override and content-sized disclosure; the mobile-header change, global scaling edits, broader tests/docs, and typography budget allowance are removed.

All 177 original paths were accounted for: 159 restore exact pre-merge tree entries, 2 retain only the focused source-row CSS/test, and 16 preserve later edits. An independent audit also verified all 858 other downstream paths unchanged. The one conflict keeps the reader refresh spinner and removed refresh notice. The rollback differs from the pure-revert tree only in the source-row CSS and 12 regression-assertion lines in its existing desktop/mobile browser scenario. A separate CI follow-up repairs the existing Fast/Ultrafast test fixture; it changes no production code or typography.

Evidence

  • Real Control UI route with the project's mocked-Gateway helpers and compiled production UI: the reverted baseline fails at 1440px and 390px with 14px source text; the focused fix gives 12px and preserves mouse, Enter, Space, source navigation, and collapsed/expanded behavior. Source/activity suite: 4 passed.
  • Restored Appearance, side-chat typography, and Workboard scenarios: 10 passed. Performance-budget tests: 50 passed.
  • Targeted UI and tooling-test typechecks, UI stylesheet lint, source lint, changed-file formatting, and diff checks passed. The broader stylesheet lint reports 28 errors, predominantly in restored extensions/knowledge/src/control-ui.css; those unrelated/restored styles were not redesigned by this rollback.
  • Simplification pass: no new state/components/helpers; broad typography changes and their allowance are removed. One focused regression replaces the broadened tests.
  • Local ClawSweeper was unavailable. Autoreview (GPT-6.1 Sol, P0–P2) reviewed the complete rollback candidate against 53aed90: no actionable findings. A separate read-only 177-path preservation audit also found none. Review limitations: the autoreview sandbox did not independently run the application or access historical trees; the separate audit covered those trees.
  • CI fixture follow-up: the Fast/Ultrafast test acknowledged a Fast save but kept returning its old Ultrafast snapshot from config.get. Holding config.patch and observing the subsequent real applied-config refresh reproduced the same unchecked-Fast assertion. The fixture now advances reads consistently with each save acknowledgment and waits for the rendered checked state. All 6 tests passed (4.75s test time; 17.38s runner duration). Removing only the corrected read snapshot makes the regression fail even with the state wait, so this is not a timeout/retry workaround. No sleeps, retry loops, timeout increases, or production changes were added.
  • The CI follow-up also passed its UI-E2E typecheck, targeted lint, formatting, and diff checks. Incremental autoreview (GPT-6.1 Sol, P0–P2, against 11b501d) found no actionable findings; it reviewed source without independently running tests. The incremental change is 11 added/2 removed test lines; the full PR still removes 65 net test lines.
  • Latest-head CI and landing review remain with the coordinating maintainer. This update does not deploy.

Screenshots compare the pure-revert baseline with the focused source-row repair, using the same synthetic conversation and default text size. The CI-only follow-up does not change these rendered surfaces.

Desktop source-update disclosure (1440px viewport)

Before After
Before: source row at 14px After: compact source row at 12px

Mobile conversation context (390px viewport)

BeforeAfter

Requested by @vyctorbrzezowski; original compact-source-row report by @vincentkoc.

Work sessions

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

Worked on by

roboclaw-bot and others added 2 commits November 10, 2026 16:35
Revert the broad typography/text-scale changes from #196468 while preserving downstream fixes. Keep only the compact source-update disclosure override and a focused desktop/mobile regression.

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

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 676837b9-0e19-463c-8b16-0016d9317ffb
@clawsweeper

clawsweeper Bot commented Nov 10, 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:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 10, 2026
@clawsweeper

clawsweeper Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR restores earlier Control UI typography and text-scaling scope while retaining compact, accessible source-update disclosures.

Example: Appearance Text size is set to 125% on the Settings page.

  • Before: The 26px page title scales to 32.5px.
  • After: The page title returns to 26px while previously supported chat text scaling remains.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent, source-verified rollback with inspected visual proof and no actionable code finding; exact-head CI still includes an unclassified failure.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected desktop and mobile before/after screenshots of the compiled Control UI show the retained compact source row; the body reports navigation and keyboard checks through the production browser route with mocked Gateway responses.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: The earlier source-row repair expanded text scaling across more of the interface than the requester wanted.
Reason: The maintainer-authored PR records the rollback direction and preserves the useful compact-row behavior without adding another mechanism.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR implements a deliberate typography rollback while preserving the compact source row; no concrete introduced defect was found.

Priority: P2
Reviewed head: 11b501dbe559be2f09d7b560cb32777c22640d01

Before merge

None.

Findings

None.

Agent review details

How this fits together

Control UI and bundled-plugin styles consume appearance preferences and render interface text; the source-activity component renders expandable updates and source-session links.

flowchart LR
  A[Appearance preferences] --> B[Text scale tokens]
  B --> C[Chat styles]
  D[Restored interface styles] --> E[Control UI pages and plugins]
  F[Source activity component] --> G[Compact disclosure and source link]
  C --> G
Loading

Technical review

Best possible solution:

Restore the earlier typography through the existing stylesheets while retaining the specific source-disclosure override and focused browser regression.

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

Current-main styles establish the broader scaling behavior being reversed; supplied browser screenshots demonstrate the retained compact-row repair, but no independent runtime reproduction was run.

Is this the best way to solve the issue?

The rollback uses existing style owners, preserves later edits, and removes the wider scaling tests and budget allowance consistently with its recorded direction.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Interface-wide typography and scaling changes intended behavior with a stated reason (e7bbd05: Make readable interface text follow the existing appearance preference across pages, panels, and bundled plugins.)
  • Typography budget allowance and expanded tests changes intended behavior with a stated reason (fix(ui): keep source updates compact and honor text size across surfaces #196468: Account for the explicitly accepted stylesheet cost and protect the expanded scaling contract.)
  • Original browser-local text-size preference keeps the original intent (52370c5: Scale chat, composer, sidebars, and tool cards while preserving mobile input zoom safety.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Val Alexander: Raw commit 52370c5 adds ui/src/styles/base.css:88 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 52370c59980b; files: ui/src/styles/base.css)

PR surface

PR surface statistics unavailable: the file list is incomplete.

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.

Labels

Label changes:

  • add P2: This is a normal-priority, owner-directed visual rollback with limited functional impact.
  • 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 🐚 platinum hermit 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:

  • P2: This is a normal-priority, owner-directed visual rollback with limited functional impact.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit 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.

Reviewed November 10, 2026, 11:56 AM ET / 16:56 UTC.

roboclaw-bot and others added 2 commits November 11, 2026 00:15
Hold config.patch replies while publishing matching config.get snapshots, then check the real post-save refresh. Preserve Fast/Ultrafast request and reload assertions while awaiting checked state rather than element attachment.

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

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: e38fe9b0-34ca-4e3d-8844-ed418dac1e91
@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) November 11, 2026 00:26
This was referenced Nov 19, 2026
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 channel: x docs Improvements or additions to documentation extensions: clawrouter Extension: clawrouter extensions: deep-research extensions: memory-core Extension: memory-core P2 Normal backlog priority with limited blast radius. plugin: knowledge plugin: mcp-relay plugin: openclaw-id-access plugin: workboard proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant