Skip to content

Plugins settings: one list with Installed badge, inline switch, install-state filter, category chips and trusted-code access copy - #36100

Merged
nwparker merged 9 commits into
mainfrom
nwparker/plugins-installed-filter
Oct 30, 2026
Merged

nwparker merged 9 commits into
mainfrom
nwparker/plugins-installed-filter

Conversation

@nwparker

@nwparker nwparker commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 4 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​111 $\color{#cf222e}{\Huge{\mathbf{−}}}$​23 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​88
Prod 31 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​459 $\color{#cf222e}{\Huge{\mathbf{−}}}$​388 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​71

ELI5

The Plugins page now shows every plugin in one list. Installed plugins carry a clear "Installed" badge and their on/off switch right on the card, and a filter at the top switches between All, Installed and Not installed.

What Changed

Before: installed plugins were hard to tell apart from the rest. The only sign on a catalog card was a small grey "✓ Installed" word in the footer. Turning a plugin on or off meant opening its "⋯" menu. The All view also showed a separate scrolling "Installed" strip above the catalog, so every installed plugin appeared twice, and you couldn't hide installed plugins to look only at new ones.

After:

  • Installed badge on the card picture. Every installed plugin has an "Installed" badge in the top-left corner of its picture, which you can spot while scanning the grid. It uses the existing Badge dot variant and status-success colour.

  • Switch on the card. Installed cards now show the enable switch next to "Use" or "In use" and the "⋯" menu. Enable/Disable has been taken out of the card menu. Plugins that need review, are invalid, or were disabled by Orca's safety list still show their single action button (Review, Remove, View error) and no switch, same as before.

  • One list with a filter. The tabs at the top are now All · Installed N · Not installed · Updates N. The last one only appears when updates exist. "Not installed" hides everything you already have. If every catalog plugin is installed, it says so and offers a way back to Installed.

  • Nothing the Installed tab offered is lost. Installed and Updates still show the full installed grid, with attention-needing plugins first and "Update all…" on Updates. In All, plugins that aren't in any catalog (dev folders, local installs, bundled) get their own "Installed · not from a catalog" group at the top, so their switches stay in this view. Before, they only showed up in the strip.

  • "Show all" no longer hides your plugins. A catalog group shows its first 12 cards, plus any installed plugin that sits further down. That way an installed plugin's switch is never hidden behind "Show all".

  • Category chips with icons, always visible, one at a time. Category filters (Themes, Languages, Icons, Editors, Commands & panels, Remote/VMs, plus any other catalog category such as Games) now sit in a row of chips under the search box, each with its icon. Before, they were hidden behind the filter icon. You pick one category at a time, and clicking the active chip again goes back to all categories. The filter icon now filters by catalog only. "Editors" is a new kind (from the editors and file-viewers categories, and plugins that add an editor). The machines/recipes kind is now labeled "Remote/VMs". On the plugin page, the "Categories" row now shows the same icon badges instead of plain text.

  • One category→icon table, matching the marketing site. list/plugin-category-icons.ts is the single source for the chips, the card badges and the plugin page. A badge uses the most specific category the plugin lists, so a language pack shows Languages while a syntax plugin shows Code:

    Catalog categories Lucide icon
    themes, app-themes, terminal-themes Palette
    languages, syntax, syntaxes (Languages chip) Code
    language-packs, localization Languages
    icons, icon-themes Shapes
    editors, file-viewers FilePen
    commands (Commands & panels chip) Terminal
    keybindings Keyboard
    panels PanelRight
    integrations Plug
    agents Bot
    vm-recipes, machines, recipes (Remote/VMs) Server
    games Gamepad2
    anything else Puzzle
  • Access copy no longer calls panels or editors sandboxed. They run the publisher's trusted code. The access chip now reads: Content only / Adds VM recipes / Adds commands / Opens and edits files (editors) / Adds a panel / Runs plugin code (other UI) / Full access. Every panel or editor review adds: "Runs the publisher's code inside Orca to draw its view. Orca shows what it can access and asks before enabling it." The manifest schema wording for panels and editors and the Hello Orca sample description no longer say "sandboxed", and the schema docs were regenerated.

  • Removed the now-unused InstalledPluginCarousel and its strings.

Why

This follows user feedback: (1) it's hard to see what's installed, (2) people want to filter installed plugins out so they can focus on new ones, and (3) installed plugins and their switches should be in the main view without a separate tab. We considered keeping the separate Installed strip and only adding a badge. We didn't, because the strip shows every installed plugin twice and still gives no way to filter them out. Switching the existing tab control to filter by install state reuses the same primitive and keeps Updates where it was.

Linked Issue

N/A (maintainer change from user feedback in Slack)

Visual Proof

Before: the All view. The installed strip sits on top, and in the catalog the only sign a plugin is installed is the small "Use" or "○ Off" text.

before all

After: the All view. Installed cards have the badge and the switch inline.

after all dark

After: plugins not from a catalog (a dev folder) get their own group at the top of All.

after all top

After: the Installed filter.

after installed

After: the Not installed filter.

after not installed

After: light theme, wide and narrow.

after light wide
after light narrow installed
after dark narrow

After: category chips inline with icons, one selected, and light/narrow.

after chips
after chip selected
after chips light narrow

After: plugin page with the new access label and wording for an editor, plus the Categories badge (dark), and the Categories badge in light.

after consent editor
after detail categories

Testing

  • I manually tested these changes locally (macOS dev build on a temp profile, driven through CDP on a hidden window). I installed three catalog plugins from their cards, added a dev folder, and turned one plugin off with the new card switch. Then I checked All, Installed and Not installed in dark and light themes at 1440px and 820px.
  • Automated tests added/updated: PluginManager.test.tsx covers filtering by install state, the badge, the inline switch, a dev plugin staying visible in All, installed cards past the 12-card cap, and single-select category chips. plugin-access-profile.test.ts covers the new access labels and the wording that panels run the publisher's code. The existing plugin unit suites pass, and the plugin e2e specs (plugin-demo, plugin-marketplace-content, plugin-update-review, plugin-try-it) were run locally.
  • pnpm tc:web, oxlint, pnpm run check:code-quality:changed and the localization catalog checks pass.

Review

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Renderer-only change to the Settings plugins list: no IPC, wire, or SSH changes. It works the same on all platforms. The labels are localized through translate, and the removed strings were pruned from every locale.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
Walkthrough

The plugin manager now displays installed and catalog plugins in a shared list. It adds a Not installed filter, changes how groups and result counts are calculated, and adds empty states for installed and available views. Installed cards show a badge, and eligible cards use an inline switch. The carousel and its translations were removed. Category chips and badges support filtering and plugin detail information. The trust profile and consent copy distinguish panels, editors, and VM recipes. Documentation identifies panel and editor HTML as trusted code.

Priority: Normal

Merge Risk: Low · previous review badfa

Some installed plugins appear in the wrong group or disappear while the catalog loads, and the Remote/VMs label appears in English in supported non-English locales. The change is mergeable with owner acceptance of these bounded issues or follow-up fixes.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 73.91% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documenta… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly summarizes the main user-facing changes: a unified plugins list, installed badges, inline switches, install-state filtering, category chips, and trusted-code access copy.
Description check Passed The description follows the required template and provides a clear overview, user-facing before and after behavior, rationale, visual proof, testing details, scope notes, and completed checklist items…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description follows the required template and provides a clear overview, user-facing before and after behavior, rationale, visual proof, testing details, scope notes, and completed checklist items. The missing linked issue is explained as a maintainer change, which the template permits.

Full details: Docstring Coverage

Explanation

Docstring coverage is 73.91% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 23 functions across 23 files.

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge, with one non-blocking concern remaining about Install actions after an installed-plugin read fails.

Findings

  1. P2 Installed-read errors disappear ▶

Summary

The Plugins page now uses one list with install-state filters.

  • Installed plugin cards show their status and switch beside the other actions.
  • The Plugins page filters one list by install state and keeps installed cards in view.

No new findings were identified.

Reviews (4) · Last reviewed commit: "plugins: keep the installed-read error o..." · Reviewed by Greptile

) : filter === 'all' || filter === 'available' ? (
<div className="@container/plugin-catalog space-y-8">
{installedGroup}
{filter === 'all' ? installedGroup : null}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Installed-read errors disappear

The new “Not installed” view skips installedGroup, hiding pluginsError and its Retry button. If the first installed-plugin read fails, plugins stays empty and entries.available includes plugins the user already has. This view then offers them for installation without warning that their install state is unknown.

Show the read error here and wait for a successful read before claiming plugins are not installed.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 75b04f85-e70e-4e3b-8491-46392314859f
Commits

Reviewing files that changed from the base of the PR and between 5834a3d and 3a700f9.

Files selected for processing: 16
  • src/renderer/src/components/plugins/catalog/InstalledPluginCarousel.tsx
  • src/renderer/src/components/plugins/catalog/PluginCardAction.tsx
  • src/renderer/src/components/plugins/list/PluginCard.tsx
  • src/renderer/src/components/plugins/list/PluginCatalogLayout.tsx
  • src/renderer/src/components/plugins/list/PluginListEmptyStates.tsx
  • src/renderer/src/components/plugins/list/PluginManager.test.tsx
  • src/renderer/src/components/plugins/list/PluginManager.tsx
  • src/renderer/src/components/plugins/list/PluginManagerRows.tsx
  • src/renderer/src/components/settings/PluginsSettingsSection.lifecycle.test.tsx
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/pt.json
  • src/renderer/src/i18n/locales/zh.json
Files with no reviewable changes: 2
  • src/renderer/src/i18n/locales/pt.json
  • src/renderer/src/components/plugins/catalog/InstalledPluginCarousel.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

Comment on lines +161 to +164
const listedInCatalog = (entry: PluginListEntry): boolean =>
catalog.sources.some((source) => source.id === entry.listing?.marketplaceSourceId)
// Why: dev folders, local installs and bundled plugins have no catalog card to carry their switch.
const uncataloged = catalog.loading ? [] : installed.filter((entry) => !listedInCatalog(entry))

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.

Minor · Functional Correctness · Quick win

Supported by static analysis

Script executed:

sed -n '145,225p' src/renderer/src/components/plugins/list/PluginManager.tsx
sed -n '225,275p' src/renderer/src/components/plugins/list/PluginManager.tsx
sed -n '195,240p' src/renderer/src/components/plugins/catalog/PluginCatalogGroups.tsx

Repository: stablyai/orca

Length of output: 6923


Classify installed entries by their source.

When a local or dev install has a fallback listing, listedInCatalog matches only listing.marketplaceSourceId and classifies it as cataloged. The entry is then omitted from uncataloged and can be rendered in a catalog group.

Use installed.source.marketplace for installed entries. Keep available entries eligible because visibleCatalogCount also calls this predicate for entries without installed metadata.

Suggested fix
--- "a/src/renderer/src/components/plugins/list/PluginManager.tsx"
+++ "b/src/renderer/src/components/plugins/list/PluginManager.tsx"
@@ -158,11 +158,13 @@
     narrowed || expandedGroups.has(groupId) ? rows : cappedPluginRows(rows)
   const showAll = (groupId: string) => () =>
     setExpandedGroups((current) => new Set(current).add(groupId))
   const listedInCatalog = (entry: PluginListEntry): boolean =>
+    (!entry.installed || Boolean(entry.installed.source?.marketplace)) &&
     catalog.sources.some((source) => source.id === entry.listing?.marketplaceSourceId)
   // Why: dev folders, local installs and bundled plugins have no catalog card to carry their switch.
   const uncataloged = catalog.loading ? [] : installed.filter((entry) => !listedInCatalog(entry))
-  const catalogInstalled = filter === 'available' ? [] : entries.installed
+  const catalogInstalled =
+    filter === 'available' ? [] : entries.installed.filter(listedInCatalog)
   const openUpdates = (entries: readonly PluginListEntry[]): void => {
     setUpdateAllOpens((count) => count + 1)
     setUpdateEntries(entries)

@coderabbitai coderabbitai 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.

Actionable comments posted: 3


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bc78d754-6237-4d4e-beb9-1fb3d4c84f22
Commits

Reviewing files that changed from the base of the PR and between 3a700f9 and e7d1444.

Files selected for processing: 3
  • src/renderer/src/components/plugins/list/PluginManager.test.tsx
  • src/renderer/src/components/plugins/list/PluginManager.tsx
  • src/renderer/src/i18n/locales/en.json
Files skipped from review as they are similar to previous changes: 1
  • src/renderer/src/i18n/locales/en.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.

<div className="@container/plugin-catalog space-y-8">
{installedGroup}
{/* Why the error too: without it Not installed would offer plugins you may already have. */}
{filter === 'all' || pluginsError ? installedGroup : null}

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.

Minor · Functional Correctness · Quick win

Keep installed cards visible while the catalog loads.

On All, uncataloged is empty while catalog.loading is true. installedGroup therefore renders no cards, and PluginCatalogGroups renders only skeletons. A slow catalog request hides already-loaded installed plugins and their controls until that request finishes. Show the installed entries provisionally while the catalog loads, then place them in their catalog groups when the listings arrive. (raw.githubusercontent.com)

@nwparker nwparker changed the title Plugins settings: one list with an Installed badge, inline switch and install-state filter Plugins settings: one list with Installed badge, inline switch, install-state filter and category chips Oct 29, 2026
@nwparker nwparker changed the title Plugins settings: one list with Installed badge, inline switch, install-state filter and category chips Plugins settings: one list with Installed badge, inline switch, install-state filter, category chips and trusted-code access copy Oct 29, 2026

@coderabbitai coderabbitai 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.

Actionable comments posted: 1


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6fbac443-5884-4743-a969-235de544f5cb
Commits

Reviewing files that changed from the base of the PR and between 6690aac and 84e0126.

Files selected for processing: 22
  • docs/reference/plugin-manifest.md
  • docs/schemas/plugins/orca-plugin.v2.schema.json
  • examples/plugins/hello-orca/orca-plugin.json
  • examples/plugins/orca-gleam-syntax/orca-plugin.v2.schema.json
  • src/renderer/src/components/plugins/list/PluginCategoryChips.tsx
  • src/renderer/src/components/plugins/list/PluginManager.test.tsx
  • src/renderer/src/components/plugins/list/plugin-category-icons.ts
  • src/renderer/src/components/plugins/list/plugin-category-label.ts
  • src/renderer/src/components/plugins/list/plugin-list-filter.ts
  • src/renderer/src/components/plugins/presentation/plugin-access-profile.test.ts
  • src/renderer/src/components/plugins/presentation/plugin-access-profile.ts
  • src/renderer/src/components/plugins/presentation/plugin-consent-copy.ts
  • src/renderer/src/components/plugins/review/PluginInstallConsent.test.tsx
  • src/renderer/src/components/plugins/review/PluginInstallConsent.tsx
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/zh.json
  • src/shared/plugins/contributions/plugin-custom-editor-contribution.ts
  • src/shared/plugins/contributions/plugin-panel-contribution.ts
Files skipped from review as they are similar to previous changes: 6
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/zh.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/en.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.

Comment on lines +13 to +14
case 'editors':
return translate('auto.components.settings.PluginFilterPopover.editors', 'Editors')

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.

Minor · Functional Correctness · Quick win

Keep translations for the renamed Remote/VMs category label.

This PR replaces the machines category key with remoteVms. The base locale catalogs had translated machines entries. The head removes them and adds no remoteVms entries in the affected catalogs. In those locales, the category label reverts to the English fallback "Remote/VMs". Add reviewed translations for remoteVms in each locale that had a machines entry. Do not copy the English value into those catalogs.

@nwparker
nwparker merged commit a892fca into main Oct 30, 2026
51 checks passed
nwparker added a commit that referenced this pull request Oct 30, 2026
…gs in every locale

Covers strings added by #36100 and #35846 (category chips, install-state tabs,
access labels, the trusted-code warning, Try it) plus the plugin-pane strings
German, Portuguese, Russian, Turkish and Traditional Chinese never received.
Games, Agents and Integrations chips now read from the catalog instead of the slug.
nwparker added a commit that referenced this pull request Oct 30, 2026
…gs in every locale (#36215)

Covers strings added by #36100 and #35846 (category chips, install-state tabs,
access labels, the trusted-code warning, Try it) plus the plugin-pane strings
German, Portuguese, Russian, Turkish and Traditional Chinese never received.
Games, Agents and Integrations chips now read from the catalog instead of the slug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant