Skip to content

feat(app): collapsible palette groups and result counts for file/chat search - #14718

Closed
wufei-png wants to merge 2 commits into
anomalyco:devfrom
wufei-png:feat/14708-vscode-style-search
Closed

wufei-png wants to merge 2 commits into
anomalyco:devfrom
wufei-png:feat/14708-vscode-style-search

Conversation

@wufei-png

@wufei-png wufei-png commented Feb 22, 2026 •

Copy link
Copy Markdown

Issue for this PR

Closes #14708

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds collapsible groups and result counts to the command palette (file/chat search) so the UI is closer to VSCode. File Name Matches, Local File Content Matches, Chat Content Matches, and Session Name Matches each have a clickable header with chevron (down = expanded, right = collapsed) and a count line (e.g. "3 results in 2 files"). The List component gets an optional groupCollapsed(category) prop to hide a group’s items when collapsed. New i18n keys palette.group.*.count for all locales.

How did you verify your code works?

Ran the web app, opened the palette (Cmd+P), ran a search, and toggled each group header to expand/collapse and confirmed counts match the listed items.

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

(UI: collapsible section headers with chevrons and result counts in the palette.)

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

VSCode-style search in web command palette: file selection dialog,
ripgrep-backed content search, and i18n. Aligns with issue anomalyco#14708.
@wufei-png
wufei-png force-pushed the feat/14708-vscode-style-search branch from a6e1340 to 621659c Compare February 22, 2026 19:29
@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Feb 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@wufei-png

Copy link
Copy Markdown
Author

Note on testing: I tested locally using my own document repository, so I didn’t add test fixtures to this PR. If you’d like tests included (e.g. for the palette search options: Match Case, Match Whole Word, Use Regular Expression, and include/exclude files), we could introduce a dedicated test folder (e.g. under packages/app or a shared fixture) with minimal sample files to exercise those four options in a reproducible way.

@wufei-png

Copy link
Copy Markdown
Author

Small UX note: the hover tooltips for “Use Regular Expression” and “include/exclude files” can overflow the search bar width. If this PR is accepted, I’ll adjust the tooltip placement or text so they stay within bounds.

@wufei-png

wufei-png commented Feb 22, 2026 •

Copy link
Copy Markdown
Author

a video example:

2026-02-23.03-45-34.mov

vscode search bar:
image
I think VS Code's ui design is quite good, especially since it will be familiar to developers.

@github-actions

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

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.

[FEATURE]: VSCode-style search in web command palette (file + chat content)

1 participant