Consolidate duplicate web dashboard routes into one canonical product experience - #234
Open
Purity-Euphemia wants to merge 7 commits into
Conversation
…board (Zyntarivoid#193) Replace the alternate dashboard surface with a client-side redirect to the canonical /dashboard route, preserving the canonical dashboard and shared components. Add PR documentation at 193-consolidate-dashboard-routes.md and update tests. Closes Zyntarivoid#193.
Contributor
|
Resolve conflicts @Purity-Euphemia |
…nto-one-canonical-product-experience
Contributor
|
@Purity-Euphemia please fix workflow |
…nto-one-canonical-product-experience
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #193 # PR: Consolidate duplicate web dashboard routes into one canonical product experience (#193)
Summary
This PR consolidates duplicate dashboard routes in the Next.js web app by making the alternate dashboard surface redirect to the canonical
/dashboardroute. The goal is to remove dashboard drift and provide a single, consistent product experience.Changes
Modified files:
veilend-web/src/app/(dashboard)/page.tsx— replaced contents with a lightweight client redirect usingnext/navigation'srouter.replace('/dashboard')insideuseEffect.Files intentionally left unchanged:
veilend-web/src/app/dashboard/page.tsx— remains the canonical dashboard implementation (live data layout).Implementation details
Acceptance Criteria Mapping
veilend-web/src/app/dashboard/page.tsx.veilend-web/src/app/(dashboard)/page.tsxnow redirects to/dashboard.How to test locally
cd veilend-web pnpm install pnpm devhttp://localhost:3000/dashboardand verify the canonical UI loads (the live dashboard page)./dashboardand show the placeholder message briefly.Rollback
To undo this PR, restore the previous file content for
veilend-web/src/app/(dashboard)/page.tsxfrom version control (revert the commit or checkout the file from the previous commit).