Automattic / Automattic/jetpack

My Jetpack: Handle the active state for Akismet product card in a better way

Open
#30,389 2 comments 1 reaction 1 assignee Claimed by @lhkowalski View on GitHub
[Package] My Jetpack
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

When the Akismet plugin is installed but inactive, My Jetpack shows this, which is great:

![image](https://user-images.githubusercontent.com/6760046/235518230-351f390c-6f5a-4af6-b290-9ca5d305fdd6.png)

When you click ‘Activate’, it changes to this:

![image](https://user-images.githubusercontent.com/6760046/235518301-e041131c-11b9-4393-8939-d125858125f2.png)

The plugin is active, but the actual spam filtering magic is not. If you click ‘Manage’ at this stage, you reach this page:

Screen Shot 2023-05-01 at 16 44 01

For Akismet to be active and working, we need to check if the site has a valid API key set up. Before we have it, it feels wrong to show Akismet as `active`.

Context: pedxs5-ck-p2#comment-78

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.