Page MenuHomePhabricator

Add debounce to PropertyLookup
Closed, ResolvedPublic

Description

Without a debounce, we make a call to Wikidata for every key that the user types. As network latency is somewhat random, it is possible that the results for the request made after the third key-stroke arrive later than the results for the request made after the fifth.

Acceptance criteria:

  • Add a debounce to the PropertyLookup to wait with actually requesting new search results

Notes:

  • The debounce delay will probably need some tuning. Let's start with 300ms for the initial PR and adjust from there as we gain experience with it.

Event Timeline