Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixes and simplifies autocomplete logic. #125

Closed
wants to merge 1 commit into from

Conversation

hhuntaa
Copy link

@hhuntaa hhuntaa commented Oct 24, 2024

takes #107 into consideration and fixes #123

i didnt wanna mess with SearchInput.tsx too much so i just modified the autocomplete function from actions.

takes zkemail#107 into
consideration and fixes
zkemail#123

i didnt wanna mess with SearchInput.tsx too much so i just modified the
autocomplete function from actions.
@Divide-By-0
Copy link
Member

This isn't correct, you just disabled our fix for #107.

@hhuntaa
Copy link
Author

hhuntaa commented Oct 28, 2024

weird it works for me, did you test it?
image

@hhuntaa
Copy link
Author

hhuntaa commented Oct 29, 2024

more testing:
image
image

@hhuntaa
Copy link
Author

hhuntaa commented Oct 29, 2024

heres postgres documentation on this:
image

and if you ever want more advanced maching you could use similarity threshold with https://www.postgresql.org/docs/current/pgtrgm.html but you have to install it first with prisma https://www.prisma.io/docs/orm/prisma-schema/postgresql-extensions#how-to-enable-the-postgresqlextensions-preview-feature:~:text=the%20hstore%2C-,pg_trgm,-and%20postgis%20extensions

@Divide-By-0
Copy link
Member

Oh interesting. Can you try addressing these two instead: #122 and #101

@Divide-By-0
Copy link
Member

Screenshot_20241030_061025_Chrome
This PR does not fix #123 by the way, since most gmail.com results are still under random ones.

@hhuntaa
Copy link
Author

hhuntaa commented Oct 30, 2024

oh yeah for some reason i thought it was supposed to be like that, i was mostly thinking about the searchbar.

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.

Sort results
2 participants