Skip to content

Conversation

aaronashby
Copy link
Contributor

ℹ️ Issue

Closes #157

📝 Description

Reconfigured the search functionality such that as the user is typing an organization's name into the search bar, the grant list is filtered in real time to show the grants that contain the character sequence currently passed in.

Briefly list the changes made to the code:

  1. Added searchQuery field in store along with functionality to update this when the updateSearchQuery action is called
  2. Added functionality for filtering grants based on the current state of searchQuery
  3. When the user presses "Enter" mid-search, the search query remains in the search bar, the dropdown menu disappears, and the filtered list of grants remains visible
  4. If no grants have an organization name with the search query, the dropdown menu displays "No results found"

✔️ Verification

Screen.Recording.2025-10-07.at.9.36.11.PM.mov

Test Changes

None

🏕️ (Optional) Future Work / Notes

None

@prooflesben prooflesben merged commit 3d1aff4 into main Oct 19, 2025
1 check passed
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.

DEV - Reconfigure search functionality

2 participants