Skip to content

Conversation

@adgator101
Copy link

Checklist:

Closes #550

@adgator101 adgator101 requested a review from a team as a code owner October 28, 2025 11:44
@CarlyAThomas
Copy link
Contributor

Thanks for taking on issue #550 and adding search functionality to the admin page! I appreciate the work you've put into this.

After reviewing the implementation, I think we need to adjust the approach to better match the intent of the original issue.

The PR adds a single search bar that filters users across name, email, and role simultaneously using OR logic (matches if any field contains the search term).

The goal is to allow admins to filter by any combination of name, email, and/or role independently, using AND logic. For example:

Filter by name only
Filter by email only
Filter by role only
Filter by name AND role together
Any other combination of the three fields
This provides more precise control, which will be important when the database grows large in production.

Below is an image of what I have in mind but has not been implemented yet.

image

Let me know if you have questions about this approach or if you'd like help implementing these changes. Happy to discuss further or provide code examples!

@adgator101
Copy link
Author

Hi, @CarlyAThomas I'm really sorry I didn't fully understand the intent at first. I will now make changes according to the requirements you have asked in this PR.

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.

feat(UI): Enhancement to the admin dashboard page issue - search bar

2 participants