-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
implement real time suggestion #292
base: main
Are you sure you want to change the base?
Conversation
@Rajgupta36 Thank you for working on this! Could you please resolve existing conflicts before we review this one? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems we can create suggestions index programmatically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also noticed multiple loading indicators upon data loading 🤷♂️
yeah it's only when our component load first time . i have fixed it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems we can create suggestions index programmatically.
So what about the index settings, do we need to update them manually?
@@ -18,6 +18,7 @@ beforeEach(() => { | |||
}) | |||
}) | |||
jest.mock('@algolia/autocomplete-theme-classic', () => ({})) | |||
import React from 'react' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need to be here? Can we group the imports?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i am trying
We need new indexes for query suggestions. we can add facet values programmatically. I think we can create query suggestion indexes for a single user and then update it, just like we used to update the local_issues and other indexes via make load-data or make index-data command. |
Resolves #148
Implemented real-time suggestions using the autocomplete.js library provided by Algolia.
SearchBar
componentPreview
Screen.Recording.2024-12-29.165757.mp4