Skip to content

Conversation

@esezen
Copy link
Contributor

@esezen esezen commented Jul 1, 2024

No description provided.

@esezen esezen requested a review from a team July 1, 2024 14:16
Copy link
Contributor

@jjl014 jjl014 left a comment

Choose a reason for hiding this comment

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

Looks good from what I can tell! 😄

Just left one minor comment.

Comment on lines 97 to 100
if (
debouncedSearchTerm.trim() &&
encodeURIComponent(debouncedSearchTerm.trim()).length < 200
) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we save debouncedSearchTerm.trim() to a variable here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Optimization, I like it 🧠

@esezen esezen requested a review from jjl014 July 2, 2024 10:13
Copy link
Contributor

@jjl014 jjl014 left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@mocca102 mocca102 merged commit b0031e8 into main Jul 3, 2024
@mocca102 mocca102 deleted the ci-3614-os-autocomplete-dont-send-autocomplete-requests-with-queries branch July 3, 2024 12:05
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.

4 participants