Repository navigation
feat(frontend): search, filter and page the settings plugin list - #1584
Open
abdulrafey1 wants to merge 13 commits into
Open
abdulrafey1 wants to merge 13 commits into
abdulrafey1 wants to merge 13 commits into
Conversation
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>
FatimaSaleem21
approved these changes
Dec 3, 2026
zaira-bibi
requested changes
Dec 4, 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"]'; |
Contributor
There was a problem hiding this comment.
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 |
Contributor
There was a problem hiding this comment.
can we use is:enabled compose instead of is:enabled canvas to keep this guide plugin-agnostic?
Collaborator
Author
There was a problem hiding this comment.
I'll re-write it to is:enabled <plugin-name> to make it plugin agnostic, since compose is also a plugin
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
is:enabled,is:disabled,is:blocked; a screen reader hears the match count; "Show all plugins" on no match)and to a neighbouring row or the filter bar when the focused row drops out of the filter)
plugins.filter.*andplugins.loadMorestrings in en, es and frrenders exactly one list item)
How to Test
/dashboard/settings. A filter bar sits above the plugin list.clear "x" shows how many match.
is:. Choose it and pickenabled. Only enabled plugins stay.is:disabledshowsthe ones you turned off and
is:blockedthe ones an admin turned off.is:enabled,disabledshows both.is:enabled, turn a plugin off. Its row drops out and keyboard focus moves to the next row (or theprevious one, or the filter bar when none is left).
the filter and focuses the bar.
new row. Changing the filter goes back to ten.
cd frontend && bun run vitest run tests/core/settings tests/app/dashboard/settingsmake docsbuilds, and the user guide's Settings page has a "Find a plugin" section.Environment Variables
Test Coverage
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