feat: add thinking animation#423
Merged
Merged
Conversation
Collaborator
|
@sehyod do you think we can also use this animation for the text editor? |
Collaborator
Author
Do you mean for the sentence completion? If so, it is possible but trickier because the sentence completion is a prosemirror plugin so the node is pure HTML, not React. But we could create a node and then use |
Collaborator
|
Yes, there. Ok. |
cguedes
approved these changes
Aug 25, 2023
cguedes
left a comment
Collaborator
There was a problem hiding this comment.
I'm glad on how easy was to add Lottie 👏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a thinking animation for the chatbot
I added
vitest-canvas-mockbecause tests trying to render lottie files were crashing otherwise (cf. felippenardi/lottie-react-web#21)Screen.Recording.2023-08-25.at.15.13.48.mov
Closes #420