Skip to content

Conversation

@reinaldonetof
Copy link
Contributor

@reinaldonetof reinaldonetof commented Aug 30, 2021

Proposed changes

Implemented the feature to Rocket.Chat mobile app to support the ability to select/send Canned Responses while the agent is on a room of Omnichannel.

So, here is implemented the feature to get the canned response from input message in room view [Screenshot 1], besides that the agent can see all the canned responses, filter by text and departments in a new view [Screenshot 2], added a new view to see the canned response in detail [Screenshot 3].

How to test or reproduce

  • Be an Omnichannel's agent
  • Join an Omnichannel's chat
  • In the Room View, write ! in the message input text
  • Should appear a list with canned responses
  • Or you can click on title header, go to room actions
  • Should appear a button with name: Canned Responses
  • Click on it, and you should see all the canned responses, that can be filtered by departments and text
  • Click on any canned response, should move to detail
  • And in both views, if you click the button "USE", you move back to the room view and will appear in message input text the canned response that you selected.

Screenshots

Screen.Recording.2021-09-13.at.11.57.50.mp4

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Documentation update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

Further comments

@lgtm-com
Copy link

lgtm-com bot commented Sep 17, 2021

This pull request introduces 1 alert when merging efa5087 into 4f241b3 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@lgtm-com
Copy link

lgtm-com bot commented Sep 17, 2021

This pull request introduces 1 alert when merging ffa9e6c into 4f241b3 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

Copy link
Member

@diegolmello diegolmello left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🎉

@diegolmello diegolmello merged commit a52199a into develop Sep 22, 2021
@diegolmello diegolmello deleted the new.canned-responses branch September 22, 2021 17:29
ivnxyz pushed a commit to NextiaDev/Rocket.Chat.ReactNative that referenced this pull request May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants