[WEB-5040] feat: admin react-router migration#7922
Merged
Conversation
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.
Description
This pull request migrates the admin application from Next.js to a React Router + Vite architecture.
It replaces server-side rendering with a modern client-side routing setup and static asset build flow.
Key updates include:
next/link,next/image, and related utilities to ensure smooth migration.Type of Change
Screenshots and Media (if applicable)
N/A — migration affects build and routing structure, not UI appearance.
Test Scenarios
References
https://app.plane.so/plane/browse/WEB-5169/
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Chores
Note
Migrates the admin app from Next.js SSR to React Router + Vite with a static build served via nginx, adds routing/meta/404, dev Express server with API proxy, and fixes admin redirects to trailing-slash paths.
app/root.tsx,app/routes.ts,providers, RROutlet, andmetaexports across pages.app/compat/next/*) forlink,image,navigation; convert assets to?urlimports; remove pagelayout.tsxfiles.core/lib/b-progress) and dedicatedcomponents/404.tsx.vite.config.ts,react-router.config.ts, Express server (server.mjs,server/app.ts) with API proxy; updatepackage.jsonscripts.Dockerfile.adminto build static assets and serve via nginx (nginx/nginx.confat/god-mode); add healthcheck..dockerignore,.gitignore) and Tailwind/PostCSS wiring.general/(trailing slash).@plane/editor/@plane/propelstyles.Written by Cursor Bugbot for commit 9556efc. This will update automatically on new commits. Configure here.