Skip to content

Offer Connect in a dismissible notice after activation - #167

Merged
cport1 merged 1 commit into
mainfrom
feat/connect-invite
Nov 27, 2026
Merged

cport1 merged 1 commit into
mainfrom
feat/connect-invite

Conversation

@cport1

@cport1 cport1 commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Connect lived only on the Settings > Cloud tab, and no site has ever completed it. This adds one notice for administrators on the dashboard, Plugins screen and WebDecoy pages while the site is not connected:

  • what the plugin counted this week (or that it is now counting), and that everything works without an account
  • why connect: each bot's history beside detections, the site in the dashboard, an optional monthly report (checkbox, unchecked)
  • Connect free (the same nonce-protected admin-post action as the Cloud tab), Not now (14 days), Don't show again

No external request until Connect is clicked. The connect redirect now carries source=invite|settings so the app can count where connects start. The review ask stands aside on a page view that shows the invite. Uninstall removes the invite and review-ask options.

Tests: 7 new in tests/ConnectInviteTest.php; suite 313 passed; phpcs/phpstan clean on changed files. Not released.

@cport1
cport1 merged commit d3f8aa9 into main Nov 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant