Skip to content

feat(frontend): search, filter and page the settings plugin list - #1584

Open
abdulrafey1 wants to merge 13 commits into
issue-825-plugin-statusfrom
issue-825-plugin-list-filter
Open

abdulrafey1 wants to merge 13 commits into
issue-825-plugin-statusfrom
issue-825-plugin-list-filter

Conversation

@abdulrafey1

@abdulrafey1 abdulrafey1 commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

Closes: Its difficult to find plugins in the Config tab

What

Plugins were hard to find on the settings page as the list grows; the list now has a search and status filter
bar and shows ten plugins at a time with Load more.

Changes

  • feat(frontend): search and filter plugins on the settings page (free words match the display name;
    is:enabled, is:disabled, is:blocked; a screen reader hears the match count; "Show all plugins" on no match)
  • feat(frontend): page the settings plugin list with Load more (ten at a time; focus moves to the first new row,
    and to a neighbouring row or the filter bar when the focused row drops out of the filter)
  • feat(frontend): show the plugin match count in the settings filter bar
  • fix(frontend): name each settings row by its heading, so a screen reader names the row focus moves to
  • New plugins.filter.* and plugins.loadMore strings in en, es and fr
  • docs: explain finding plugins on the settings page (user guide "Find a plugin"; plugin guide says a settings row
    renders exactly one list item)

How to Test

  1. Open /dashboard/settings. A filter bar sits above the plugin list.
  2. Type part of a plugin's name. Only plugins whose name contains every typed word stay, and a pill before the
    clear "x" shows how many match.
  3. Click the bar. It suggests is:. Choose it and pick enabled. Only enabled plugins stay. is:disabled shows
    the ones you turned off and is:blocked the ones an admin turned off. is:enabled,disabled shows both.
  4. With is:enabled, turn a plugin off. Its row drops out and keyboard focus moves to the next row (or the
    previous one, or the filter bar when none is left).
  5. Type something that matches nothing. "No plugins match this filter" shows with "Show all plugins", which clears
    the filter and focuses the bar.
  6. With more than ten plugins, only ten show with "Load more". Clicking it shows ten more and focuses the first
    new row. Changing the filter goes back to ten.
  7. Switch the language to Spanish and French and check the new strings.
  8. cd frontend && bun run vitest run tests/core/settings tests/app/dashboard/settings
  9. make docs builds, and the user guide's Settings page has a "Find a plugin" section.

Environment Variables

Test Coverage

  • Backend: 95%
  • Frontend: 79.57%

Notes

Last of four stacked PRs; based on the plugin status refactor PR. Paging is client-side because the plugin list
endpoint also feeds the sidebar.

This description was written with the assistance of an LLM (Claude).

🤖 Generated with Claude Code

abdulrafey1 and others added 8 commits December 3, 2026 13:53
Add the query filter bar above the plugin list. Free words match the display
name and is:enabled, is:disabled or is:blocked match the status. A screen
reader hears how many plugins match, and an empty result offers to show all.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Show ten matching plugins at a time with a Load more button. Focus moves to the
first new row after Load more, and to a neighbouring row, or the filter bar,
when the focused row drops out of the filter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s code

A settings row takes its accessible name from its heading, so a screen reader names the row that
focus moves to. The plugin list's empty state is its own component and the row-focus hook states
its return type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The user guide covers the filter box, the is:enabled, is:disabled and is:blocked qualifiers, how
they combine, and Load more. The plugin guide says a settings row renders exactly one list item, so
the page can move focus between rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…omment

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@abdulrafey1
abdulrafey1 added this pull request to stack #1585 December 3, 2026 09:59
@abdulrafey1 abdulrafey1 self-assigned this Dec 3, 2026
const STATUSES: PluginStatus[] = ["enabled", "disabled", "blocked"];
/** How many rows the list shows at first, and how many more each "Load more" adds. */
const PAGE_SIZE = 10;
const ROW_SELECTOR = '[role="listitem"]';

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.

Caught by Claude:

Finding rows by [role="listitem"] means every plugin's row has to render exactly one of those or focus lands on the wrong row, and the only thing enforcing it is the new line in the plugin guide. Could PluginSettingsRow render the focusable listitem wrapper itself? Same for the bar: a ref on QueryFilterBar instead of querying for [role="combobox"].

- `is:enabled` keeps the plugins you turned on, and `is:disabled` the ones you turned off.
- `is:blocked` keeps the plugins an administrator [switched off](#a-plugin-an-administrator-switched-off). Such a
plugin counts only as `is:blocked`, whatever your own switch says.
- `is:enabled,disabled` keeps both kinds. Words and `is:` combine: `is:enabled canvas` keeps the plugins you turned

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.

can we use is:enabled compose instead of is:enabled canvas to keep this guide plugin-agnostic?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I'll re-write it to is:enabled <plugin-name> to make it plugin agnostic, since compose is also a plugin

abdulrafey1 and others added 5 commits December 4, 2026 18:45
The settings page passes the number of matching plugins to the filter bar, and the user guide says
the number beside the clear button shows how many plugins match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bar and its parser moved into a folder of their own, so the plugin list imports both
from there.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
# Conflicts:
#	frontend/tests/app/dashboard/settings/page.test.tsx

This branch has not been deployed

No deployments
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.

Its difficult to find plugins in the Config tab

3 participants