Automattic / Automattic/jetpack
My Jetpack: better handle the Activate Plugin option when it will not activate the product
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
For VaultPress Backup and Search, if the site has the plugin installed but does not have the required plan for the product to work, we still show the product as inactive even after the user clicks on "Activate Plugin", resulting on a strange user experience.
Steps to reproduce:
- launch a new test site with Jetpack
- install but does not activate the standalone plugin for VaultPress Backup or Search
- go to `Jetpack > My Jetpack` and confirm that product show as inactive and that the actions menu (three dots on the top-right corner of the cards) shows the "Activate Plugin" option:

- click the "Activate Plugin" option
- notice that the card goes to a loading state and then move back to inactive; the plugin gets activated correctly but this is not enough for the product to work in this case, so the status is still inactive

We need to handle this in a better way to prevent it from being confusing to the user.
Contributor guide
Research direction
Start in Jetpack > My Jetpack and reproduce the VaultPress Backup or Search flow using the Activate Plugin option on an installed, inactive standalone plugin without the required plan. Trace the product card's loading and inactive states after activation, then make the post-click result clearly distinguish plugin activation from product availability and verify the confusing state no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100