Skip to content

Searchbar: Mitigations for searching through many students#2484

Merged
kevinrobinson merged 3 commits intomasterfrom
patch/searchbar-too-many
May 28, 2019
Merged

Searchbar: Mitigations for searching through many students#2484
kevinrobinson merged 3 commits intomasterfrom
patch/searchbar-too-many

Conversation

@kevinrobinson
Copy link
Contributor

Who is this PR for?

districtwide admin

What problem does this PR fix?

Autocomplete freezes for a bit with ~10k students.

What does this PR do?

Mitigates it by adding a min-length, delaying the responsiveness, and adding a CSS scroll overflow. The real problem is rendering so many items in the list, but jQuery UI hooks don't let us simply change that. #2194 is the better path beyond short-term mitigations.

Checklists

Which features or pages does this PR touch?

  • Core

Does this PR use tests to help verify we can deploy these changes quickly and confidently?

  • Manual testing made more sense here

@kevinrobinson
Copy link
Contributor Author

selfie

@kevinrobinson kevinrobinson merged commit 3fca04d into master May 28, 2019
@kevinrobinson kevinrobinson deleted the patch/searchbar-too-many branch May 28, 2019 22:15
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.

1 participant