Skip to content

Add support for chain filtering in webhook creation #7209

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

Merged

Conversation

AmineAfia
Copy link
Contributor

@AmineAfia AmineAfia commented May 29, 2025

[Dashboard] Feature: Add Chain Filtering for Webhooks

Notes for the reviewer

This PR adds support for filtering available chains in the webhook creation flow. It fetches supported chains from the Insight API and restricts the chain selection in the UI to only those chains that are supported for webhooks.

How to test

  1. Navigate to the webhooks page for a project
  2. Verify that the chain selector in the webhook creation modal only shows supported chains
  3. Confirm that the API call to fetch supported chains works correctly

Summary by CodeRabbit

  • New Features
    • Added support for dynamically fetching and displaying supported blockchain networks when creating or managing webhooks.
    • The network selector now only shows networks that are currently supported for webhooks.
    • Users are notified if no supported blockchain networks are available for webhooks.

PR-Codex overview

This PR primarily focuses on enhancing the handling of supported chain IDs across multiple components in the dashboard, allowing for better filtering and management of webhooks based on the selected blockchain networks.

Detailed summary

  • Added chainIds prop to NetworkSelectors and filtered allChains based on it.
  • Introduced supportedChainIds prop in CreateWebhookModal and WebhooksTable.
  • Updated CreateWebhookModal and WebhooksTable to use supportedChainIds.
  • Implemented getSupportedWebhookChains function to fetch supported chains.
  • Updated WebhooksPage to retrieve and handle supported chain IDs.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented May 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 29, 2025 11:41pm
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) May 29, 2025 11:41pm
login ⬜️ Skipped (Inspect) May 29, 2025 11:41pm
thirdweb_playground ⬜️ Skipped (Inspect) May 29, 2025 11:41pm
wallet-ui ⬜️ Skipped (Inspect) May 29, 2025 11:41pm

@vercel vercel bot temporarily deployed to Preview – login May 29, 2025 22:40 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground May 29, 2025 22:40 Inactive
Copy link

changeset-bot bot commented May 29, 2025

⚠️ No Changeset found

Latest commit: 9611a17

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel vercel bot temporarily deployed to Preview – docs-v2 May 29, 2025 22:40 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui May 29, 2025 22:40 Inactive
Copy link
Contributor

coderabbitai bot commented May 29, 2025

"""

Walkthrough

Support for dynamically fetching and propagating supported blockchain chain IDs for webhooks was implemented. A new API function retrieves supported chains, and this data is passed through the webhooks page, table, modal, and selector components. Components now restrict selectable networks based on the fetched supported chain IDs and handle cases where none are available.

Changes

Files/Paths Change Summary
.../api/insight/webhooks.ts Added type alias for supported chains response and a new async function to fetch supported webhook chains.
.../components/blocks/NetworkSelectors.tsx Added optional chainIds prop to MultiNetworkSelector and filtered chains accordingly.
.../webhooks/components/CreateWebhookModal.tsx Added supportedChainIds prop to props interface and passed it to FilterDetailsStep.
.../webhooks/components/FilterDetailsStep.tsx Added supportedChainIds prop to props and passed it to MultiNetworkSelector as chainIds.
.../webhooks/components/WebhooksTable.tsx Added supportedChainIds prop to props and passed it to CreateWebhookModal.
.../webhooks/page.tsx Fetched supported chain IDs, handled empty state, and passed them to child components.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant WebhooksPage
    participant API
    participant WebhooksTable
    participant CreateWebhookModal
    participant FilterDetailsStep
    participant MultiNetworkSelector

    User->>WebhooksPage: Load page
    WebhooksPage->>API: getSupportedWebhookChains()
    API-->>WebhooksPage: { chains: [...] } or { error: ... }
    WebhooksPage->>WebhooksTable: supportedChainIds=[...]
    WebhooksTable->>CreateWebhookModal: supportedChainIds=[...]
    CreateWebhookModal->>FilterDetailsStep: supportedChainIds=[...]
    FilterDetailsStep->>MultiNetworkSelector: chainIds=[...]
    MultiNetworkSelector-->>FilterDetailsStep: Render filtered networks
Loading

Possibly related PRs

Suggested labels

Portal

Suggested reviewers

  • MananTank
  • jnsdls
    """

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9611a17 and deeca88.

📒 Files selected for processing (6)
  • apps/dashboard/src/@/api/insight/webhooks.ts (2 hunks)
  • apps/dashboard/src/@/components/blocks/NetworkSelectors.tsx (1 hunks)
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/CreateWebhookModal.tsx (2 hunks)
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/FilterDetailsStep.tsx (4 hunks)
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/WebhooksTable.tsx (2 hunks)
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/page.tsx (5 hunks)
🚧 Files skipped from review as they are similar to previous changes (6)
  • apps/dashboard/src/@/components/blocks/NetworkSelectors.tsx
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/WebhooksTable.tsx
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/page.tsx
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/CreateWebhookModal.tsx
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/FilterDetailsStep.tsx
  • apps/dashboard/src/@/api/insight/webhooks.ts
⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: Size
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Build Packages
  • GitHub Check: Lint Packages
  • GitHub Check: Unit Tests
  • GitHub Check: Analyze (javascript)
✨ Finishing Touches
  • 📝 Generate Docstrings

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need 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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label May 29, 2025
Copy link
Contributor Author

AmineAfia commented May 29, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

@AmineAfia AmineAfia marked this pull request as ready for review May 29, 2025 22:40
@AmineAfia AmineAfia requested review from a team as code owners May 29, 2025 22:40
Copy link

codecov bot commented May 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.63%. Comparing base (31c4bb2) to head (deeca88).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7209   +/-   ##
=======================================
  Coverage   55.63%   55.63%           
=======================================
  Files         908      908           
  Lines       58546    58546           
  Branches     4128     4128           
=======================================
  Hits        32572    32572           
  Misses      25868    25868           
  Partials      106      106           
Flag Coverage Δ
packages 55.63% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (2)
apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/CreateWebhookModal.tsx (1)

44-44: LGTM!

The new supportedChainIds prop is correctly typed. Note: Consider using number[] for consistency with other files, though Array<number> is functionally equivalent.

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/FilterDetailsStep.tsx (1)

48-48: Consider type consistency across the codebase.

The interface uses Array<number> while the page component uses number[]. Both are functionally equivalent, but consistency would improve maintainability.

Consider using consistent type notation across files:

-supportedChainIds: Array<number>;
+supportedChainIds: number[];
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1f42ad2 and 49943b4.

📒 Files selected for processing (6)
  • apps/dashboard/src/@/api/insight/webhooks.ts (2 hunks)
  • apps/dashboard/src/@/components/blocks/NetworkSelectors.tsx (1 hunks)
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/CreateWebhookModal.tsx (2 hunks)
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/FilterDetailsStep.tsx (4 hunks)
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/WebhooksTable.tsx (2 hunks)
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/page.tsx (5 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (3)
apps/dashboard/src/@/components/blocks/NetworkSelectors.tsx (1)
apps/dashboard/src/hooks/chains/allChains.ts (1)
  • useAllChainsData (125-148)
apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/WebhooksTable.tsx (1)
apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/CreateWebhookModal.tsx (1)
  • CreateWebhookModal (47-299)
apps/dashboard/src/@/api/insight/webhooks.ts (1)
apps/dashboard/src/constants/urls.ts (1)
  • THIRDWEB_INSIGHT_API_DOMAIN (24-25)
⏰ Context from checks skipped due to timeout of 90000ms (7)
  • GitHub Check: Size
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: Build Packages
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Lint Packages
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (15)
apps/dashboard/src/@/api/insight/webhooks.ts (1)

70-72: LGTM!

The type definition correctly models the possible return shapes from the API function.

apps/dashboard/src/@/components/blocks/NetworkSelectors.tsx (2)

30-30: LGTM!

The optional chainIds prop addition maintains backward compatibility while enabling chain filtering functionality.


34-38: LGTM!

The filtering logic is correctly implemented:

  • Only filters when chainIds is provided and non-empty
  • Uses appropriate array methods
  • Positioned correctly before other chain processing logic
apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/WebhooksTable.tsx (3)

35-35: LGTM!

The new supportedChainIds prop is correctly typed and added to the interface.


38-42: LGTM!

The component signature correctly includes the new prop in the destructuring.


218-221: LGTM!

The supportedChainIds prop is correctly passed down to the CreateWebhookModal component.

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/CreateWebhookModal.tsx (2)

47-50: LGTM!

The component signature correctly includes the new prop in the destructuring.


277-277: LGTM!

The supportedChainIds prop is correctly passed down to the FilterDetailsStep component.

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/page.tsx (4)

1-5: LGTM! Import statement correctly updated.

The import statement properly includes the new getSupportedWebhookChains function alongside existing imports.


18-18: LGTM! Variable initialization is appropriate.

The supportedChainIds array is properly initialized as an empty array, maintaining type consistency with the expected number[] type.


83-93: LGTM! Error state handling for unsupported chains is well implemented.

The conditional rendering properly handles the scenario when no supported chains are available, providing clear user feedback with appropriate styling and messaging.


95-99: LGTM! Props are correctly passed to child components.

The supportedChainIds prop is properly passed to both WebhooksTable and CreateWebhookModal components, maintaining the data flow through the component hierarchy.

Also applies to: 108-111

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/FilterDetailsStep.tsx (3)

26-26: LGTM! Import reordering has no functional impact.

The import statement was reordered without changing functionality, which is acceptable.


64-64: LGTM! Parameter correctly added to component signature.

The supportedChainIds parameter is properly added to match the updated interface.


111-111:

✅ Verification successful

Verify that MultiNetworkSelector supports the chainIds prop.

The code passes chainIds={supportedChainIds} to MultiNetworkSelector, but we should verify this prop is properly implemented in the component.


🏁 Script executed:

#!/bin/bash
# Description: Verify that MultiNetworkSelector component accepts chainIds prop
# Expected: Find the component implementation and check if chainIds prop is defined

# Search for MultiNetworkSelector component definition
ast-grep --pattern $'export function MultiNetworkSelector({
  $$$
}) {
  $$$
}'

