Skip to content

Add search functionality to Prompt Suggestions section #152

@rezamirsadeghi96

Description

@rezamirsadeghi96

Description

The Prompt Suggestions section in Conversation Pages currently lacks a search feature. As the number of suggestions grows, it becomes difficult to quickly find relevant prompts.

Proposed improvement

  • Add a functional search bar within the Prompt Suggestions section.
  • As soon as the user starts typing, the result container should dynamically appear.
  • The results should be filtered in real time based on the entered keyword.
  • The matching keyword should be visually highlighted within the result containers to improve visibility and speed of recognition.
  • Add an "X" button at the right end of the search bar to quickly clear the entered text.

Expected behavior

  • Typing in the search bar filters prompt suggestions immediately.
  • Only relevant prompts are displayed.
  • The searched term is highlighted inside the suggestion text.
  • Clicking the "X" button clears the input field and resets the suggestion list.
  • If no match is found, a clear "No results found" state should be displayed.

Why this matters

  • Improves usability and efficiency when many prompts exist.
  • Reduces scrolling and manual scanning.
  • Enhances discoverability of existing prompt templates.
  • Provides a standard, intuitive search UX pattern.
  • Scales better as the number of suggestions increases.

Environment

  • Feature: Prompt Suggestions (Sitebuilder)

Metadata

Metadata

Assignees

Labels

prdb:enabledIssue is managed by ProductBuilderprdb:implementation-erroredError during implementation — manual intervention requiredprdb:plan-approvedPlan approved by human — ready for implementationprdb:planning-doneImplementation plan has been produced

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions