-
Notifications
You must be signed in to change notification settings - Fork 555
feat(react-instantsearch-ui): implement chat components design #6704
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
Conversation
Haroenv
left a comment
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.
looks good!
packages/instantsearch-ui-components/src/components/chat/ChatMessage.tsx
Outdated
Show resolved
Hide resolved
packages/instantsearch-ui-components/src/components/chat/ChatMessage.tsx
Show resolved
Hide resolved
packages/react-instantsearch/src/widgets/__tests__/all-components.test.tsx
Outdated
Show resolved
Hide resolved
shaejaz
left a comment
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.
lgtm once CI passes! Tested it with react and js versions locally, both working well (js has an issue with the loader not showing up but that might be js specific).
Thanks for the review! Could you please approve the PR? 🙏 |
Summary
This PR implements the design for the chat components in InstantSearch.
The changes include:
Chat,ChatHeader,ChatMessage,ChatMessages,ChatPrompt,ChatToggleButton)ChatMessageError,ChatMessageLoader)useStickToBottom(from https://github.com/stackblitz-labs/use-stick-to-bottom) for better chat UXResult