Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] Option on livechat departments to ensure a chat has tags before closing #15752

Merged
merged 2 commits into from
Nov 21, 2019

Conversation

renatobecker-zz
Copy link

CLOSES RocketChat/feature-requests#231.

This PR adds a new feature to validate room tags before closing conversations.
A new field will be stored within the livechat departments as shown below:

Screen Shot 2019-11-06 at 16 30 00

So, before closing a livechat room, the system will check if it's related to a department that requires the room to have at least one tag assigned.
If the test doesn't pass, an alert will be displayed to the agent, as displayed below:

Screen Shot 2019-11-06 at 16 24 07

@renatobecker-zz
Copy link
Author

Hi @sampaiodiego!
I just fixed the code according the review.
Thanks.

@sampaiodiego sampaiodiego changed the title [NEW] Add a new field in livechat departments to check room tags [NEW] Option on livechat departments to ensure a chat has tags before closing Nov 21, 2019
@sampaiodiego sampaiodiego merged commit 1ccbd58 into develop Nov 21, 2019
@sampaiodiego sampaiodiego deleted the check-livechat-tags-when-closing-room branch November 21, 2019 01:02
@sampaiodiego sampaiodiego mentioned this pull request Nov 28, 2019
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.

Validate room tags before closing the conversation
4 participants