Improve user filter autocomplete experience

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Summary

In the issuable search bar when typing in a username (author or assignee), the user needs to wait for a server response for each keystroke in the worst case. Instead we could instantly display users that were included in earlier server responses. Since requests are usually narrowing down the users being requested, there is a high chance we have requested the desired user already.

Steps to reproduce

Note: This is best reproducible if you throttle network connection in dev tools of browser.

  • add author / assignee filter on issue page
  • type something that matches people already displayed in the dropdown

What is the current behavior?

Need to wait until dropdown is filtered. The delay is almost one second for GPRS but still noticeable (around 200ms) on good network connection (DSL + Wifi).

What is the expected behavior?

Already known users matching the search criteria should be immediately shown.

Screenshots

Searching for adam with network connection throttled to GPRS:

autcomplete-delay

The Adams that were already present initially should be shown immediately.

Possible fixes

  • cache users on frontend
  • display cached users that match search criteria immediately (display spinner to signalize that data may be incomplete)
  • make server request
  • update cache and dropdown
Edited Aug 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading