You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added search to the options panel. Search matches option labels, names, command-line flags, and descriptions, with multiple terms matched regardless of order or capitalization.
The panel shows the number of matching options or a message when none match. Press Escape or clear the search field to reset the filter.
When preset or selection changes affect options hidden by the filter, a note indicates that changes were made.
No actionable comments were generated in the recent review.
Walkthrough
The web options panel now supports searching options by label, ID, CLI flag, and help text. It reports match counts, and selection actions show a note when they change options hidden by the current filter.
Changes: Options filtering and selection feedback
Layer / File(s)
Summary
Search and change-detection helpers site/lib/filter.js, site/test/page.test.js
New helpers build searchable option text, match all query words, and detect changed option choices. Tests cover these behaviors.
Filter input and visible options site/default.js, site/index.html, site/default.css
The options panel filters rows as the query changes, displays a match count or “No options match,” and clears the filter with Escape. Styles support the search field.
Feedback for hidden selection changes site/default.js, site/index.html
Preset and selection actions count changed options outside the current filter. The panel shows a note when that count is nonzero and clears the note when the filter changes.
sequenceDiagram
participant User
participant SearchField
participant siteDefaultJs
participant matchesFilter
participant OptionsPanel
User->>SearchField: Enter a query
SearchField->>siteDefaultJs: Emit search event
siteDefaultJs->>matchesFilter: Check query against cached option text
matchesFilter->>siteDefaultJs: Return match result
siteDefaultJs->>OptionsPanel: Update visible rows and match status
Loading
Possibly related issues
Extend web version #20 — The issue lists an option filter for the web version, which this pull request adds.
Suggested reviewers:sibiraj-s
Merge Risk: Minimal · up to 69c5d
The change adds a search field to the web options panel, with match counts and a note when selection actions change options hidden by the filter. It is limited to the site, and no merge-blocking risk was found.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "Add options filter to web version" matches the changeset. The PR adds a search field to the options panel, filter helpers in site/lib/filter.js, and related tests and styling. The title nam…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "Add options filter to web version" matches the changeset. The PR adds a search field to the options panel, filter helpers in site/lib/filter.js, and related tests and styling. The title names the main change and is specific enough for a reviewer scanning history.
Finishing Touches
Generate unit tests (beta)
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.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Central YAML; Path: .coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID: c9d73184-41d2-44da-9758-7909ff4e571e
Commits
Reviewing files that changed from the base of the PR and between 1b9e4ad and 69c5de7.
Files selected for processing: 5
site/default.css
site/default.js
site/index.html
site/lib/filter.js
site/test/page.test.js
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
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
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.
Addresses #20
Summary by CodeRabbit