-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
feat: Return departmentsAllowedToForward
property in livechat/config
endpoint
#33060
base: develop
Are you sure you want to change the base?
feat: Return departmentsAllowedToForward
property in livechat/config
endpoint
#33060
Conversation
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
🦋 Changeset detectedLatest commit: 9d77d84 The changes in this PR will be included in the next version bump. This PR includes changesets to release 35 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #33060 +/- ##
===========================================
+ Coverage 59.28% 60.24% +0.95%
===========================================
Files 2820 2684 -136
Lines 67903 66225 -1678
Branches 15094 14653 -441
===========================================
- Hits 40254 39894 -360
+ Misses 24827 23531 -1296
+ Partials 2822 2800 -22
Flags with carried forward coverage won't be shown. Click here to find out more. |
…nto feat/livechat-config-departments-forward
…nto feat/livechat-config-departments-forward
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to add some UI e2e tests? I know we didn't change any client files, but there are some behavior changes on the UI, I think we can add one to this file https://github.com/RocketChat/Rocket.Chat/blob/develop/apps/meteor/tests/e2e/omnichannel/omnichannel-livechat-department.spec.ts or even a livechat API test to check if the widget api is respecting the fowarding limits implemented here
I was looking at the code/task, and I don't think that there are any changes in the UI, the PR only returns a new field so the frontend can use it to filter the departments correctly, no? |
Fair enough, dismissing this review
Proposed changes (including videos or screenshots)
departmentsAllowedToForward
property to departments returned by thelivechat/config
endpoint (this is a requirement for a client improvement described in CORE-410)Issue(s)
Steps to test or reproduce
Further comments
CORE-652