Skip to content

fix: ignore whitespace in store plugin search#935

Open
zdennisz wants to merge 1 commit into
SteamDeckHomebrew:mainfrom
zdennisz:fix/store-search-whitespace
Open

fix: ignore whitespace in store plugin search#935
zdennisz wants to merge 1 commit into
SteamDeckHomebrew:mainfrom
zdennisz:fix/store-search-whitespace

Conversation

@zdennisz

@zdennisz zdennisz commented Jul 3, 2026

Copy link
Copy Markdown

Please tick as appropriate:

  • I have tested this code on a steam deck or on a PC
  • My changes generate no new errors/warnings
  • This is a bugfix/hotfix
  • This is a new feature

Description

The plugin store search used plain substring matching, so a query like tab master would not match a plugin named tabmaster. This normalizes both the search query and the searched fields (name, description, author, tags) by lowercasing and stripping whitespace before comparing.

Store search is performed entirely client-side (the remote store API returns the full list; only sort_by/sort_direction are sent), so this fix is contained to frontend/src/components/store/Store.tsx.

Verification

  • pnpm run typecheck — clean
  • prettier — clean
  • Logic check: tab master, tabmaster, css, cssloader all match TabMaster/CSS Loader; empty query still returns all plugins.

Resolves #622

Store search used plain substring matching, so a query like "tab master"
would not match a plugin named "tabmaster". Normalize both the query and
the searched fields (name, description, author, tags) by lowercasing and
stripping whitespace before comparing.

Resolves SteamDeckHomebrew#622

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

[Request] Make the plugin store fuzzy sort, or at least strip out whitespace

1 participant