Skip to content

Add search functionality for users table #1718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 6, 2025
Merged

Conversation

JamesTessmer
Copy link
Collaborator

This PR resolves #1673

New code here adds a search box to the Users page to allow filtering based on name or ORCID.
If something matching the ORCID RE pattern is entered into the box then it will search for that, otherwise it defaults to user name.

@naglepuff I haven't done any real formatting on the search box to make it look nice, I was hoping for an initial bit of feedback on functionality before that. Mostly I was wondering if we wanted something like a toggle button to filter based on admin status.

Examples:
Screenshot 2025-08-04 at 12 28 53 PM
Screenshot 2025-08-04 at 12 28 37 PM
Screenshot 2025-08-04 at 12 28 28 PM

@JamesTessmer JamesTessmer requested a review from naglepuff August 4, 2025 19:29
@JamesTessmer JamesTessmer self-assigned this Aug 4, 2025
@JamesTessmer JamesTessmer requested a review from mslarae13 August 4, 2025 19:31
@JamesTessmer
Copy link
Collaborator Author

@naglepuff Pushed up your requested changes

Copy link
Contributor

@mslarae13 mslarae13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for functionality!
I defer to Mike for technical

Copy link
Collaborator

@naglepuff naglepuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I had a couple additional suggestions, feel free to apply them if you'd like.

@JamesTessmer
Copy link
Collaborator Author

@naglepuff I think both of your last comments were good and added those. Pushed the changes and will merge once tests pass.

@JamesTessmer JamesTessmer merged commit 67cdd93 into main Aug 6, 2025
2 checks passed
@JamesTessmer JamesTessmer deleted the add-user-table-sorting branch August 6, 2025 17:28
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/sort to the users table
3 participants