Skip to content

Commit 02f6f87

Browse files
committed
[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. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## 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. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 1305527 commit 02f6f87

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

apps/dashboard/framer-rewrites.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@ module.exports = [
1414
"/in-app-wallets",
1515
"/transactions",
1616
// -- end build category
17-
// -- storage
17+
18+
// -- scale category
19+
"/rpc-edge",
20+
"/insight",
1821
"/storage",
22+
// -- end scale category
23+
1924
// -- nebula
2025
"/nebula",
21-
// --insight
22-
"/insight",
2326
// -- contracts
2427
"/contracts",
2528
"/contracts/modular-contracts",

apps/dashboard/redirects.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,6 @@ async function redirects() {
327327
permanent: false,
328328
source: "/solutions/chains",
329329
},
330-
// redirect /rpc to portal
331-
{
332-
destination:
333-
"https://portal.thirdweb.com/infrastructure/rpc-edge/overview",
334-
permanent: false,
335-
source: "/rpc-edge",
336-
},
337330
// redirect /sdk to portal
338331
{
339332
destination: "https://portal.thirdweb.com/connect/blockchain-api",

0 commit comments

Comments
 (0)