Uh oh!
There was an error while loading. Please reload this page.
feat: migrate from Pages Router to App Router (Chunk 8) - #70
Open
AzraelSec wants to merge 2 commits into
Open
Conversation
- add app router shell with src/app/layout.tsx and shared providers - migrate / and /jobs routes to app router - remove conflicting pages routes for / and /jobs - refactor tRPC setup to shared TRPCProvider used by both app and pages routers - switch Header to next/compat/router for mixed-router compatibility - keep remaining routes on pages router for incremental migration
Deploying with |
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs | pisadev | 9f403aa | Jun 18 2026, 05:33 PM |
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 freeto 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.
What
Migrate the entire application from Next.js Pages Router to App Router.
Changes
app/layout.tsx,app/providers.tsx)/— server component readingsearchParams, clientpage-client.tsx/jobs— client component/jobs/new,/jobs/mailto— client/server components/event/[slug]— server component withgenerateMetadata,generateStaticParams, tRPCcreateCallerdata fetching/code-of-conduct— server component with metadata/survey/[slug],/survey/[slug]/results,/survey/[slug]/by-question/[questionId],/survey/[slug]/by-correlation/[correlationId]— client components/me/dashboard,/me/events,/me/events/new,/me/events/[slug]/edit,/me/proposals,/me/proposals/new,/me/proposals/[id]— client componentsTRPCProviderfor dual Pages/App Router supportnext/routerwithnext/navigation(useRouter,useParams,usePathname,useSearchParams) across all client componentsHeaderto useusePathnameinstead ofnext/compat/router_app.tsxmetadata (favicons, manifest, theme-color) tolayout.tsxmetadataexport_app.tsxand_document.tsx"use client") to components using hooks:EventbriteCheckout,ProposalForm,PrivacyPolicyLink,AdminOnly,EventAdminInfo,SurveyPageContent.eslintrcoverride to suppress@next/next/no-img-elementfalse positives inpages/api/img/**Notes