Skip to content

feat(ui): add Apps & extensions page to the Control UI - #110563

Merged
steipete merged 4 commits into
mainfrom
claude/apps-extensions-page-60d555
Jul 18, 2026
Merged

steipete merged 4 commits into
mainfrom
claude/apps-extensions-page-60d555

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

OpenClaw ships companion apps for iOS, Android, macOS, Windows, Linux, Apple Watch, and Wear OS, plus a Chrome extension, a Plugins hub, and ClawHub — but the Control UI never tells users any of this exists. Even the device-pairing dialog assumes the mobile app is already installed. Users have no in-product place to discover and install the rest of the ecosystem.

Why This Change Was Made

A single promo page inside the Control UI (where users already are) is the natural surface to advertise every companion surface, mirroring the "apps and extensions" pages of comparable products. Content decisions confirmed with the maintainer: hero copy avoids duplicating the "Apps" page title; one combined Plugins & ClawHub card (primary CTA opens the in-app Plugins hub, secondary links clawhub.ai); Discord/docs as a compact pill row; watch apps labeled "Included with the iOS/Android app" matching shipped reality.

User Impact

New standalone /apps page ("Apps"), reachable from the sidebar More/customize menu, the command palette, and a new "Get the apps" row in the sidebar agent menu. Cards for iPhone (App Store), Android (Google Play), Apple Watch / Wear OS, macOS / Windows / Linux (release downloads + docs), Chrome extension (setup guide; it installs unpacked, no Web Store listing), and Plugins & ClawHub, plus Discord/docs community pills. Every card ships generated illustration art with separate light and dark variants (~5 KB webp each) that follow the active theme. Not pinned by default, so no sidebar clutter for existing users.

Light Dark
light dark

Evidence

  • pnpm tsgo:ui green; pnpm ui:i18n:baseline + pnpm ui:i18n:verify green (English keys only; translations flow through the post-merge locale-refresh workflow).
  • 190 focused tests pass: ui/src/pages/apps/view.test.ts (hero, ordered external hrefs, rel/target on every external anchor, internal Plugins CTA, badges, per-theme art), app-navigation.test.ts, app-navigation-groups.test.ts, app-sidebar.test.ts, command-palette.test.ts, route-provenance.test.ts.
  • Live-verified in the mock dev harness (pnpm dev:ui:mock) in both themes: all sections render, badges correct, "Open Plugins" navigates to /settings/plugins, More-menu/palette/agent-menu entries present; screenshots above.
  • iOS App Store link verified as the official OpenClaw Foundation listing; Android Play id ai.openclaw.app and all docs URLs match docs/**.
  • Autoreview (Codex gpt-5.6-sol, xhigh): clean, "no accepted/actionable findings" on the full code diff.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: L maintainer Maintainer-authored PR labels Jul 18, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 611271a52f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread ui/src/pages/apps/view.ts
<div class="apps-card__art" style=${`--apps-art-a:${from};--apps-art-b:${to}`}>
<img
class="apps-card__art-img apps-card__art-img--light"
src=${inferControlUiPublicAssetPath(`app-art/${card.id}.webp`)}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Serve app-art through the namespaced Control UI path

When the Control UI is opened through the supported default namespace path such as /__openclaw__/apps, inferControlUiPublicAssetPath() infers /__openclaw__ as the base and these images request /__openclaw__/app-art/<id>.webp; the gateway only rewrites the namespace for the fixed root assets listed in src/gateway/control-ui.ts:118 and then returns 404 for unknown .webp static paths, as shown by the namespace handling around src/gateway/control-ui.ts:1050 and the static-asset 404 at src/gateway/control-ui.ts:1156. That means the new Apps page loses all card artwork for users entering via that namespace, even though root-mounted/configured-base deployments work.

Useful? React with 👍 / 👎.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Jul 18, 2026
@clawsweeper

clawsweeper Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed July 18, 2026, 4:46 AM ET / 08:46 UTC.

Summary
The PR adds an Apps page to the Control UI with companion-app discovery links, navigation entry points, themed illustration assets, focused tests, and Control UI documentation.

PR surface: Source +747, Tests +123, Docs +13. Total +883 across 36 files.

Reproducibility: yes. from source: open the Control UI at its supported default /__openclaw__/ namespace, navigate to Apps, and the inferred app-art URLs do not match the gateway's namespace static-asset routing.

Review metrics: none identified.

Merge readiness
Overall: 🦪 silver shellfish
Proof: 🐚 platinum hermit ✨ media proof bonus
Patch quality: 🦪 silver shellfish
Result: blocked by patch quality or review findings.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P2] Route app-art through the default /__openclaw__/ namespace and add focused gateway coverage.
  • Re-run the Apps page against the gateway default namespace and attach redacted output or a screenshot showing the artwork loads.

Next step before merge

  • [P2] The P2 repair is mechanically clear, but this protected maintainer-labeled feature PR should remain under explicit maintainer review rather than enter an automated repair lane.

Security
Cleared: The patch adds static UI assets and fixed external links without introducing executable dependencies, privileged workflow changes, credential handling, or a concrete supply-chain concern.

Review findings

  • [P2] Serve app art through the default Control UI namespace — ui/src/app/public-assets.ts:14
Review details

Best possible solution:

Serve app-art through the same configured and default Control UI base-path contract as other public UI assets, then add a gateway-level regression test for /__openclaw__/app-art/... before merge.

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

Yes, from source: open the Control UI at its supported default /__openclaw__/ namespace, navigate to Apps, and the inferred app-art URLs do not match the gateway's namespace static-asset routing.

Is this the best way to solve the issue?

No: the page-level public-asset type change is incomplete without matching gateway routing and a namespace-serving regression test; extending the existing asset contract is the narrowest maintainable repair.

Full review comments:

  • [P2] Serve app art through the default Control UI namespace — ui/src/app/public-assets.ts:14
    inferControlUiPublicAssetPath() makes the new images load from /__openclaw__/app-art/... when the UI is opened at its supported default namespace, but the gateway only strips that namespace for its fixed root assets and /assets/. Those requests 404, so the Apps cards lose their themed art in the standard deployment. Extend the gateway's static-asset mapping and add a namespace regression test.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against ab093bded4fb.

Label changes

Label changes:

  • add P3: This is a contained Control UI discovery-page regression: navigation and primary calls to action still work, but the intended themed artwork fails on the standard namespace deployment path.
  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides before/after screenshots and reports a live pnpm dev:ui:mock run in both themes with visible navigation and CTA behavior; the remaining defect is coverage of the default gateway namespace, not absence of real UI proof.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The PR body provides before/after screenshots and reports a live pnpm dev:ui:mock run in both themes with visible navigation and CTA behavior; the remaining defect is coverage of the default gateway namespace, not absence of real UI proof.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (screenshot): The PR body provides before/after screenshots and reports a live pnpm dev:ui:mock run in both themes with visible navigation and CTA behavior; the remaining defect is coverage of the default gateway namespace, not absence of real UI proof.

Label justifications:

  • P3: This is a contained Control UI discovery-page regression: navigation and primary calls to action still work, but the intended themed artwork fails on the standard namespace deployment path.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (screenshot): The PR body provides before/after screenshots and reports a live pnpm dev:ui:mock run in both themes with visible navigation and CTA behavior; the remaining defect is coverage of the default gateway namespace, not absence of real UI proof.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides before/after screenshots and reports a live pnpm dev:ui:mock run in both themes with visible navigation and CTA behavior; the remaining defect is coverage of the default gateway namespace, not absence of real UI proof.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The PR body provides before/after screenshots and reports a live pnpm dev:ui:mock run in both themes with visible navigation and CTA behavior; the remaining defect is coverage of the default gateway namespace, not absence of real UI proof.
Evidence reviewed

PR surface:

Source +747, Tests +123, Docs +13. Total +883 across 36 files.

View PR surface stats
Area Files Added Removed Net
Source 31 748 1 +747
Tests 3 123 0 +123
Docs 2 13 0 +13
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 36 884 1 +883

What I checked:

  • Default namespace routing misses new art assets: The supplied review identified that the Apps page infers /__openclaw__/app-art/<id>.webp from the supported default namespace, while the gateway only rewrites that namespace for a fixed root-asset set and /assets/ paths; the resulting .webp requests resolve to 404. (src/gateway/control-ui.ts:1050, ab093bded4fb)
  • PR adds app-art to the inferred public-asset type: The branch expands the Control UI public-asset type to accept app-art/*.webp, enabling the page to generate the namespaced URLs that the gateway does not currently serve. (ui/src/app/public-assets.ts:14, 212465f7aeee)
  • Focused page tests do not exercise gateway namespace serving: The added view tests validate rendered URLs and theme variants, but do not cover a request through the default /__openclaw__/ gateway namespace where the static-path failure occurs. (ui/src/pages/apps/view.test.ts:1, 212465f7aeee)
  • Existing review feedback remains applicable: The prior review comment already pinpoints the same default-namespace failure and no subsequent commit in the supplied four-commit history changes src/gateway/control-ui.ts or adds gateway routing coverage. (src/gateway/control-ui.ts:1156, 212465f7aeee)

Likely related people:

  • steipete: The supplied PR history shows four commits spanning the Apps route, navigation, page implementation, and Control UI documentation; the current checkout provenance for the adjacent gateway owner could not be read in this review environment. (role: recent Control UI contributor; confidence: low; commits: 7826f936fdf5, 58d33aab21f6, 611271a52fb8; files: ui/src/pages/apps/view.ts, ui/src/app/public-assets.ts, docs/web/control-ui.md)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit 654560f into main Jul 18, 2026
136 checks passed
@steipete
steipete deleted the claude/apps-extensions-page-60d555 branch July 18, 2026 08:52
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 19, 2026
* feat(ui): add Apps & extensions page

* feat(ui): add per-theme app-art card illustrations

* docs: describe the Apps and extensions page in control-ui

* fix(ui): keep icons.ts under max-lines, drop unused export, regen docs map
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
* feat(ui): add Apps & extensions page

* feat(ui): add per-theme app-art card illustrations

* docs: describe the Apps and extensions page in control-ui

* fix(ui): keep icons.ts under max-lines, drop unused export, regen docs map
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 docs Improvements or additions to documentation maintainer Maintainer-authored PR 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: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: L 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