-
Notifications
You must be signed in to change notification settings - Fork 44.7k
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
feat(blocks): Add webhook block status indicator #8838
feat(blocks): Add webhook block status indicator #8838
Conversation
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
✅ Deploy Preview for auto-gpt-docs-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for auto-gpt-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
- refactor stuff in `backend.data.queue` for understandability - clean up and update `backend.data.integrations` - add `AsyncRedisEventBus.wait_for_event(..)` - add `credentials` parameter to `WebhooksManager.trigger_ping(..)` - fix `GithubWebhooksManager.trigger_ping(..)` - remove `provider` path parameter from webhook ping endpoint - fix webhook ping endpoint return values and error handling
- add webhook status indicator dot - fix updating of `node.data.webhookId` when the new value is `undefined` - fix layout of node header
2e4ed0c
to
592828a
Compare
@@ -104,6 +107,7 @@ export function CustomNode({ | |||
>(); | |||
const isInitialSetup = useRef(true); | |||
const flowContext = useContext(FlowContext); | |||
const api = useBackendAPI(); |
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.
This is how I want all API usage to look eventually. I just didn't want to do all the refactoring in this PR, so that will come later.
…for-webhook-triggered-nodes
Demo
2024-11-28.23.27.Arc.mp4
Changes 🏗️
feat(frontend): Add webhook status indicator on
CustomNode
webhookId
to frontend node data modelfix(backend): Fix webhook ping endpoint
provider
path parameterWebhooksManager.trigger_ping(..)
credentials
parameter.data.integrations.wait_for_webhook_event(..)
AsyncRedisEventBus.wait_for_event(..)
feat(frontend): Add
BackendAPIProvider
+useBackendAPI
feat(frontend): Improve layout of node header
Before:
After:
refactor(backend): Clean up
.data.integrations
refactor(backend): Fix naming in
.data.queue
for understandabilityChecklist 📋
For code changes: