Repository navigation
feat: show installed plugins in the Customize sidebar - #201220
Conversation
The Customize sidebar now lists plugins people added, newest install first, followed by enabled bundled plugins whose manifest opts in with catalog.sidebar (Workboard, Knowledge, Lobster, Diffs, Memory Wiki). plugins.list reports installedAt from the install record and the sidebar hint. A plugin detail's Settings action now opens the plugin in Settings instead of rendering the settings form inside the Plugins workspace. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: dd3ba551-2585-454b-b658-2849a03561a1
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: ready, awaiting a maintainer decision. What this changesThis PR adds installed-plugin shortcuts to Customize and sends plugin configuration actions to Settings. Example: Diffs is enabled on the Gateway.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness⏳ Ready, awaiting maintainer decision Keep open: this maintainer-directed feature is useful, and both earlier findings are fixed; no additional functional defect was found. Priority: P3 Decision needed
Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherPlugin manifests and existing install records feed plugins.list; the Control UI derives eight shortcuts and uses existing plugin detail and Settings routes. flowchart LR
A[Plugin manifests] --> C[Plugin management service]
B[Install records] --> C
C --> D[Gateway plugins list]
D --> E[Customize sidebar]
E --> F[Plugin detail and Settings]
Technical reviewBest possible solution: Retain the bounded manifest-owned shortcuts and existing Settings owner, with the CSS cost resolved under the existing budget policy. Do we have a high-confidence way to reproduce the issue? The page-only sidebar is visible in current-main source and the before image; this is an intentional feature extension rather than an established upstream bug. Is this the best way to solve the issue? The change uses existing manifest, inventory, artwork, and routing owners; the shortcut helpers have clear responsibilities, and retained inline Settings URLs preserve a documented shipped route. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f920a7e6941c. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +216, Tests +260, Docs +2. Total +478 across 20 files. Added test files: 1. View PR surface stats
Preflight sourceSource 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
LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed November 18, 2026, 10:35 AM ET / 15:35 UTC (Revision 2). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
List installed plugin shortcuts without changing installation or enablement. External plugins without an install date stay ahead of bundled plugins, and shortcut artwork refreshes without losing focus. Verified on an isolated Gateway, including disabling a plugin from Settings. The final CI run passed except for the total raw CSS budget. The maintainer approved the 348-byte exception for this PR. Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
The Customize sidebar only lists its own pages (Plugins, Skills, Skill workshop, Templates). Getting back to a plugin you just installed, or to a feature plugin such as Workboard or Knowledge, means opening the Plugins page and searching for it. Opening a plugin's settings from its detail page also renders the settings form inside the Plugins workspace, so the same settings appear in two places.
User Impact
User impact: the Customize sidebar shows an Installed group on every Customize page: plugins you installed, newest first, followed by the enabled bundled feature plugins that opt in (Workboard, Knowledge, Lobster, Diffs, Memory Wiki). System plugins such as OpenClaw Memory, providers, channels and ClawRouter stay on the Plugins page. Choosing a row opens that plugin's usual detail page, and its Settings button now opens the plugin in Settings (
/settings/plugins/<id>) instead of showing the form inside Customize.Why This Change Was Made
plugins.listnow reportsinstalledAt(from the install record; bundled plugins have none) and asidebarflag taken from a new manifest presentation hint,catalog.sidebar. The Gateway and plugin manifests stay the owners of which plugins appear; the sidebar does not hardcode plugin IDs.plugins.listonce per connection and plugin generation, so installs, removals and enable/disable changes refresh it. It keeps at most 8 rows; the Plugins page still lists everything./settings/plugins/<id>?view=settings&from=plugins. An existing/plugins/<id>?view=settingslink still renders the old inline form, because those URLs may have been shared. Retiring or redirecting that path can follow separately.Evidence
The Control UI runs with a synthetic Gateway fixture: three installed plugins (Shopify AI Toolkit, Linear, Lobster Theme) with install times, plus bundled Workboard, Knowledge, disabled Diffs, OpenClaw Memory, ClawRouter and Anthropic. Workboard, Knowledge and Lobster Theme use the packaged
icon.pngartwork fromextensions/*/assets. Before =origin/mainat392506102468; after = this branch. Chromium, 1440×1000, light theme.Clean comparison: Customize sidebar on a plugin detail page
Before
After
Annotated comparison: Customize sidebar
Before
After
Clean comparison: the detail page's Settings button
Before
After
Annotated comparison: Settings button
Before
After
What was checked:
plugins-customize-sidebar.e2e.test.ts: row order (newest install first, then opted-in bundled plugins), disabled and system bundles excluded, the listed plugin's row selected instead of Plugins, clicking Knowledge opens its detail page, the list stays the same on the Skills page, and Settings opens/settings/plugins/shopify?view=settings&from=pluginswith the form loaded.plugin-overviewandplugins-lifecyclefor the Settings navigation.plugins-hub-navigation,plugins.e2e,plugins-settings-admin,settings-subpage-backandsidebar-customizationpass unchanged.management-service.catalog.test.ts: a bundled manifest'scatalog.sidebaris projected, and an external install record'sinstalledAtbecomes epoch milliseconds. The catalog, manifest registry, official bundled catalog and featured tests pass.pnpm tsgo:uiandpnpm tsgo:core,pnpm check:control-ui-controllers,pnpm lint:ui:styles, oxlint on the changed TS/TSX,pnpm ui:i18n:verify, andpnpm protocol:genwith the native Swift/Kotlin protocol check all pass.Gaps: the screenshots use a mocked Gateway, not a live install. The test does not cover a dark theme or narrow (mobile drawer) layout. Full CI has not run yet.
Requested and designed by @vyctorbrzezowski.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by
Maintainer verification
External installs without a timestamp sort before bundled plugins. Shortcut artwork refreshes after a plugin inventory change; the focused shortcut remains mounted. Both reported bugs reproduced before the repair and passed afterwards. The existing Settings suites preserve legacy direct links, back navigation and read-only access.
On an isolated real Gateway, Customize listed the enabled Diffs plugin and omitted disabled Workboard. The shortcut opened the Diffs detail; Settings opened the real Diffs form. Disabling Diffs advanced the Gateway plugin generation from 5 to 6 and removed its shortcut without a page reload.
29 focused browser cases, 39 catalog tests, UI types, lint, i18n, and protocol generation/native verification passed. The optional presentation fields require no migration. No latest-stable upgrade was performed. After reusing the existing group styles, the paired build passes gzip (+54 B), with a remaining raw CSS growth of 412 B (348 B over the allowance); no change in largest CSS or the number of Chat boot requests.
The hosted performance check confirms the remaining CSS violation: +412 B raw, 348 B beyond the allowed growth. The separately failing New Session geometry case reproduced identically three times on main
7179cc0420b2and three times on the hosted merge7fd84e8791ff. In both builds, releasingagents.listsettles the composer at 176 px high, while the test expects 214 px; the two sibling cases pass. No New Session fixture or composer source changed in this PR.