-
Notifications
You must be signed in to change notification settings - Fork 619
chore: add webhook secret to table, fix api error #7606
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
chore: add webhook secret to table, fix api error #7606
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
WalkthroughThe changes rename the property Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant WebhookConfigModal
participant API
User->>WebhookConfigModal: Submit create/update webhook config
WebhookConfigModal->>API: Send config with topicIdsWithFilters property
API-->>WebhookConfigModal: Respond with result
WebhookConfigModal-->>User: Show status/confirmation
sequenceDiagram
participant User
participant WebhookConfigsTable
User->>WebhookConfigsTable: View list of webhook configs
WebhookConfigsTable->>User: Display table with Webhook Secret column (masked/copyable)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (2)**/*.{ts,tsx}Instructions used from: Sources:
apps/{dashboard,playground-web}/**/*.{tsx,ts}Instructions used from: Sources:
🧠 Learnings (4)📓 Common learningsapps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/webhook-config-modal.tsx (10)apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/webhook-configs-table.tsx (4)apps/dashboard/src/@/api/webhook-configs.ts (4)⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
🔇 Additional comments (4)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7606 +/- ##
=======================================
Coverage 56.45% 56.45%
=======================================
Files 906 906
Lines 58115 58115
Branches 4226 4226
=======================================
Hits 32810 32810
Misses 25195 25195
Partials 110 110
🚀 New features to boost your workflow:
|
size-limit report 📦
|

[Dashboard] Fix: Update webhook API parameter names and add webhook secret display
Notes for the reviewer
This PR updates the webhook configuration API parameter names from
topicstotopicIdsWithFiltersin both the API interface and the components that use it. It also adds a new column to display webhook secrets in the webhook configs table.How to test
Verify that webhook creation and updates work correctly with the renamed parameters, and that webhook secrets are properly displayed in the table with the ability to copy them.
Summary by CodeRabbit
New Features
Refactor