# Also search for interface/type definitions
rg -A 10 "interface.*MultiNetworkSelector" 
rg -A 10 "type.*MultiNetworkSelector"

Length of output: 165


🏁 Script executed:

#!/bin/bash
# Locate where MultiNetworkSelector is imported to determine its source
rg -n "import.*MultiNetworkSelector" -g '*.tsx'

# Find all files referencing MultiNetworkSelector
rg -l "MultiNetworkSelector" -g '*.tsx'

Length of output: 1679


🏁 Script executed:

#!/bin/bash
# Inspect implementation of MultiNetworkSelector in dashboard components
echo "----- apps/dashboard/src/@/components/blocks/NetworkSelectors.tsx (first 200 lines) -----"
sed -n '1,200p' apps/dashboard/src/@/components/blocks/NetworkSelectors.tsx || true

echo
echo "----- Searching for chainIds prop in dashboard component -----"
rg -n "chainIds" -C 3 apps/dashboard/src/@/components/blocks/NetworkSelectors.tsx || true

echo
echo "----- Searching for MultiNetworkSelector declaration/export -----"
rg -n "MultiNetworkSelector" -C 5 apps/dashboard/src/@/components/blocks/NetworkSelectors.tsx || true

Length of output: 8486


chainIds prop support confirmed in MultiNetworkSelector

The MultiNetworkSelector component in
apps/dashboard/src/@/components/blocks/NetworkSelectors.tsx
defines chainIds?: number[] in its props and applies it to filter allChains (lines 30–38). The passed supportedChainIds will correctly limit the selectable networks.

Copy link
Contributor

github-actions bot commented May 29, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 62.11 KB (0%) 1.3 s (0%) 262 ms (+128.35% 🔺) 1.6 s
thirdweb (cjs) 345.28 KB (0%) 7 s (0%) 964 ms (+2.07% 🔺) 7.9 s
thirdweb (minimal + tree-shaking) 5.7 KB (0%) 114 ms (0%) 108 ms (+1238.71% 🔺) 222 ms
thirdweb/chains (tree-shaking) 531 B (0%) 11 ms (0%) 24 ms (+898.34% 🔺) 35 ms
thirdweb/react (minimal + tree-shaking) 19.52 KB (0%) 391 ms (0%) 78 ms (+243.13% 🔺) 469 ms

Copy link
Contributor

graphite-app bot commented May 29, 2025

