nuxt / nuxt/ui

CommandPalette needs a supported way to disable client filtering

Open
#6,421 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
TypeScript
Stars
6.9k
Forks
1.1k
Avg merge
1d 7h
Merged PRs (30d)
57

Description

Summary

UCommandPalette always applies local filtering based on searchTerm, even when results are already pre-filtered by a remote search backend.

Why this matters

For server-driven search UIs, the component should be able to render the provided items as-is. Right now the only reliable workaround is a fragile combination of permissive fuse settings and/or group.ignoreFilter, plus a regression test to make sure upstream behavior does not change.

Requested behavior

A first-class prop to bypass client filtering entirely, for example:

  • ignoreFilter on the whole component, or
  • a documented remote-search mode

Current workaround

We are using v-model:searchTerm with remote Typesense results and forcing UCommandPalette to keep all returned items visible.

Thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the UCommandPalette implementation and trace how searchTerm applies local filtering, then review its existing component tests. Add a supported component-level way to bypass filtering for remotely filtered items and cover the behavior with a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
67/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.