Skip to content

PWA: hide the module from the module list when it is not active.#13406

Merged
jeherve merged 1 commit intomasterfrom
hide/pwa
Sep 4, 2019
Merged

PWA: hide the module from the module list when it is not active.#13406
jeherve merged 1 commit intomasterfrom
hide/pwa

Conversation

@jeherve
Copy link
Copy Markdown
Member

@jeherve jeherve commented Sep 3, 2019

Changes proposed in this Pull Request:

When the module is active, we want to offer folks the chance to deactivate it.
When it is not active, however, let's not show it.

Is this a new feature or does it add/remove features to an existing part of Jetpack?

Internal reference: p1HpG7-7uS-p2

Testing instructions:

  • Before you apply this patch, go to /wp-admin/admin.php?page=jetpack_modules on your site and enable the Progressive Web Apps module.
  • Apply this patch.
  • The module should still be there on the list.
  • Now deactivate the module.
  • The module should be gone from the list.

Proposed changelog entry for your changes:

  • None

When the module is active, we want to offer folks the chance to deactivate it.
When it is not active, however, let's not show it.
@jeherve jeherve added this to the 7.8 milestone Sep 3, 2019
@jeherve jeherve requested review from a team and dereksmart September 3, 2019 16:35
@jeherve jeherve self-assigned this Sep 3, 2019
@jetpackbot
Copy link
Copy Markdown
Collaborator

Thank you for the great PR description!

When this PR is ready for review, please apply the [Status] Needs Review label. If you are an a11n, please have someone from your team review the code if possible. The Jetpack team will also review this PR and merge it to be included in the next Jetpack release.

Scheduled Jetpack release: October 1, 2019.
Scheduled code freeze: September 24, 2019

Generated by 🚫 dangerJS against 355a2e6

Copy link
Copy Markdown
Contributor

@dereksmart dereksmart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dereksmart dereksmart added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review This PR is ready for review. labels Sep 3, 2019
@jeherve jeherve merged commit dd00270 into master Sep 4, 2019
@jeherve jeherve deleted the hide/pwa branch September 4, 2019 06:10
@matticbot matticbot added [Status] Needs Changelog and removed [Status] Ready to Merge Go ahead, you can push that green button! labels Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants