Skip to content

Conversation

@saminacodes
Copy link
Member

@saminacodes saminacodes commented Sep 1, 2025


PR-Codex overview

This PR focuses on the deletion of various files related to the infrastructure section of the application, along with updates to the redirects.mjs file to include new redirect paths to external resources.

Detailed summary

  • Deleted files:
    • apps/portal/src/app/infrastructure/page.mdx
    • apps/portal/src/app/infrastructure/layout.tsx
    • apps/portal/src/app/infrastructure/sidebar.tsx
    • apps/portal/src/app/infrastructure/assets/test.jpg
    • apps/portal/src/app/infrastructure/storage/overview/page.mdx
    • apps/portal/src/app/infrastructure/rpc-edge/overview/page.mdx
    • apps/portal/src/app/infrastructure/rpc-edge/get-started/page.mdx
    • apps/portal/src/app/infrastructure/storage/how-storage-works/page.mdx
    • apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/api-key.png
    • apps/portal/src/app/infrastructure/rpc-edge/overview/assets/rpc-diagram.svg
    • apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/public-rpcs.png
    • apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/usage-dashboard.png
    • apps/portal/src/app/infrastructure/storage/how-to-use-storage/host-web-app/page.mdx
    • apps/portal/src/app/infrastructure/storage/how-storage-works/assets/storage-diagram.svg
    • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/page.mdx
    • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-urls.png
    • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-upload.png
    • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-dashboard.png
  • Updated redirects.mjs:
    • Added redirect from "/storage/upload-to-ipfs" to "/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs"
    • Added infrastructure redirects to external portal for paths "/infrastructure/storage/:path*" and "/infrastructure/rpc-edge/:path*"

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

Summary by CodeRabbit

  • Documentation

    • Removed the Infrastructure section from the portal, including Overview, Storage (Overview, How Storage Works, Upload Files to IPFS, Host Web App), and RPC Edge (Overview, Get Started); navigation updated accordingly.
  • New Features

    • Added redirects sending /infrastructure/storage/* and /infrastructure/rpc-edge/* to the external portal documentation.

@saminacodes saminacodes requested review from a team as code owners September 1, 2025 17:51
@changeset-bot
Copy link

changeset-bot bot commented Sep 1, 2025

⚠️ No Changeset found

Latest commit: aadaf20

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
Copy link

vercel bot commented Sep 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs-v2 Ready Ready Preview Comment Sep 2, 2025 5:07pm
4 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
nebula Skipped Skipped Sep 2, 2025 5:07pm
thirdweb_playground Skipped Skipped Sep 2, 2025 5:07pm
thirdweb-www Skipped Skipped Sep 2, 2025 5:07pm
wallet-ui Skipped Skipped Sep 2, 2025 5:07pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 1, 2025

Walkthrough

Removes the entire Infrastructure section (layout, sidebar, and associated MDX pages for Storage and RPC Edge) and adds two wildcard redirects routing infrastructure storage and rpc-edge paths to external portal documentation.

Changes

Cohort / File(s) Summary
Redirects: External portal links
apps/portal/redirects.mjs
Added two wildcard redirects: /infrastructure/storage/:path* -> external storage docs; /infrastructure/rpc-edge/:path* -> external RPC docs.
Infrastructure layout & sidebar removed
apps/portal/src/app/infrastructure/layout.tsx, apps/portal/src/app/infrastructure/sidebar.tsx
Deleted Infrastructure layout component and exported sidebar configuration (including metadata export).
Infrastructure index page removed
apps/portal/src/app/infrastructure/page.mdx
Deleted Infrastructure landing page and its exported metadata.
RPC Edge docs removed
apps/portal/src/app/infrastructure/rpc-edge/...
apps/portal/src/app/infrastructure/rpc-edge/overview/page.mdx, apps/portal/src/app/infrastructure/rpc-edge/get-started/page.mdx
Deleted RPC Edge overview and get-started MDX pages and their metadata/content.
Storage docs removed
apps/portal/src/app/infrastructure/storage/...
apps/portal/src/app/infrastructure/storage/overview/page.mdx, apps/portal/src/app/infrastructure/storage/how-storage-works/page.mdx, apps/portal/src/app/infrastructure/storage/how-to-use-storage/.../page.mdx
Deleted Storage overview, how-storage-works, and how-to guides (upload to IPFS, host web app), including metadata and content.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor User
  participant Portal as Portal App
  participant Redirects as Redirects
  participant External as External Portal

  User->>Portal: GET /infrastructure/storage/...
  Portal->>Redirects: match rules
  alt matches /infrastructure/storage/:path*
    Redirects-->>Portal: 302 Location: https://portal.thirdweb.com/...#storage
  else matches /infrastructure/rpc-edge/:path*
    Redirects-->>Portal: 302 Location: https://portal.thirdweb.com/...#rpc
  else
    Redirects-->>Portal: no redirect (normal routing)
  end
  Portal-->>User: HTTP redirect response
  User->>External: Follow redirect
  External-->>User: Serve external doc page
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Warning

Review ran into problems

🔥 Problems

Errors were encountered while retrieving linked issues.

Errors (1)
  • TEAM-0000: Entity not found: Issue - Could not find referenced Issue.

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between baa39e6 and aadaf20.

⛔ Files ignored due to path filters (9)
  • apps/portal/src/app/infrastructure/assets/test.jpg is excluded by !**/*.jpg
  • apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/api-key.png is excluded by !**/*.png
  • apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/public-rpcs.png is excluded by !**/*.png
  • apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/usage-dashboard.png is excluded by !**/*.png
  • apps/portal/src/app/infrastructure/rpc-edge/overview/assets/rpc-diagram.svg is excluded by !**/*.svg
  • apps/portal/src/app/infrastructure/storage/how-storage-works/assets/storage-diagram.svg is excluded by !**/*.svg
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-dashboard.png is excluded by !**/*.png
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-upload.png is excluded by !**/*.png
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-urls.png is excluded by !**/*.png
📒 Files selected for processing (10)
  • apps/portal/redirects.mjs (1 hunks)
  • apps/portal/src/app/infrastructure/layout.tsx (0 hunks)
  • apps/portal/src/app/infrastructure/page.mdx (0 hunks)
  • apps/portal/src/app/infrastructure/rpc-edge/get-started/page.mdx (0 hunks)
  • apps/portal/src/app/infrastructure/rpc-edge/overview/page.mdx (0 hunks)
  • apps/portal/src/app/infrastructure/sidebar.tsx (0 hunks)
  • apps/portal/src/app/infrastructure/storage/how-storage-works/page.mdx (0 hunks)
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/host-web-app/page.mdx (0 hunks)
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/page.mdx (0 hunks)
  • apps/portal/src/app/infrastructure/storage/overview/page.mdx (0 hunks)
💤 Files with no reviewable changes (9)
  • apps/portal/src/app/infrastructure/layout.tsx
  • apps/portal/src/app/infrastructure/storage/how-storage-works/page.mdx
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/host-web-app/page.mdx
  • apps/portal/src/app/infrastructure/rpc-edge/overview/page.mdx
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/page.mdx
  • apps/portal/src/app/infrastructure/rpc-edge/get-started/page.mdx
  • apps/portal/src/app/infrastructure/page.mdx
  • apps/portal/src/app/infrastructure/sidebar.tsx
  • apps/portal/src/app/infrastructure/storage/overview/page.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/portal/redirects.mjs
⏰ 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)
  • GitHub Check: Size
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Unit Tests
  • GitHub Check: Build Packages
  • GitHub Check: Lint Packages
  • GitHub Check: Analyze (javascript)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch deprecate-rpc-storage

🪧 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.
    • 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.
  • 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 the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit 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

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • 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.

@graphite-app
Copy link
Contributor

graphite-app bot commented Sep 1, 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.

@github-actions github-actions bot added the Portal Involves changes to the Portal (docs) codebase. label Sep 1, 2025
@codecov
Copy link

codecov bot commented Sep 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.52%. Comparing base (df6f8e2) to head (aadaf20).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7960   +/-   ##
=======================================
  Coverage   56.52%   56.52%           
=======================================
  Files         904      904           
  Lines       58623    58623           
  Branches     4146     4146           
=======================================
  Hits        33138    33138           
  Misses      25380    25380           
  Partials      105      105           
Flag Coverage Δ
packages 56.52% <ø> (ø)
🚀 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: 0

🧹 Nitpick comments (1)
apps/portal/redirects.mjs (1)

868-872: External wildcard redirects added — verify anchors and avoid double-hop chains

  • These rules look fine, but existing redirects (e.g., Line 858–866 for /rpc-edge and /storage/*) will cause two-hop redirects (legacy path → /infrastructure/... → external). If you want single-hop, either move these entries above the older ones or update the older /rpc-edge/* and /storage/* rules to point directly to the external targets.
  • Please confirm the external anchors #storage and #rpc exist and are stable. If uncertain, consider making these temporary (non-permanent) until finalized to avoid long-lived 308 caches.

Happy to propose a small follow-up diff that reorders or consolidates the rules to ensure single-hop behavior and, if desired, makes these two redirects temporary.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 7eed8e6 and baa39e6.

⛔ Files ignored due to path filters (9)
  • apps/portal/src/app/infrastructure/assets/test.jpg is excluded by !**/*.jpg
  • apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/api-key.png is excluded by !**/*.png
  • apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/public-rpcs.png is excluded by !**/*.png
  • apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/usage-dashboard.png is excluded by !**/*.png
  • apps/portal/src/app/infrastructure/rpc-edge/overview/assets/rpc-diagram.svg is excluded by !**/*.svg
  • apps/portal/src/app/infrastructure/storage/how-storage-works/assets/storage-diagram.svg is excluded by !**/*.svg
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-dashboard.png is excluded by !**/*.png
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-upload.png is excluded by !**/*.png
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-urls.png is excluded by !**/*.png
📒 Files selected for processing (10)
  • apps/portal/redirects.mjs (1 hunks)
  • apps/portal/src/app/infrastructure/layout.tsx (0 hunks)
  • apps/portal/src/app/infrastructure/page.mdx (0 hunks)
  • apps/portal/src/app/infrastructure/rpc-edge/get-started/page.mdx (0 hunks)
  • apps/portal/src/app/infrastructure/rpc-edge/overview/page.mdx (0 hunks)
  • apps/portal/src/app/infrastructure/sidebar.tsx (0 hunks)
  • apps/portal/src/app/infrastructure/storage/how-storage-works/page.mdx (0 hunks)
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/host-web-app/page.mdx (0 hunks)
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/page.mdx (0 hunks)
  • apps/portal/src/app/infrastructure/storage/overview/page.mdx (0 hunks)
💤 Files with no reviewable changes (9)
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/page.mdx
  • apps/portal/src/app/infrastructure/rpc-edge/get-started/page.mdx
  • apps/portal/src/app/infrastructure/sidebar.tsx
  • apps/portal/src/app/infrastructure/storage/how-to-use-storage/host-web-app/page.mdx
  • apps/portal/src/app/infrastructure/rpc-edge/overview/page.mdx
  • apps/portal/src/app/infrastructure/storage/how-storage-works/page.mdx
  • apps/portal/src/app/infrastructure/storage/overview/page.mdx
  • apps/portal/src/app/infrastructure/page.mdx
  • apps/portal/src/app/infrastructure/layout.tsx
⏰ 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). (6)
  • GitHub Check: Size
  • GitHub Check: Lint Packages
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Unit Tests
  • GitHub Check: Build Packages
  • GitHub Check: Analyze (javascript)

@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 64.01 KB (0%) 1.3 s (0%) 243 ms (+213.47% 🔺) 1.6 s
thirdweb (cjs) 357.32 KB (0%) 7.2 s (0%) 701 ms (+12.96% 🔺) 7.9 s
thirdweb (minimal + tree-shaking) 5.73 KB (0%) 115 ms (0%) 71 ms (+1540.13% 🔺) 186 ms
thirdweb/chains (tree-shaking) 526 B (0%) 11 ms (0%) 79 ms (+3813.63% 🔺) 89 ms
thirdweb/react (minimal + tree-shaking) 19.15 KB (0%) 383 ms (0%) 85 ms (+561.12% 🔺) 468 ms

@graphite-app
Copy link
Contributor

graphite-app bot commented Sep 2, 2025

Merge activity

<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on removing several files related to the `infrastructure` section of the application, including markdown files, images, and TypeScript components, while also updating the `redirects.mjs` file to include new external portal redirects.

### Detailed summary
- Deleted the following files:
  - `apps/portal/src/app/infrastructure/page.mdx`
  - `apps/portal/src/app/infrastructure/layout.tsx`
  - `apps/portal/src/app/infrastructure/sidebar.tsx`
  - `apps/portal/src/app/infrastructure/assets/test.jpg`
  - `apps/portal/src/app/infrastructure/storage/overview/page.mdx`
  - `apps/portal/src/app/infrastructure/rpc-edge/overview/page.mdx`
  - `apps/portal/src/app/infrastructure/rpc-edge/get-started/page.mdx`
  - `apps/portal/src/app/infrastructure/storage/how-storage-works/page.mdx`
  - `apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/api-key.png`
  - `apps/portal/src/app/infrastructure/rpc-edge/overview/assets/rpc-diagram.svg`
  - `apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/public-rpcs.png`
  - `apps/portal/src/app/infrastructure/rpc-edge/get-started/assets/usage-dashboard.png`
  - `apps/portal/src/app/infrastructure/storage/how-to-use-storage/host-web-app/page.mdx`
  - `apps/portal/src/app/infrastructure/storage/how-storage-works/assets/storage-diagram.svg`
  - `apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/page.mdx`
  - `apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-urls.png`
  - `apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-upload.png`
  - `apps/portal/src/app/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs/assets/storage-dashboard.png`
- Updated `apps/portal/redirects.mjs` to:
  - Redirect `"/storage/upload-to-ipfs"` to `"/infrastructure/storage/how-to-use-storage/upload-files-to-ipfs"`
  - Add infrastructure redirects to external portal links for `"/infrastructure/storage/:path*"` and `"/infrastructure/rpc-edge/:path*"`

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

<!-- end pr-codex -->

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

## Summary by CodeRabbit

- Documentation
  - Removed the Infrastructure section from the portal, including Overview, Storage (Overview, How Storage Works, Upload Files to IPFS, Host Web App), and RPC Edge (Overview, Get Started) pages.
  - Updated navigation accordingly to reflect the removal of these pages.

- New Features
  - Added automatic redirects for Infrastructure content:
    - /infrastructure/storage/:path* now points to the external Storage documentation.
    - /infrastructure/rpc-edge/:path* now points to the external RPC documentation.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@graphite-app graphite-app bot force-pushed the deprecate-rpc-storage branch from baa39e6 to aadaf20 Compare September 2, 2025 16:56
@vercel vercel bot temporarily deployed to Preview – thirdweb-www September 2, 2025 16:59 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 2, 2025 16:59 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula September 2, 2025 16:59 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 2, 2025 16:59 Inactive
@graphite-app graphite-app bot merged commit aadaf20 into main Sep 2, 2025
24 checks passed
@graphite-app graphite-app bot deleted the deprecate-rpc-storage branch September 2, 2025 17:07
@vercel vercel bot temporarily deployed to Production – wallet-ui September 2, 2025 17:07 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground September 2, 2025 17:07 Inactive
@vercel vercel bot temporarily deployed to Production – nebula September 2, 2025 17:07 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb-www September 2, 2025 17:07 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Portal Involves changes to the Portal (docs) codebase.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants