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" message for automatic replies #3029

Open
svenseeberg opened this issue Jan 7, 2025 · 0 comments
Open

Add "Typing" message for automatic replies #3029

svenseeberg opened this issue Jan 7, 2025 · 0 comments
Labels
Chat Task Web Affects the web project

Comments

@svenseeberg
Copy link
Member

svenseeberg commented Jan 7, 2025

As long as we expect automatic replies, we should show a placeholder message with 3 dots (...). This is the default indicator that the other side is typing. This message should be shown for about 60s when the last message is a user message. After 60s the message should disappear.

This is not a perfect mechanism but should do the trick in most cases. It will provide a hint to the user that an answer can most likely be expected. We have no good indication (yet?) for the front end that the back end is still working on an answer.

In the long run we probably want to indicate that the back end is actually working on an answer. However, this is only in reach when we merge the chat back end into the Integreat CMS and start implementing websockets.

Additional information

Tracking issue in integreat-chat: digitalfabrik/integreat-chat#120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chat Task Web Affects the web project
Projects
Status: No status
Development

No branches or pull requests

2 participants