Repository navigation
feat(ui): add Apps & extensions page to the Control UI - #110563
Conversation
There was a problem hiding this comment.
💡 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".
| <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`)} |
There was a problem hiding this comment.
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 👍 / 👎.
|
Codex review: found issues before merge. Reviewed July 18, 2026, 4:46 AM ET / 08:46 UTC. Summary 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 Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Next step before merge
Security Review findings
Review detailsBest possible solution: Serve Do we have a high-confidence way to reproduce the issue? Yes, from source: open the Control UI at its supported default 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:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ab093bded4fb. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +747, Tests +123, Docs +13. Total +883 across 36 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
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
|
|
Merged via squash.
|
* 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
* 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
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
/appspage ("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.Evidence
pnpm tsgo:uigreen;pnpm ui:i18n:baseline+pnpm ui:i18n:verifygreen (English keys only; translations flow through the post-merge locale-refresh workflow).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.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.ai.openclaw.appand all docs URLs matchdocs/**.gpt-5.6-sol, xhigh): clean, "no accepted/actionable findings" on the full code diff.