aws-samples / aws-lex-web-ui

Sample Amazon Lex chat bot web interface
Other
726 stars 461 forks source link

Getting right symbol on message. #721

Open vinayburam opened 1 month ago

vinayburam commented 1 month ago

Hello team, i am facing one strange issue. Getting right symbol one some messages not all mesages. please find below snap

image
atjohns commented 1 month ago

Oh so you did not code the checkmark its just appearing? I just double-checked our code and I don't see anywhere that we have a checkmark icon coded, but maybe I'm missing something. Is it your own custom CSS?

israelias commented 4 weeks ago

@vinayburam That’s default at Vue showDialogStateIcon: true if you aren’t overriding @ loader config

DialogState of the message on bot side per lexv2 runtime schema/api: Failed or ReadyForFulfillment (Fulfilled is no symbol aka icon — just how the frontend ships today)

You can modify the icons with ultimate error handling following the DialogState type. Or just set ”showDialogStateIcon”: false in **config.json if bot text and responseCardButtons are only highlighting an inconsistency to your prompt feedback.