-
Notifications
You must be signed in to change notification settings - Fork 2
feat: refactor codebase to implement simple webhook action handling and and dispatching #235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
plugins/wp-graphql-headless-webhooks/src/Repository/Interfaces/WebhookRepositoryInterface.php
Show resolved
Hide resolved
ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
@theodesp Nice :) 🆙 |
ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
@theodesp I was seeing an error in I was seeing this error which was blocking login,
I pushed a fix to this branch (ea70bdd) which addresses this by:
This prevents the notice from being displayed and fixes the header issues that were blocking login functionality. |
ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@theodesp LGTM 🚀 🚀 🚀
Description
Add support for minimal webhooks with customizable payloads and event handling. Implements webhook creation, event listening, and sending HTTP requests with filtered payloads.
Related Issue
closes #166
Dependant PRs
Type of Change
How Has This Been Tested?
Created webhooks via repository interface
Triggered events (e.g., post published) and confirmed HTTP POSTs sent
Verified payload customization via filter hooks
Checked no warnings or errors in logs
Screenshots
Checklist
Example Snippet to Create a Test Webhook
Run this snippet once:
Run this snippet all the time:
Note to Developer Reviewer
Please generate a new unique URL from
https://webhook.site/
to replaceYOUR_UNIQUE_URL_HERE
in the snippet above. This will allow you to verify the webhook payloads sent when triggering events like publishing a post.