-
Notifications
You must be signed in to change notification settings - Fork 530
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 agent's availability in chat widget #165
Comments
good idea @rosinghal! what do you think is the best way to display this information in the chat? |
@reichert621 When agents are not available |
@rosinghal I'm thinking of starting off with a pretty simple UI for this, something like: what do you think? |
@reichert621 |
Looks good @reichert621. |
(I'll also make the text editable in case you want to customize it, e.g. "We're not available at the moment" vs "Agents are offline") |
@rosinghal @timgl this should be ready now in our latest version! (papercups-io/chat-widget#46) for this to work, just add the following to your config: config: {
// ...
showAgentAvailability: true,
// ...and if you want to customize the text:
// agentAvailableText: "Agents available",
// agentUnavailableText: "Agents not available",
} let me know if you have any issues! |
actually seeing some issues with this in production for some reason, reopening for now 😞 |
should be fixed now 🤞 |
It would be helpful for users to see if any agent is online. We can even have offline mode.
Currently there is nothing shown irrespective of agent's availability.
The text was updated successfully, but these errors were encountered: