Skip to content

Email support on new plugin, showcase & wall of love submissions#435

Merged
simonhamp merged 2 commits into
mainfrom
notify-support-submissions
Jul 19, 2026
Merged

Email support on new plugin, showcase & wall of love submissions#435
simonhamp merged 2 commits into
mainfrom
notify-support-submissions

Conversation

@simonhamp

Copy link
Copy Markdown
Member

What & why

Support (support@nativephp.com) wasn't being told when new items land in the review queue. This adds an email notification for each customer-facing submission, using the same mechanism as support tickets — a queued Notification::route('mail', 'support@nativephp.com')->notify(...).

Notifications sent

Trigger Notification
A plugin moves to pending review (Plugins\Show::submitForReview() — covers first submission and re-submission after rejection) PluginPendingReview
A new showcase is submitted (ShowcaseSubmissionForm::submit()) ShowcaseSubmitted
An approved showcase is edited and sent back for review ShowcaseSubmitted (re-review wording via a resubmitted flag)
A new wall of love submission is created (WallOfLoveSubmissionForm::submit()) WallOfLoveSubmitted

Each email summarises the submission and links to the relevant Filament admin resource for review. All are queued (ShouldQueue), matching SupportTicketSubmitted.

Editing a showcase that is still pending does not send an email — its review state doesn't change, so re-notifying would just be noise.

Tests

  • ShowcaseSubmissionTest, WallOfLoveSubmissionTest — new-submission and edit paths, on-demand routing to support@nativephp.com, and rendered email content.
  • CustomerPluginReviewChecksTest — extended to assert the support notification fires on plugin submit.

Note

The commit also includes minor pre-existing workspace drift unrelated to this feature: an auto-detected PHP patch-version bump in the Boost docs (8.4.228.4.23) and the workspace name in package-lock.json. Happy to drop these if preferred.

🤖 Generated with Claude Code

simonhamp and others added 2 commits July 19, 2026 02:32
When a plugin moves to pending review, a new showcase or wall of love submission is created, or an approved showcase is edited and sent back for review, send a queued notification to support@nativephp.com — mirroring the existing support-ticket flow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@simonhamp
simonhamp marked this pull request as ready for review July 19, 2026 01:36
@simonhamp
simonhamp merged commit eea427d into main Jul 19, 2026
2 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