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
remove all pipedrive related files and functions #12081
Conversation
8382d9d
to
73a93cc
Compare
Codecov Report
@@ Coverage Diff @@
## 5.x #12081 +/- ##
============================================
- Coverage 55.89% 55.48% -0.41%
+ Complexity 35958 35683 -275
============================================
Files 2258 2243 -15
Lines 107806 107014 -792
============================================
- Hits 60255 59381 -874
- Misses 47551 47633 +82
|
I cleanup phpbaseline.neon |
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.
The code changes look good to me. Thanks for removing a plugin that is no longer working. Let's use the new one instead.
@npracht @kuzmany I can see we did not get the second approval for this and now we have some conflicts. Could you please resolve those? @RCheesley as there is basically nothing to test as it's removing a plugin, can you give your approval on this? |
Happy to approve once the conflicts are resolved and I am able to do some basic testing. Knowing how there have been in the past some issues with removing plugins breaking things I do think we need to do some basic user testing. I still think that we need to post a front-end notice for people who are using this version of the Pipedrive plugin in a 4.4.x release to notify them that it is going to be removed in Mautic 5.0 and telling them to update to the new plugin, pointing them at the blog post on mautic.org. This is in line with our policy on deprecating features - is that feasible to do in a separate PR please? I know that folks should have already noticed that the plugin stopped working but we should follow our own guidance as best we can. |
@RCheesley I can create the PR for the UI notices that this plugin will be removed in Mautic 5.0.0 for the Mautic 4.4.9 release. Where should I add the UI notices? In the plugin config form? |
I was thinking that a cancel-able message on the dashboard would be helpful, perhaps? Otherwise we are expecting the user to go to the plugin screen which, let's face it, they usually only do when configuring the plugin. I'd suggest displaying it with the yellow background, with the option to close it via a cross button If it's possible to only show it when the plugin in question is enabled that would be ideal - this is code that I think we will re-use so maybe having some documented best practice which we can add to the deprecation policy would be helpful in the future? |
@RCheesley we have this notification area in Mautic: |
Yes I think that is fine for what we need! |
Here is the PR for M4.4 with deprecation messages regarding removal of the PipeDrive plugin. Please review and test so we can get this merged. |
836bf75
to
f227ea4
Compare
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.
I rebased this, fixed a couple of issues. Good to go now 👍
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.
Changes looks good, Migration changes are great
Description:
Current Pipedrive plugin stopped working due to Pipedrive API deprecations.
Knowing that Mautic Community policy is to not carry in core third party plugins and move them to marketplace, I supply suggest we remove it from core:
To do left
@kuzmany we need to remove dead code of Pipedrive on this 2 last files, but I was scared to touch these functions 👀