aws-samples / aws-samples/aws-lex-web-ui

Feature request: option to hide positiveFeedbackIntent and negativeFeedbackIntent messages from user

Open
#818 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
817
Forks
506
PR merge metrics
No merged PRs in 30d

Description

Hi,

Could we please consider adding an option to prevent displaying the positiveFeedbackIntent and negativeFeedbackIntent messages to the user when they click the thumbs up/down feedback buttons? Having these buttons is useful for collecting user feedback, and we want the prompt to be sent to Lex so we can respond with a "Thank you for your feedback" message, but there is no value (in my opinion) in the UI displaying the positiveFeedbackIntent/negativeFeedbackIntent message to the user. It just clutters the chat. The thumbs up/down buttons already change colour and the Lex bot responds, so it's evident to the user that the feedback was successfully submitted.

We're considering disabling the feedback buttons all together due to this, which is a shame, because it's otherwise a fantastic feature. If there could be a parameter in the lex-web-ui-loader-config.json file to adjust this behaviour, that would be great.

Your guys' work is super appreciated :)

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the thumbs up/down feedback buttons trigger the positiveFeedbackIntent and negativeFeedbackIntent messages, then inspect lex-web-ui-loader-config.json for the existing configuration options. Done means a configuration option can suppress those UI messages while still sending the feedback intent to Lex and preserving the button state change.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.