Add flag to mark if a Duo Chat message has received user feedback
What does this MR do and why?
Currently, whether a user has provided feedback for a given Duo Chat message is not persisted across sessions or page reloads. This MR adds a GraphQL mutation that marks a message as read in the ChatStorage
. This data is added to the list of messages returned to the client, so the front-end can use it to determine if it needs to show the feedback buttons. Another MR by @leipert is to follow with front-end changes that call the new GraphQL mutation when the user submits feedback, and reads the new extras.has_feedback
flag when rendering existing messages.
Part of #413598 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.