Skip to content

Commit 3fe4af2

Browse files
authored
v1.8.3: Add debouncing to filter search and autocomplete (#511)
This adds debouncing to the autocomplete and filter search calls. Currently, this is set to 200ms. This means that we will not fire autocomplete or filter search requests until 200ms has elapsed since the last keystroke, in order to save on unnecessary queries while the user is still actively typing. This number was chosen based on the average typing speed being roughly 4-5 characters per second.
1 parent 055c51d commit 3fe4af2

13 files changed

+3856
-24085
lines changed
-9.67 KB
Loading
-6.84 KB
Loading
-11.3 KB
Loading
-8.64 KB
Loading
-13.4 KB
Loading

THIRD-PARTY-NOTICES

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13291329

13301330
The following NPM package may be included in this product:
13311331

1332-
- @yext/search-core@2.6.0
1332+
- @yext/search-core@2.6.1
13331333

13341334
This package contains the following license and notice below:
13351335

@@ -1373,7 +1373,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13731373

13741374
The following NPM package may be included in this product:
13751375

1376-
- @yext/search-headless-react@2.5.0
1376+
- @yext/search-headless-react@2.5.1
13771377

13781378
This package contains the following license and notice below:
13791379

@@ -1417,7 +1417,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14171417

14181418
The following NPM package may be included in this product:
14191419

1420-
- @yext/search-headless@2.6.0
1420+
- @yext/search-headless@2.6.1
14211421

14221422
This package contains the following license and notice below:
14231423

@@ -4536,7 +4536,7 @@ THE SOFTWARE.
45364536

45374537
The following NPM package may be included in this product:
45384538

4539-
- pirates@4.0.6
4539+
- pirates@4.0.7
45404540

45414541
This package contains the following license and notice below:
45424542

@@ -6480,7 +6480,7 @@ SOFTWARE.
64806480

64816481
The following NPM package may be included in this product:
64826482

6483-
- use-sync-external-store@1.4.0
6483+
- use-sync-external-store@1.5.0
64846484

64856485
This package contains the following license and notice below:
64866486

@@ -6716,7 +6716,7 @@ THE SOFTWARE.
67166716

67176717
The following NPM package may be included in this product:
67186718

6719-
- yaml@2.7.0
6719+
- yaml@2.7.1
67206720

67216721
This package contains the following license and notice below:
67226722

0 commit comments

Comments
 (0)