fix(ux): Filter existing members from channel user autocomplete#38956
fix(ux): Filter existing members from channel user autocomplete#38956
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
…ut member limit Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #38956 +/- ##
===========================================
- Coverage 70.64% 70.63% -0.01%
===========================================
Files 3189 3189
Lines 112715 112718 +3
Branches 20363 20392 +29
===========================================
- Hits 79627 79619 -8
- Misses 31044 31055 +11
Partials 2044 2044
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
The "Add Users" dialog showed existing channel members in autocomplete results, allowing duplicate selections. Backend handled duplicates gracefully but provided poor UX.
Changes
UserAutoCompleteMultiple component
exceptions: string[]prop to exclude usernames from API queryAddUsers component
Query optimization
API test
Behavior
Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.