When a plugin activation will cause DB schema changes, issue a warning to user #9668
Labels
c: Performance
For when we could improve the performance / speed of Matomo.
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
c: Usability
For issues that let users achieve a defined goal more effectively or efficiently.
Major
Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Stability
For issues that make Matomo more stable and reliable to run for sys admins.
Milestone
As a user or administrator of Piwik, I can easily "Install" new plugins from the Marketplace. When I click "Install" it redirects to a page which contains the link "Activate plugin". Sometimes, Activating a plugin will cause DB schema change (such as adding new columns). When a plugin will trigger DB schema changes, I would expect to be notified by a warning message, that the process of activating the plugin will take some time.
Example of useful plugins who trigger large DB schema updates:
The Help message would
./console plugin:activate Plugin_Name
command as an alternative to triggering activation via UI.Example failure use case
I have activated the plugin "CustomDimensions" on demo.piwik.org, kinda forgetting it would lead to hours of downtime. It would be nice to help our users prevent such technical challenge 👍
Not in scope
ideally we would follow up with an issue to investigate how to display such warning when updating a plugin to a new version that contains DB schema updates.
The text was updated successfully, but these errors were encountered: