Webhook management in the debug dashboard#3
Merged
Conversation
Extracted the monolithic DASHBOARD_HTML template literal from server.ts into separate files: styles.ts, helpers.ts, tabs/activity.ts, tabs/resources.ts, tabs/actions.ts, and shell.ts which assembles them. No behavior changes — output HTML is identical.
Supports partial updates to url, enabled_events, and status. Uses retrieve() to validate existence and get current state, then writes patched data back to the DB.
…ve error feedback
…casting The /actions/retry-webhook endpoint accepted an endpoint_id but ignored it, calling deliver() which fans out to all matching endpoints. Now uses deliverToEndpoint() to target only the specified endpoint. Also removes redundant retrieve() calls and adds integration tests for the action.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
server.ts) into modular files undersrc/dashboard/html/— styles, helpers, and per-tab componentsWebhookEndpointService.update()and extractedWebhookDeliveryService.deliverToEndpoint()for targeted deliveryTest plan
WebhookEndpointService.update()(url, events, status, preserve unchanged, 404)WebhookDeliveryService.deliverToEndpoint()(creates delivery record)tsc --noEmitclean