calcom / cal.com

Scheduling infrastructure for absolutely everyone.
https://cal.com
Other
32.34k stars 7.97k forks source link

[CAL-2093] RFC: Incrementally adopt migrate dashboard to Next.js App Router #9923

Open zomars opened 1 year ago

zomars commented 1 year ago

We're planning into slowly start adopting certain areas of the dashboard and migrate them to the new Next.js App Router philosophy. We're expecting this change will help with overall navigation, performance and "snappiness" improvements over the current dashboard.

Nextjs official upgrade guide

Prep-work needed

9930

Move pages to the app directory

Sections to migrate (by priority order)

From SyncLinear.com | CAL-2093

alexbit-codemod commented 1 year ago

[notes from meeting with Omar and Greg]

  1. first we do take care of #9929 (ETA: 21JUL)
  2. then we work on bootstrapping #9930 starting 24JUL. ETA 28JUL.
  3. Then we will be ready for page migrations. we will start with the Event pages which is a complex one but has the biggest potential for perf improvement.
zomars commented 1 year ago

@sean-brydon will explore bootstrapping in parallel

grzpab commented 1 year ago

@zomars can you assign me here?

zomars commented 1 year ago

done!

zomars commented 8 months ago

Currently blocked due to ban issue with app/not-found conflicting with our next.config rewrites https://github.com/vercel/next.js/issues/58945

zomars commented 5 months ago

Currently blocked due to ban issue with app/not-found conflicting with our next.config rewrites vercel/next.js#58945

Found another possible related issue with the rewrite usage with both app dir and afterFiles: https://github.com/vercel/next.js/issues/48002