Skip to content

♻️ Admin | Improve user search handling in dropdowns#1550

Open
zacharykeeping wants to merge 7 commits intomainfrom
achievement-search-fix
Open

♻️ Admin | Improve user search handling in dropdowns#1550
zacharykeeping wants to merge 7 commits intomainfrom
achievement-search-fix

Conversation

@zacharykeeping
Copy link
Member

@zacharykeeping zacharykeeping commented Feb 19, 2026

  1. What triggered this change? (PBI link, Email Subject, conversation + reason, etc)

Closes #1193

  1. What was changed?

Moves user selection to MudAutocomplete to allow typing to search. Also creates a new component for this to prevent repetition.

Screenshot 2026-02-19 at 11 30 50 am

Figure: The user can now type to search for users in the dropdown

  1. Did you do pair or mob programming?

No

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a reusable UserAutocomplete component to improve the mobile AdminUI experience when selecting users (type-to-search instead of scrolling), and replaces the existing user dropdowns in the Achievement/Reward edit dialogs.

Changes:

  • Introduced UserAutocomplete component based on MudAutocomplete, backed by leaderboard user data.
  • Updated AchievementEditDialog to use UserAutocomplete for claiming achievements for a user.
  • Updated RewardsEditDialog to use UserAutocomplete for redeeming rewards for a user.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/AdminUI/Components/UserAutocomplete.razor New shared autocomplete + action button component for selecting a user with search.
src/AdminUI/Components/Dialogs/Rewards/RewardsEditDialog.razor Replaces the user MudSelect with the new UserAutocomplete component for redeeming rewards.
src/AdminUI/Components/Dialogs/Achievements/AchievementEditDialog.razor Replaces the user MudSelect with the new UserAutocomplete component for claiming achievements.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

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.

🐛AdminUI - Improve Achievement search experience when adding users

2 participants