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

Fixes the package/options search user experience #247

Closed
wants to merge 2 commits into from
Closed

Fixes the package/options search user experience #247

wants to merge 2 commits into from

Conversation

caugner
Copy link
Contributor

@caugner caugner commented Oct 25, 2018

  • Doesn't discard input during load anymore.
  • Makes the input more responsive by debouncing the filtering.

Previously, the search field was always overwritten
with the current value from the location's hash,
as soon as the packages/options list was loaded, and
a modified search query during load was discarded.
Copy link
Member

@samueldr samueldr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If one wants to test the chances locally, there's a way in the chromium dev tools (and probably other browsers) to throttle the speed artificially:

image

In that box, switch to a slower mode, refresh, type things in the box, then change back to "online" (the alternative is to wait the full artificially throttled load, which is painful).

It is how I verified the behaviour (in addition to reading the code).

As for the debouncing, it's hard to "verify", formally, but it does feel better with the bigger package set.

@caugner
Copy link
Contributor Author

caugner commented Oct 31, 2019

This PR has been superseded by #209.

@caugner caugner closed this Oct 31, 2019
@caugner caugner deleted the fix-search-ux branch October 31, 2019 09:07
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.

None yet

2 participants