Closed lizhutter closed 3 years ago
As I understand it, @steffh suggested (and we agreed) that the suggested replies are message specific. The UI seems designed in a way that you can suggest replies to a conversation. It's technically not that different for the backend (but still needs to be clarified). It's surely very different in the UI?
In order for suggested replies to work:
Summary
The following criteria must be met for each suggested reply to be eligible to be rendered:
Requirements
If a question is received by a system user on Airy Core, it should be possible to view suggested replies. If a system user clicks the suggested reply modal, we should offer the option of one or several reply options. Once the system user selects a suggested reply to send, it should auto-fill the input bar and the system user should be able to send this message.
We need to be able to render different types of templates regardless of whether they are composed of text, media, or buttons.
We should be able to render templates composed of long messages. We should be able to display a cropped view of these replies and furthermore, system users should be able to send these messages in full.
It should be possible for system users to be prompted with more than 1 intent. The system user should be able to choose from these replies and send the message.
Design Note
When creating this feature, we should only include the template button within the input bar. Do not include the template button next to the suggested replies.