Skip to content
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

Fix UI freezing while searching for users #145

Closed
wants to merge 4 commits into from

Conversation

tsekityam
Copy link
Contributor

@tsekityam tsekityam commented Oct 4, 2018

Too many suggestions may freeze the UI. Limiting the number of suggestions show to user reduces the chances of freezing.

Q A
Bug fix? [x]
New feature? [ ]
New sample? [ ]
Related issues? mentioned in #143

What's in this Pull Request?

People picker may be freezing if there are too many matchings, such as searching for users that match a in a tenet with thousands of users.

This patch introduces a new property suggestionLimit to limit the max number of suggestions show to user.

estruyf and others added 4 commits September 12, 2018 17:31
Too many suggestions may freeze the UI. Limiting the number of suggestions show to user reduces the chances of freezing.
@codecov-io
Copy link

Codecov Report

Merging #145 into dev will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev     #145   +/-   ##
=======================================
  Coverage   80.63%   80.63%           
=======================================
  Files          10       10           
  Lines         346      346           
  Branches       78       78           
=======================================
  Hits          279      279           
  Misses         44       44           
  Partials       23       23

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e9eb35e...d1efe9f. Read the comment docs.

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.

3 participants