From 02f6f87d087118e771926e9a1405979989b9507f Mon Sep 17 00:00:00 2001 From: jnsdls Date: Tue, 1 Jul 2025 20:38:46 +0000 Subject: [PATCH] [Dashboard] Move RPC Edge to scale category and remove redirect (#7495) ### TL;DR Reorganized navigation structure by adding a "scale category" and removing the RPC Edge redirect. ### What changed? - Created a new "scale category" in the framer-rewrites.js file that includes: - `/rpc-edge` - `/insight` - `/storage` - Moved `/storage` from its own category into the new "scale category" - Moved `/insight` from its own category into the new "scale category" - Removed the redirect from `/rpc-edge` to the portal URL in redirects.js ### How to test? 1. Verify that the `/rpc-edge`, `/insight`, and `/storage` routes are properly grouped under the "scale category" 2. Confirm that navigating to `/rpc-edge` no longer redirects to the portal URL 3. Check that the other redirects still function as expected ### Why make this change? This change improves the organization of related services under a logical "scale category" grouping, making the navigation structure more intuitive. It also enables direct access to the RPC Edge page rather than redirecting users to the portal, providing a more seamless user experience. ## Summary by CodeRabbit * **Refactor** * Reorganized and regrouped certain dashboard paths under a new "scale category" for improved clarity. * **Chores** * Removed a redirect rule for the /rpc-edge path. --- apps/dashboard/framer-rewrites.js | 9 ++++++--- apps/dashboard/redirects.js | 7 ------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/apps/dashboard/framer-rewrites.js b/apps/dashboard/framer-rewrites.js index a70a4a21f41..b37644d1b86 100644 --- a/apps/dashboard/framer-rewrites.js +++ b/apps/dashboard/framer-rewrites.js @@ -14,12 +14,15 @@ module.exports = [ "/in-app-wallets", "/transactions", // -- end build category - // -- storage + + // -- scale category + "/rpc-edge", + "/insight", "/storage", + // -- end scale category + // -- nebula "/nebula", - // --insight - "/insight", // -- contracts "/contracts", "/contracts/modular-contracts", diff --git a/apps/dashboard/redirects.js b/apps/dashboard/redirects.js index 2ff384ca960..82a9320a153 100644 --- a/apps/dashboard/redirects.js +++ b/apps/dashboard/redirects.js @@ -327,13 +327,6 @@ async function redirects() { permanent: false, source: "/solutions/chains", }, - // redirect /rpc to portal - { - destination: - "https://portal.thirdweb.com/infrastructure/rpc-edge/overview", - permanent: false, - source: "/rpc-edge", - }, // redirect /sdk to portal { destination: "https://portal.thirdweb.com/connect/blockchain-api",