alleyinteractive / alleyinteractive/alley-scripts
Debounce search-as-you-type in post selector
Offen
#152
0 Kommentare
0 Reaktionen
1 zugewiesene Person
Beansprucht von @renatonascalves
Auf GitHub ansehen
Post Selector
- Vorherrschende Sprache
- TypeScript
- Sterne
- 10
- Forks
- 3
- Ø Merge
- 4 T. 22 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
In the post selector, searches happen immediately (after the 3rd character), which can cause many unnecessary requests. The search REST API endpoint can be quite slow if there's a lot of content on the site, so this could end up being a significant issue. It would be great to debounce this so the search doesn't happen until the user stops typing for 2-3 seconds.
See GIF below.

Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.