-
Notifications
You must be signed in to change notification settings - Fork 2.7k
MM-18797 - Switch webapp to use '/plugins/marketplace' API to install… #3871
Conversation
… marketplace plugins
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.
👍
@@ -87,7 +87,7 @@ export default class MarketplaceItem extends React.Component { | |||
this.setState({installing: true}); | |||
trackEvent('plugins', 'ui_marketplace_download'); |
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.
shouldn't we remove this? We are tracking in the redux, right?
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.
Yes, as @ali-farooq0 suggested, we can know track it at the time of the api call given that we have the dedicated one for marketplace install.
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.
@marianunez
I'm personally OK keeping both, because once 5.16 is released, our analytics tool will contain this event. However >= 5.18 it'll be the other redux event, it might be hard to put together that data if you need to see how many people installed a marketplace plugin. My suggestion would to keep both now. If this change was going into 5.16 then it would've been fine removing that event.
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.
Guys, should we just merge this PR and I can follow up with Aaron later to fix the tracking events.
Follow up discussion: mattermost/mattermost-redux#938 (comment)
Created a jira to keep track: https://mattermost.atlassian.net/browse/MM-19318
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.
LGTM! 👍
This reverts commit 5419ce0.
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.
There is no new functionality to test as part of this ticket, only the tests are modified.
* MM-18797 - Switch webapp to use '/plugins/marketplace' API to install… (#3871) * MM-18797 - Switch webapp to use '/plugins/marketplace' API to install marketplace plugins * Updated tests * Removing ui marketplace install event * Revert "Removing ui marketplace install event" This reverts commit 5419ce0. * Updating redux dependency * MM-19844 - Disallow plugin upload when PluginSettings.RequirePl… (#4109) * MM-19844 - Disallow plugin upload when PluginSettings.RequirePluginSignature is true * Fixed text * Fixed snapshot * Fixing snapshot * Bumping redux ver * temp redux commit * update snapshots re: i18n * Bumping redux ver
* MM-18797 - Switch webapp to use '/plugins/marketplace' API to install… (#3871) * MM-18797 - Switch webapp to use '/plugins/marketplace' API to install marketplace plugins * Updated tests * Removing ui marketplace install event * Revert "Removing ui marketplace install event" This reverts commit 5419ce0. * Updating redux dependency * MM-19844 - Disallow plugin upload when PluginSettings.RequirePl… (#4109) * MM-19844 - Disallow plugin upload when PluginSettings.RequirePluginSignature is true * Fixed text * Fixed snapshot * Fixing snapshot * Bumping redux ver * temp redux commit * update snapshots re: i18n * Bumping redux ver
Summary
Switch webapp to use
/plugins/marketplace
API to install marketplace pluginsTicket Link
Fixes https://mattermost.atlassian.net/browse/MM-18797
Related Pull Requests
/plugins/marketplace
API to redux mattermost-redux#938