Skip to content

fix(ui): explain why updates are unavailable - #128958

Merged
roboclaw-bot merged 1 commit into
mainfrom
openclaw/problem-statement-and-solutions
Aug 25, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
openclaw/problem-statement-and-solutions

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes an issue where read-only Control UI users could see an unavailable Gateway update action but could not discover why it was disabled, especially on mobile where native hover text is unavailable.

Why This Change Was Made

The update action now uses aria-disabled so it remains focusable and explainable without becoming activatable. OpenClaw's shared tooltip supplies the existing administrator-access explanation on hover and keyboard focus, plus tap-to-reveal on touch devices; active update progress remains natively disabled.

User Impact

Operators without update permission still see that an update exists, while the muted action now explains that administrator access is required. Activating the unavailable control never starts an update.

Evidence

  • Mobile Chromium mocked-Gateway E2E: 6/6 passed on AWS Crabbox run run_04e0cf1c759c. It verifies the operator.read flow, touch explanation, and zero update.run requests.
  • Component regression: 10/10 passed on run run_2f8cfa433a22.
  • Core-test typecheck passed on run run_e067f7b9c90c; Control UI typecheck passed on run run_a8283d4810f6.
  • Targeted oxlint passed on run run_725192d9c1eb; targeted stylelint passed on run run_894ee70772d1.
  • oxfmt --check, git diff --check, repository guards, dead-code scan, and UI i18n verification passed. Final branch autoreview reported no accepted/actionable findings.
  • The attached 555×1200 screenshots show the disabled state before interaction and the permission explanation after a touch tap.

AI-assisted; the implementation and proof were reviewed and understood.

Disabled state

Read-only mobile Control UI showing the Gateway update action in a disabled state

Permission explanation

Read-only mobile Control UI showing the administrator-access tooltip after a touch tap

@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Aug 25, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review August 25, 2026 01:38
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Land-ready verification for head 4f59a4bf7023bcaf501b627fd84e0ed1881bafa8:

Known proof boundary: the Chromium flow used a mocked Gateway rather than an operator's production Gateway; it covered the real Control UI, operator.read capability state, touch tooltip, and absence of any update.run request.

@roboclaw-bot
roboclaw-bot merged commit 4ded341 into main Aug 25, 2026
328 of 330 checks passed
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

@roboclaw-bot
roboclaw-bot deleted the openclaw/problem-statement-and-solutions branch August 25, 2026 01:57
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 25, 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 maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant