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

Add typing effect for responses #1

Open
codesmith-emmy opened this issue Jun 13, 2024 · 0 comments
Open

Add typing effect for responses #1

codesmith-emmy opened this issue Jun 13, 2024 · 0 comments
Labels
enhancement New feature or request frontend good first issue Good for newcomers help wanted Extra attention is needed

Comments

@codesmith-emmy
Copy link
Owner

We should implement a typing effect for generated responses to enhance user experience and make conversations feel more natural or human-like.

Generated responses are currently displayed instantly, which feels unnatural. With typing effect, we can simulate the experience of a human typing out responses in real-time.

The typing effect should work as follows:

  • When the user sends a message, the response area should display a typing indicator (e.g., three dots or a blinking cursor) to signal that chatbot is "typing" a response.

  • The generated response should be revealed character by character or word by word, with slight delay between each character or word, mimicking the typing behaviour of a human.

  • Once the entire response is displayed, the typing indicator should disappear.

@codesmith-emmy codesmith-emmy added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers frontend labels Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant