Skip to content

Conversation

Copy link

Copilot AI commented Nov 18, 2025

Implements PLAY-80: Add real-time search filtering to the prompts list.

Changes

  • Search input with icon and placeholder in PromptsList.tsx
  • Case-insensitive filtering on prompt names using toLowerCase().includes()
  • Dynamic count display showing "X of Y" when actively filtering
  • Contextual empty state differentiating "no prompts" from "no search results"

Implementation

const [searchQuery, setSearchQuery] = useState('');
const filteredPrompts = promptList.filter((prompt) =>
  prompt.name.toLowerCase().includes(searchQuery.toLowerCase())
);

Search input positioned above the prompts grid with left-aligned search icon using existing UI components (Input, Search from lucide-react).

Screenshots

All prompts visible:
Initial state

Filtered by "jira" (1 of 3):
Filtered state

No results state:
No results

Original prompt

This section details on the original issue you should resolve

<issue_title>PLAY-80 st001` Search Tasks by Title</issue_title>
<issue_description> Implement the work described in Jira ticket PLAY-80, including looking at any Figma files mentioned. When finished, transition the ticket to "In Reivew".

To do the work use the following prompt chain which describes steps for best implementing the feature:

  1. Open the repository on GitHub: https://github.com/bitovi/ai-enablement-prompts.
  2. Execute the prompt writing-code/generate-feature/generate-feature.md</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: BitoviAI <226138784+BitoviAI@users.noreply.github.com>
Copilot AI changed the title [WIP] Implement search functionality for tasks by title Add search filter for prompts by title Nov 18, 2025
Copilot finished work on behalf of BitoviAI November 18, 2025 16:10
Copilot AI requested a review from BitoviAI November 18, 2025 16:10
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.

PLAY-80 st001` **Search Tasks by Title**

2 participants