From 27d4adce526750f96f09b3ffaececad84fbe6744 Mon Sep 17 00:00:00 2001 From: wpalani Date: Sun, 7 Apr 2024 20:17:06 -0700 Subject: [PATCH 1/2] Responsibilities and critical path --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 593d30b..a396fae 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,18 @@ # WordPress Plugin Deactivation Module A module for handling WordPress brand plugins and modules deactivations. +## Module Responsibilities + +- Display a modal/popup when a user attemps to deactivate the brand plugin on plugins.php page. +- The modal contains two steps. The first one, will bring the user's attention to all the features that brand plugin adds to their site. And the second step is a survey form asking the user for the reason they're deactivating the plugin. +- When the survey is submitted, the response is captured for analytics. +- When the brand plugin is deactivated, the moduel will set the coming soon option in the database. + +## Critical Paths + +- On plugins.php page when the user clicks `Deactivate` on the brand plugin, the survey modal should appear. +- In the modal, when the modal clicks `Skip and Deactivate` or `Submit` the modal MUST be closed and the plugin MUST be deactivated. + ## Installation ### 1. Add the Newfold Satis to your `composer.json`. From 1191bc5fc21922a569a8994fa74899d1c89442a8 Mon Sep 17 00:00:00 2001 From: "A. Alani" <38976631+wpalani@users.noreply.github.com> Date: Mon, 8 Apr 2024 11:46:05 -0700 Subject: [PATCH 2/2] Update README.md Co-authored-by: Micah Wood --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a396fae..53c24d2 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A module for handling WordPress brand plugins and modules deactivations. - Display a modal/popup when a user attemps to deactivate the brand plugin on plugins.php page. - The modal contains two steps. The first one, will bring the user's attention to all the features that brand plugin adds to their site. And the second step is a survey form asking the user for the reason they're deactivating the plugin. - When the survey is submitted, the response is captured for analytics. -- When the brand plugin is deactivated, the moduel will set the coming soon option in the database. +- When the brand plugin is deactivated, the module will set the coming soon option in the database. ## Critical Paths