Skip to content

Conversation

@jnsdls
Copy link
Member

@jnsdls jnsdls commented Jun 17, 2025

TL;DR

Updated URL structure for product pages, moving Connect-related pages to a new Build category.

What changed?

  • Added new Framer rewrites for /wallets, /account-abstraction, /universal-bridge, and /transactions under the Build category
  • Removed /connect and /engine from Framer rewrites
  • Added redirects from old Connect pages to new Build pages:
    • /connect/build
    • /connect/account-abstraction/account-abstraction
    • /connect/universal-bridge/universal-bridge
    • /engine/transactions
  • Kept legacy Connect rewrites for backward compatibility

How to test?

  1. Verify that the old URLs redirect properly to the new destinations:
    • /connect should redirect to /build
    • /connect/account-abstraction should redirect to /account-abstraction
    • /connect/universal-bridge should redirect to /universal-bridge
    • /engine should redirect to /transactions
  2. Confirm that the new URLs (/wallets, /account-abstraction, etc.) render correctly

Why make this change?

Reorganizing the product pages under a more intuitive "Build" category to better represent the product offerings and improve navigation structure. This change maintains backward compatibility through redirects while establishing a clearer information architecture.


PR-Codex overview

This PR focuses on restructuring and updating the routing logic in the apps/dashboard/framer-rewrites.js and apps/dashboard/redirects.js files. It replaces old routes with new ones, consolidating the redirects under a "build category" and improving the overall organization of the code.

Detailed summary

  • Removed commented-out routes for /connect and its sub-paths.
  • Added new routes under a "build category" including /wallets, /account-abstraction, /universal-bridge, /auth, /in-app-wallets, and /transactions.
  • Updated redirects to point directly to new paths without the /connect prefix.
  • Added new redirects from /connect and its sub-paths to their new corresponding paths.
  • Removed deprecated redirects for /account-abstraction, /auth, and /in-app-wallets.

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

Summary by CodeRabbit

  • New Features

    • Updated navigation paths to include new build-related categories for easier access to wallets, account abstraction, universal bridge, and transactions sections.
  • Bug Fixes

    • Adjusted and added redirects to ensure users are routed correctly between build, connect, and engine-related pages. Some outdated redirects were removed for improved navigation consistency.

@vercel
Copy link

vercel bot commented Jun 17, 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 Jun 17, 2025 11:46pm
5 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Jun 17, 2025 11:46pm
login ⬜️ Skipped (Inspect) Jun 17, 2025 11:46pm
nebula ⬜️ Skipped (Inspect) Jun 17, 2025 11:46pm
thirdweb_playground ⬜️ Skipped (Inspect) Jun 17, 2025 11:46pm
wallet-ui ⬜️ Skipped (Inspect) Jun 17, 2025 11:46pm

@vercel vercel bot temporarily deployed to Preview – wallet-ui June 17, 2025 23:16 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 17, 2025 23:16 Inactive
@vercel vercel bot temporarily deployed to Preview – login June 17, 2025 23:16 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Jun 17, 2025

⚠️ No Changeset found

Latest commit: 1ed6552

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 – thirdweb_playground June 17, 2025 23:16 Inactive
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 17, 2025

Walkthrough

The changes update routing and redirect logic in the dashboard application. Rewrite paths are reorganized by introducing a new "build category" group with several new paths, removing the "/engine" path, and eliminating legacy "/connect" prefixed entries. Redirects are modified by removing some old mappings, changing targets, and adding new reciprocal redirects that align "connect" routes with corresponding "build" routes and introduce a redirect from "/engine" to "/transactions".

Changes

Files Change Summary
apps/dashboard/framer-rewrites.js Removed legacy "/connect" prefixed rewrite paths, removed "/engine" path, and added a new "build category" group with six new paths under "/wallets", "/account-abstraction", "/universal-bridge", "/auth", "/in-app-wallets", and "/transactions".
apps/dashboard/redirects.js Removed redirects from "/build" and some "/connect" prefixed paths; changed "/connect/pay" redirect target; added reciprocal redirects mapping "/connect" paths to non-"connect" counterparts; introduced redirect from "/engine" to "/transactions".

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Router
    participant Redirects
    participant Rewrites

    User->>Router: Request /connect/account-abstraction
    Router->>Redirects: Check for redirect
    Redirects-->>Router: Redirect to /account-abstraction
    Router->>Rewrites: Check for rewrite (if applicable)
    Rewrites-->>Router: Serve rewritten or redirected content
    Router-->>User: Respond with final content
Loading
sequenceDiagram
    participant User
    participant Router
    participant Redirects
    participant Rewrites

    User->>Router: Request /connect
    Router->>Redirects: Check for redirect
    Redirects-->>Router: Redirect to /wallets
    Router->>Rewrites: Check for rewrite (if applicable)
    Rewrites-->>Router: Serve rewritten or redirected content
    Router-->>User: Respond with final content
Loading
✨ 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 Jun 17, 2025
@jnsdls jnsdls marked this pull request as ready for review June 17, 2025 23:16
@jnsdls jnsdls requested review from a team as code owners June 17, 2025 23:16
Copy link
Member Author

jnsdls commented Jun 17, 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.

cursor[bot]

This comment was marked as outdated.

@codecov
Copy link

codecov bot commented Jun 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.36%. Comparing base (a5163c0) to head (1ed6552).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7362   +/-   ##
=======================================
  Coverage   52.35%   52.36%           
=======================================
  Files         939      939           
  Lines       63160    63160           
  Branches     4215     4216    +1     
=======================================
+ Hits        33070    33073    +3     
+ Misses      29983    29980    -3     
  Partials      107      107           
Flag Coverage Δ
packages 52.36% <ø> (+<0.01%) ⬆️

see 1 file with indirect coverage changes

🚀 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.

@jnsdls jnsdls force-pushed the _Dashboard_Update_rewrites_and_redirects_for_Connect_to_Build_migration branch from 21cefe4 to 2c5a4bb Compare June 17, 2025 23:19
@vercel vercel bot temporarily deployed to Preview – nebula June 17, 2025 23:19 Inactive
@vercel vercel bot temporarily deployed to Preview – login June 17, 2025 23:19 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 17, 2025 23:19 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 17, 2025 23:19 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 17, 2025 23:19 Inactive
cursor[bot]

This comment was marked as outdated.

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/dashboard/framer-rewrites.js (1)

9-18: Re-label legacy Connect paths – they don’t belong in the new “build” block

The comment banner suggests lines 9-14 are strictly the new Build category, yet the three /connect/* paths that immediately follow are legacy routes. Mixing them inside the same delimited section will quickly get confusing once more Build pages are added.

Consider moving the legacy Connect rewrites below the “end build category” marker (or adding a separate // -- legacy connect rewrites block) to keep intent crystal-clear.

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 78b9c8e and 2c5a4bb.

📒 Files selected for processing (2)
  • apps/dashboard/framer-rewrites.js (2 hunks)
  • apps/dashboard/redirects.js (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (5)
  • GitHub Check: Analyze (javascript)
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: Unit Tests
  • GitHub Check: Lint Packages
  • GitHub Check: Build Packages
🔇 Additional comments (2)
apps/dashboard/framer-rewrites.js (1)

9-14: Double-check for duplicate rewrites

"/wallets", "/account-abstraction", "/universal-bridge", "/transactions" may already exist elsewhere in this file (e.g. older landing-page entries). Duplicates are harmless at runtime but add noise and invite drift.

Run the quick scan:

#!/usr/bin/env bash
# list any duplicate literal paths in framer-rewrites
rg --fixed-strings -n '"/wallets"' apps/dashboard/framer-rewrites.js
rg --fixed-strings -n '"/account-abstraction"' apps/dashboard/framer-rewrites.js
rg --fixed-strings -n '"/universal-bridge"' apps/dashboard/framer-rewrites.js
rg --fixed-strings -n '"/transactions"' apps/dashboard/framer-rewrites.js
apps/dashboard/redirects.js (1)

366-386: ```shell
#!/usr/bin/env bash

Locate any redirects.js file(s) and check for /connect and /engine sources

files=$(fd -t f 'redirects.js')
if [[ -z "$files" ]]; then
echo "ERROR: No redirects.js file found"
exit 1
fi

for file in $files; do
echo "Scanning $file"
echo "Occurrences of source "/connect":"
rg --fixed-strings -n '"source": "/connect' "$file" || echo " None"
echo "Occurrences of source "/engine":"
rg --fixed-strings -n '"source": "/engine' "$file" || echo " None"
done


</details>

</blockquote></details>

</details>

<!-- This is an auto-generated comment by CodeRabbit for review status -->

@github-actions
Copy link
Contributor

github-actions bot commented Jun 17, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 62.49 KB (0%) 1.3 s (0%) 220 ms (+190.08% 🔺) 1.5 s
thirdweb (cjs) 350.88 KB (0%) 7.1 s (0%) 633 ms (+4.42% 🔺) 7.7 s
thirdweb (minimal + tree-shaking) 5.7 KB (0%) 114 ms (0%) 96 ms (+1919.05% 🔺) 210 ms
thirdweb/chains (tree-shaking) 531 B (0%) 11 ms (0%) 58 ms (+3766.23% 🔺) 69 ms
thirdweb/react (minimal + tree-shaking) 19.59 KB (0%) 392 ms (0%) 104 ms (+585.21% 🔺) 496 ms

@jnsdls jnsdls force-pushed the _Dashboard_Update_rewrites_and_redirects_for_Connect_to_Build_migration branch from 2c5a4bb to 1bf84f7 Compare June 17, 2025 23:25
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 17, 2025 23:25 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 17, 2025 23:25 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 17, 2025 23:25 Inactive
@vercel vercel bot temporarily deployed to Preview – login June 17, 2025 23:25 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 17, 2025 23:25 Inactive
@jnsdls jnsdls force-pushed the _Dashboard_Update_rewrites_and_redirects_for_Connect_to_Build_migration branch from 1bf84f7 to 11391c5 Compare June 17, 2025 23:25
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 17, 2025 23:25 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 17, 2025 23:25 Inactive
@vercel vercel bot temporarily deployed to Preview – login June 17, 2025 23:25 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 17, 2025 23:25 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 17, 2025 23:25 Inactive
cursor[bot]

This comment was marked as outdated.

@jnsdls jnsdls force-pushed the _Dashboard_Update_rewrites_and_redirects_for_Connect_to_Build_migration branch from 11391c5 to 1ed6552 Compare June 17, 2025 23:36
@vercel vercel bot temporarily deployed to Preview – wallet-ui June 17, 2025 23:36 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 June 17, 2025 23:36 Inactive
@vercel vercel bot temporarily deployed to Preview – nebula June 17, 2025 23:36 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground June 17, 2025 23:36 Inactive
@vercel vercel bot temporarily deployed to Preview – login June 17, 2025 23:36 Inactive
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

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 11391c5 and 1ed6552.

📒 Files selected for processing (2)
  • apps/dashboard/framer-rewrites.js (2 hunks)
  • apps/dashboard/redirects.js (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/dashboard/framer-rewrites.js
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: Analyze (javascript)

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Bug: Missing Redirect for Removed Path

The /connect/sign-in path was removed from framer-rewrites.js without a corresponding redirect being added in redirects.js. This is inconsistent with other /connect/* paths that were removed and redirected, causing users accessing /connect/sign-in to receive a 404 error.

apps/dashboard/framer-rewrites.js#L8-L16

// -- product landing pages --
// -- build category
"/wallets",
"/account-abstraction",
"/universal-bridge",
"/auth",
"/in-app-wallets",
"/transactions",
// -- end build category

apps/dashboard/redirects.js#L353-L384

},
// connect -> build redirects
{
source: "/connect",
destination: "/wallets",
permanent: false,
},
{
source: "/connect/account-abstraction",
destination: "/account-abstraction",
permanent: false,
},
{
source: "/connect/universal-bridge",
destination: "/universal-bridge",
permanent: false,
},
{
source: "/connect/auth",
destination: "/auth",
permanent: false,
},
{
source: "/connect/in-app-wallets",
destination: "/in-app-wallets",
permanent: false,
},
{
source: "/engine",
destination: "/transactions",
permanent: false,
},

Fix in Cursor


Bug: Missing Redirect Causes 404 Error

The redirect from /build to /contracts/modular-contracts was removed. As /build was not added to framer-rewrites.js or given a new redirect, accessing this path now results in a 404 error, breaking existing links.

apps/dashboard/redirects.js#L240-L245

},
{
source: "/ui-components",
destination: "/sdk",
permanent: false,
},

Fix in Cursor


Bug: Missing Redirect for Sign-In Route

The /connect/sign-in route is missing a redirect in redirects.js. While other /connect sub-paths received new redirects, /connect/sign-in was overlooked, leading to a 404 error for users attempting to access it.

apps/dashboard/redirects.js#L353-L384

},
// connect -> build redirects
{
source: "/connect",
destination: "/wallets",
permanent: false,
},
{
source: "/connect/account-abstraction",
destination: "/account-abstraction",
permanent: false,
},
{
source: "/connect/universal-bridge",
destination: "/universal-bridge",
permanent: false,
},
{
source: "/connect/auth",
destination: "/auth",
permanent: false,
},
{
source: "/connect/in-app-wallets",
destination: "/in-app-wallets",
permanent: false,
},
{
source: "/engine",
destination: "/transactions",
permanent: false,
},

Fix in Cursor


Was this report helpful? Give feedback by reacting with 👍 or 👎

@jnsdls jnsdls merged commit bb09e20 into main Jun 17, 2025
26 checks passed
@jnsdls jnsdls deleted the _Dashboard_Update_rewrites_and_redirects_for_Connect_to_Build_migration branch June 17, 2025 23:51
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