aws-samples / aws-lex-web-ui

Sample Amazon Lex chat bot web interface
Other
746 stars 473 forks source link

Getting right symbol on message. #721

Open vinayburam opened 3 months ago

vinayburam commented 3 months 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 3 months 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 3 months 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.