Merge activity

graphite-app bot pushed a commit that referenced this pull request May 29, 2025
## [Dashboard] Feature: Add Chain Filtering for Webhooks

## Notes for the reviewer
This PR adds support for filtering available chains in the webhook creation flow. It fetches supported chains from the Insight API and restricts the chain selection in the UI to only those chains that are supported for webhooks.

## How to test
1. Navigate to the webhooks page for a project
2. Verify that the chain selector in the webhook creation modal only shows supported chains
3. Confirm that the API call to fetch supported chains works correctly

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **New Features**
  - Added support for dynamically fetching and displaying supported blockchain networks when creating or managing webhooks.
  - The network selector now only shows networks that are currently supported for webhooks.
  - Users are notified if no supported blockchain networks are available for webhooks.

- **Bug Fixes**
  - Improved error handling and messaging when no supported blockchain networks are available.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on enhancing the `NetworkSelectors` and webhook components by introducing support for `chainIds`. It adds functionality to filter chains based on the provided IDs and ensures that the `CreateWebhookModal` and `WebhooksTable` components utilize these IDs.

### Detailed summary
- Added `chainIds` prop to `NetworkSelectors`.
- Modified `useAllChainsData` to filter `allChains` based on `chainIds`.
- Updated `CreateWebhookModal` to accept `supportedChainIds`.
- Updated `WebhooksTable` to accept `supportedChainIds`.
- Introduced `getSupportedWebhookChains` API function to fetch supported chains.
- Updated `FilterDetailsStep` to use `supportedChainIds`.
- Modified `WebhooksPage` to fetch and handle `supportedChainIds` from the API.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@graphite-app graphite-app bot force-pushed the Add_support_for_chain_filtering_in_webhook_creation branch from f0fc8ba to 9611a17 Compare May 29, 2025 23:27
@vercel vercel bot temporarily deployed to Preview – docs-v2 May 29, 2025 23:27 Inactive
@vercel vercel bot temporarily deployed to Preview – login May 29, 2025 23:27 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground May 29, 2025 23:27 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui May 29, 2025 23:27 Inactive
## [Dashboard] Feature: Add Chain Filtering for Webhooks

## Notes for the reviewer
This PR adds support for filtering available chains in the webhook creation flow. It fetches supported chains from the Insight API and restricts the chain selection in the UI to only those chains that are supported for webhooks.

## How to test
1. Navigate to the webhooks page for a project
2. Verify that the chain selector in the webhook creation modal only shows supported chains
3. Confirm that the API call to fetch supported chains works correctly

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **New Features**
  - Added support for dynamically fetching and displaying supported blockchain networks when creating or managing webhooks.
  - The network selector now only shows networks that are currently supported for webhooks.
  - Users are notified if no supported blockchain networks are available for webhooks.

- **Bug Fixes**
  - Improved error handling and messaging when no supported blockchain networks are available.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `NetworkSelectors` and webhook components by adding support for multiple chain IDs, improving the data handling for webhooks, and integrating the fetching of supported chains from an API.

### Detailed summary
- Added `chainIds` prop to `NetworkSelectors` and filtered `allChains` based on it.
- Updated `CreateWebhookModal` to accept `supportedChainIds`.
- Modified `WebhooksTable` to include `supportedChainIds`.
- Introduced `getSupportedWebhookChains` API call to fetch supported chains.
- Updated `FilterDetailsStep` to utilize `supportedChainIds`.
- Adjusted `WebhooksPage` to manage `supportedChainIds` and handle API responses.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@graphite-app graphite-app bot force-pushed the Add_support_for_chain_filtering_in_webhook_creation branch from 9611a17 to deeca88 Compare May 29, 2025 23:32
@graphite-app graphite-app bot merged commit deeca88 into main May 29, 2025
24 checks passed
@graphite-app graphite-app bot deleted the Add_support_for_chain_filtering_in_webhook_creation branch May 29, 2025 23:42
@vercel vercel bot temporarily deployed to Production – wallet-ui May 29, 2025 23:42 Inactive
@vercel vercel bot temporarily deployed to Production – login May 29, 2025 23:42 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 May 29, 2025 23:42 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground May 29, 2025 23:42 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dashboard Involves changes to the Dashboard.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants