Skip to content

Commit dd69316

Browse files
committed
Dashboard: Remove /routes (#8084)
<!-- ## 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 focuses on the removal of several files related to the `bridge` feature in the dashboard and the addition of a new `tokens` page with metadata for improved SEO. ### Detailed summary - Deleted files related to the `bridge` feature: - `utils.ts` - `layout.tsx` - `route.ts` - `page.tsx` - `opengraph-image.png` - Various components under `routes/components/client` and `routes/components/server` - Added a new `tokens` page in `page.tsx` with: - Metadata for SEO, including title and description - Import of `PageHeader` and `TokenPage` components > ✨ 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 - New Features - Redirects: Visiting /routes now automatically navigates to /tokens (temporary redirect). - Tokens page now includes enriched metadata for improved previews and sharing. - Refactor - Removed the legacy Routes dashboard and associated UI controls, streamlining navigation to the Tokens experience. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 93f913c commit dd69316

File tree

14 files changed

+18
-841
lines changed

14 files changed

+18
-841
lines changed

apps/dashboard/redirects.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,11 @@ async function redirects() {
474474
destination: "/team/~/~/support",
475475
permanent: false,
476476
},
477+
{
478+
source: "/routes",
479+
destination: "/tokens",
480+
permanent: false,
481+
},
477482
];
478483
}
479484

apps/dashboard/src/app/(app)/(dashboard)/(bridge)/layout.tsx

Lines changed: 0 additions & 12 deletions
This file was deleted.
Binary file not shown.

apps/dashboard/src/app/(app)/(dashboard)/(bridge)/routes/components/client/pagination.tsx

Lines changed: 0 additions & 37 deletions
This file was deleted.

apps/dashboard/src/app/(app)/(dashboard)/(bridge)/routes/components/client/search.tsx

Lines changed: 0 additions & 74 deletions
This file was deleted.

apps/dashboard/src/app/(app)/(dashboard)/(bridge)/routes/components/client/type.tsx

Lines changed: 0 additions & 55 deletions
This file was deleted.

apps/dashboard/src/app/(app)/(dashboard)/(bridge)/routes/components/client/view.tsx

Lines changed: 0 additions & 50 deletions
This file was deleted.

apps/dashboard/src/app/(app)/(dashboard)/(bridge)/routes/components/server/routelist-card.tsx

Lines changed: 0 additions & 141 deletions
This file was deleted.

0 commit comments

Comments
 (0)