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

chore!: remove deprecated livechat:saveTrigger and livechat:removeTrigger method #33429

Conversation

abhinavkrin
Copy link
Member

@abhinavkrin abhinavkrin commented Oct 3, 2024

Proposed changes (including videos or screenshots)

Removed deprecated methods livechat:saveTrigger and livechat:removeTrigger. Moving forward use the endpoints livechat/triggers (POST) and livechat/triggers/:_id (DELETE) respectively.

Issue(s)

Steps to test or reproduce

Further comments

CORE-382
CORE-387

@abhinavkrin abhinavkrin added this to the 7.0 milestone Oct 3, 2024
@abhinavkrin abhinavkrin requested a review from a team as a code owner October 3, 2024 15:51
Copy link
Contributor

dionisio-bot bot commented Oct 3, 2024

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented Oct 3, 2024

🦋 Changeset detected

Latest commit: 3abfe1a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 35 packages
Name Type
@rocket.chat/meteor Major
@rocket.chat/core-typings Major
@rocket.chat/rest-typings Major
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/freeswitch Patch
@rocket.chat/fuselage-ui-kit Major
@rocket.chat/gazzodown Major
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Major
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/network-broker Patch
@rocket.chat/models Patch
@rocket.chat/ui-avatar Major
@rocket.chat/ui-client Major
@rocket.chat/ui-video-conf Major
@rocket.chat/ui-voip Major
@rocket.chat/web-ui-registration Major
@rocket.chat/instance-status Patch

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

Copy link
Contributor

github-actions bot commented Oct 3, 2024

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-10-11 16:21 UTC

Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (release-7.0.0@e6f5a02). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##             release-7.0.0   #33429   +/-   ##
================================================
  Coverage                 ?   75.69%           
================================================
  Files                    ?      430           
  Lines                    ?    19893           
  Branches                 ?     5078           
================================================
  Hits                     ?    15059           
  Misses                   ?     4264           
  Partials                 ?      570           
Flag Coverage Δ
unit 75.69% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

@abhinavkrin abhinavkrin marked this pull request as draft October 3, 2024 17:58
@abhinavkrin abhinavkrin force-pushed the chore/remove-deprecated-livechat-saveTrigger-removeTrigger-method branch from 8221064 to bc168bf Compare October 3, 2024 18:41
@abhinavkrin abhinavkrin marked this pull request as ready for review October 3, 2024 18:42
@abhinavkrin abhinavkrin force-pushed the chore/remove-deprecated-livechat-saveTrigger-removeTrigger-method branch from bc168bf to 1d4ef14 Compare October 3, 2024 18:54
Copy link
Contributor

@KevLehman KevLehman left a comment

Choose a reason for hiding this comment

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

Its maybe more work but we removed the other methods 1 by 1 and this PR removes 2 at once... should we split?

@abhinavkrin
Copy link
Member Author

Its maybe more work but we removed the other methods 1 by 1 and this PR removes 2 at once... should we split?

Hey @KevLehman , Since there are lots of deprecations to be removed, I grouped the somewhat related methods into one pr. This will also reduce the time for review and merge. wdys ?

@ggazzo ggazzo requested review from a team as code owners October 8, 2024 17:42
@sampaiodiego sampaiodiego force-pushed the release-7.0.0 branch 2 times, most recently from d1aa5f9 to 374979f Compare October 9, 2024 17:43
@ggazzo ggazzo force-pushed the chore/remove-deprecated-livechat-saveTrigger-removeTrigger-method branch from 1d4ef14 to 356c6a5 Compare October 9, 2024 20:14
@abhinavkrin abhinavkrin force-pushed the chore/remove-deprecated-livechat-saveTrigger-removeTrigger-method branch from 356c6a5 to 3d5364e Compare October 10, 2024 19:36
@MarcosSpessatto MarcosSpessatto removed request for a team October 11, 2024 12:40
@ggazzo ggazzo dismissed MarcosSpessatto’s stale review October 11, 2024 15:56

The merge-base changed after approval.

@ggazzo ggazzo requested a review from a team as a code owner October 11, 2024 15:56
…veTrigger

Signed-off-by: Abhinav Kumar <abhinav@avitechlab.com>
@ggazzo ggazzo force-pushed the chore/remove-deprecated-livechat-saveTrigger-removeTrigger-method branch from 3d5364e to 3abfe1a Compare October 11, 2024 16:19
@ggazzo ggazzo added the stat: QA assured Means it has been tested and approved by a company insider label Oct 11, 2024
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Oct 11, 2024
@ggazzo ggazzo merged commit 15fc20a into release-7.0.0 Oct 11, 2024
10 of 12 checks passed
@ggazzo ggazzo deleted the chore/remove-deprecated-livechat-saveTrigger-removeTrigger-method branch October 11, 2024 16:21
ggazzo pushed a commit that referenced this pull request Oct 11, 2024
ggazzo pushed a commit that referenced this pull request Oct 11, 2024
ggazzo pushed a commit that referenced this pull request Oct 11, 2024
ggazzo pushed a commit that referenced this pull request Oct 11, 2024
ggazzo pushed a commit that referenced this pull request Oct 11, 2024
ggazzo pushed a commit that referenced this pull request Oct 14, 2024
ggazzo pushed a commit that referenced this pull request Oct 15, 2024
ggazzo pushed a commit that referenced this pull request Oct 17, 2024
ggazzo pushed a commit that referenced this pull request Oct 17, 2024
ggazzo pushed a commit that referenced this pull request Oct 17, 2024
This was referenced Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants