Skip to content

Add search and keyword highlighting to prompt suggestions#154

Open
JOORVIS wants to merge 1 commit intomainfrom
feat/prompt-suggestions-search-152
Open

Add search and keyword highlighting to prompt suggestions#154
JOORVIS wants to merge 1 commit intomainfrom
feat/prompt-suggestions-search-152

Conversation

@JOORVIS
Copy link
Collaborator

@JOORVIS JOORVIS commented Feb 23, 2026

Closes #152

Summary

  • Add a search bar to Prompt Suggestions with live filtering, a clear (X) control, and a dedicated no-results state.
  • Extend the prompt suggestions Stimulus controller to filter case-insensitively, highlight matching terms safely, hide expand/collapse while searching, and restore default collapsed behavior when search is cleared.
  • Re-apply active search after suggestion CRUD refreshes and add English/German translations plus focused frontend unit test coverage for the new behavior.

Test plan

  • mise run tests:frontend
  • mise run npm run lint
  • mise run frontend
  • mise run quality (currently blocked by existing Doctrine schema sync issue in local environment)

Add live prompt suggestion filtering with clear-search, highlighted keyword matches, and an explicit no-results state to make larger suggestion lists easier to navigate. Keep default expand/collapse behavior when search is empty and cover the new UX flows with frontend unit tests.
@rezamirsadeghi96
Copy link
Collaborator

Ich hab es lokal getestet und sieht alles fine aus !

@rezamirsadeghi96 rezamirsadeghi96 marked this pull request as ready for review February 24, 2026 09:45
@rezamirsadeghi96 rezamirsadeghi96 requested review from schramm-joboo and removed request for rezamirsadeghi96 February 24, 2026 09:46
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.

Add search functionality to Prompt Suggestions section

2 participants