Add an api endpoint purpose built to serve autocomplete information for usernames. We can then build a vue component for autocomplete username to use in various screens.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | bd808 | T275229 Content moderation support | |||
Declined | None | T282184 API endpoint for username autocomplete |
Event Timeline
Comment Actions
I don't think a new endpoint is actually needed. Our GET /api/users/ endpoint supports ?username__startswith=... filtering. That can be combined with the page_size query string parameter to power an autocomplete widget. This will just need a vuex action to hook that up with a component.