aws-lex-web-ui
aws-lex-web-ui copied to clipboard
Getting right symbol on message.
Hello team,
i am facing one strange issue. Getting right symbol one some messages not all mesages.
please find below snap
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?
@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)
- https://github.com/aws-samples/aws-lex-web-ui/blob/22f8273b83910b88809345639bfc963be5e87793/lex-web-ui/src/components/Message.vue#L296-L309
- https://github.com/aws-samples/aws-lex-web-ui/blob/22f8273b83910b88809345639bfc963be5e87793/lex-web-ui/src/config/index.js#L230-L231
- https://github.com/aws-samples/aws-lex-web-ui/blob/22f8273b83910b88809345639bfc963be5e87793/src/config/default-lex-web-ui-loader-config.json#L48
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.