amazon-connect / amazon-connect-chat-interface

Amazon Connect Chat Interface - a browser-based customer chat widget for your website integrating with Amazon Connect ChatJS
https://docs.aws.amazon.com/connect/latest/adminguide/what-is-amazon-connect.html
MIT No Attribution
40 stars 43 forks source link

Failed to init chat with 'customDisplayNames' attribute #265

Closed dmakhmutov closed 1 month ago

dmakhmutov commented 1 month ago

Thank you for your work. We configured the Amazon Connect chat widget following the instructions here: https://docs.aws.amazon.com/connect/latest/adminguide/add-chat-to-website.html#chat-widget-script

We used additional configurations like:

amazon_connect('customDisplayNames', {
  header: {
    headerMessage: 'Hi there! We are online!',
  },
  transcript: {
    systemMessageDisplayName: 'Agent',
    botMessageDisplayName: 'Kate'
  }
});

and everything works fine till this morning. This morning we faced issues (screenshots below)

image image image

after commenting amazon_connect('customDisplayNames', {..} the chat restored to work

UPD: In the documentation, https://docs.aws.amazon.com/connect/latest/adminguide/pass-custom-styles.html#pass-override-system says that all fields are optional. I've added endChatButtonText and Chat restored

amazon_connect('customDisplayNames', {
 ....
  footer: {
     endChatButtonText: 'End Chat',
   }
}
mliao95 commented 1 month ago

Hi @dmakhmutov,

Thanks for catching this and filing an issue. We deployed a fix for this recently. Could you let us know if you can still reproduce this issue? You may need to clear your cache to pull the most recent update. Thanks!

agarwhi commented 1 month ago

We hope fix resolved your concern. If the problem recurs, please reopen this ticket, and we'll be glad to assist you further.

dmakhmutov commented 1 month ago

@mliao95 Yes, It helped. Thank you!