Commit 1dfcaca
committed
fix: debounce analytics search tracking to capture final query only
The 300ms debounce meant every keystroke was tracked (g, gt, githu,
github). Use a separate 1500ms debounce for analytics so only the
final query is sent to PostHog.
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>1 parent f645d36 commit 1dfcaca
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | 89 | | |
93 | 90 | | |
94 | 91 | | |
95 | 92 | | |
96 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
97 | 103 | | |
98 | 104 | | |
99 | 105 | | |
| |||
0 commit comments