Skip to content

feat: show installed plugins in the Customize sidebar - #201220

Merged
vyctorbrzezowski merged 4 commits into
mainfrom
openclaw/lucky-crayfish-4
Nov 18, 2026
Merged

vyctorbrzezowski merged 4 commits into
mainfrom
openclaw/lucky-crayfish-4

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

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

  • The Gateway's plugins.list now reports installedAt (from the install record; bundled plugins have none) and a sidebar flag 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.
  • The sidebar reads plugins.list once 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.
  • On a listed plugin's detail page, that row is selected instead of the Plugins row. The page rows render immediately; plugin rows appear below them when the inventory arrives.
  • The detail page's Settings action (and the Configure button on a credential) navigates to /settings/plugins/<id>?view=settings&from=plugins. An existing /plugins/<id>?view=settings link still renders the old inline form, because those URLs may have been shared. Retiring or redirecting that path can follow separately.
  • The bundled opt-in set (Workboard, Knowledge, Lobster, Diffs, Memory Wiki) is a starting point for review. It is one line in each manifest.

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.png artwork from extensions/*/assets. Before = origin/main at 392506102468; after = this branch. Chromium, 1440×1000, light theme.

Clean comparison: Customize sidebar on a plugin detail page

Before

Before: the Customize sidebar lists only Plugins, Skills and Skill workshop

After

After: an Installed group lists Shopify AI Toolkit, Linear, Lobster Theme, Knowledge and Workboard, with Shopify selected

Annotated comparison: Customize sidebar

Before

Before, annotated: only the hub's pages are listed

After

After, annotated: installed plugins, newest install first, then Knowledge and Workboard

Clean comparison: the detail page's Settings button

Before

Before: Settings opens the plugin form inside the Customize workspace

After

After: Settings opens the plugin under Settings, Plugins

Annotated comparison: Settings button

Before

Before, annotated: settings open inside Customize

After

After, annotated: opened in Settings, with Plugins selected

What was checked:

  • New browser E2E 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=plugins with the form loaded.
  • Updated E2E expectations in plugin-overview and plugins-lifecycle for the Settings navigation. plugins-hub-navigation, plugins.e2e, plugins-settings-admin, settings-subpage-back and sidebar-customization pass unchanged.
  • management-service.catalog.test.ts: a bundled manifest's catalog.sidebar is projected, and an external install record's installedAt becomes epoch milliseconds. The catalog, manifest registry, official bundled catalog and featured tests pass.
  • pnpm tsgo:ui and pnpm tsgo:core, pnpm check:control-ui-controllers, pnpm lint:ui:styles, oxlint on the changed TS/TSX, pnpm ui:i18n:verify, and pnpm protocol:gen with 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.

Diffs shortcut and detail in the isolated Gateway

The shortcut disappears after Diffs is disabled

Customize drawer at 390px, production Chromium with a simulated Gateway

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 7179cc0420b2 and three times on the hosted merge 7fd84e8791ff. In both builds, releasing agents.list settles 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.

roboclaw-bot and others added 2 commits November 18, 2026 13:22
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
@clawsweeper

clawsweeper Bot commented Nov 18, 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:feature Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 18, 2026
@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: ready, awaiting a maintainer decision.

What this changes

This PR adds installed-plugin shortcuts to Customize and sends plugin configuration actions to Settings.

Example: Diffs is enabled on the Gateway.

  • Before: Opening Diffs requires finding it on the Plugins page.
  • After: Customize shows a Diffs shortcut that disappears when Diffs is disabled.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Useful implementation with both previous findings repaired, but upgrade validation and the CSS budget disposition remain unresolved.
Proof confidence 🦪 silver shellfish (2/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Returning to an installed feature plugin requires searching the Plugins page, and configuration actions open settings inside Customize.
Reason: The maintainer-directed design adds bounded shortcuts while excluding the large systemic bundled inventory that motivated the earlier removal.

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
Reviewed head: 0f0f888ef4cab732282633b8e5103340762e22e6
Owner decision: Required. See Decision needed.

Decision needed

  • Question: Should this feature retain its reported 412 B raw CSS increase despite exceeding the existing growth allowance by 348 B?
  • Recommendation: Reduce the CSS cost: Have the PR author reuse or consolidate nearby styles until the paired budget comparison passes.
  • Why: The measured overage is disclosed, but disclosure does not explicitly accept the budget exception.

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Provide a latest-stable-to-head upgrade run with an existing external plugin, confirming its settings and enablement survive and its shortcut opens correctly; redact credentials and non-public endpoints.
Agent review details

How this fits together

Plugin 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]
Loading

Technical review

Best 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

  • Customize sidebar changes intended behavior with a stated reason (40cd5c1: The earlier change removed an unfiltered inventory of bundled plugins and deferred useful plugin selection.)
  • Plugin Settings navigation changes intended behavior with a stated reason (feat: unify installed and catalog plugin overviews #149216: The shared overview kept Settings on the same plugin URL; this PR explains moving new actions into Settings while preserving existing direct URLs.)
  • Shared sidebar heading styles keeps the original intent (275ea70: The People heading separates navigation from its roster; the renamed shared class preserves those declarations.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source +216, Tests +260, Docs +2. Total +478 across 20 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 15 245 29 +216
Tests 4 270 10 +260
Docs 1 7 5 +2
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 20 522 44 +478

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.

Review metrics

Metric Value Why it matters
Manifest presentation option 1 optional field: catalog.sidebar Keeps bundled shortcut eligibility in plugin metadata rather than a hardcoded UI list.
Protocol additions 2 optional plugins.list fields sidebar and installedAt extend the existing inventory response without adding a method.

Labels

Label changes:

  • add status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.
  • remove status: ⏳ waiting on author: Current PR status label is status: ⏳ waiting on maintainer.

Label justifications:

  • P3: This improves navigation convenience without repairing a blocked workflow.
  • merge-risk: 🚨 compatibility: The PR extends the public plugin manifest and inventory response and changes Settings action destinations; legacy direct links remain supported.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.

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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-11-18T13:40:22.027Z sha a4a4ded :: needs changes before merge. :: [P2] Keep undated external installs ahead of bundled shortcuts | [P3] Refresh retained plugin artwork when its generation changes

Reviewed November 18, 2026, 10:35 AM ET / 15:35 UTC (Revision 2).

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review November 18, 2026 15:30
@vyctorbrzezowski

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Nov 18, 2026
@vyctorbrzezowski
vyctorbrzezowski merged commit b9cffae into main Nov 18, 2026
130 of 133 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/lucky-crayfish-4 branch November 18, 2026 18:00
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
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]>
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 extensions: diffs extensions: lobster Extension: lobster extensions: memory-wiki gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. plugin: knowledge plugin: workboard rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: L status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants