Skip to content

Commit

Permalink
Merge pull request #11 from newfold-labs/add/module-responsibilities-doc
Browse files Browse the repository at this point in the history
Add module responsibilities and critical path to README
  • Loading branch information
wpscholar authored Apr 8, 2024
2 parents c8b09a2 + 1191bc5 commit 312caf3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 module 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`.
Expand Down

0 comments on commit 312caf3

Please sign in to comment.