-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Next to version 14 #1719
Conversation
So that very naive version bump commit gave the following error. I asked Copilot what could be causing that, and it said:
The code in the follow-up commit is more or less Copilot's suggestion except with its usual silly mistakes corrected. It seems to have progressed the build to the next error, so a successful first step. |
The next error's |
The one remaining issue I can see now when looking around the pages is that there have been some sort of changes to links. The MUI links now render in blue, and errors are thrown in some places because the Nextjs In the meantime @henrycatalinismith, maybe you can start playing with merging the work from this branch with the survey work, and begin moving the public survey page over to the app router? |
2568f13
to
e226b89
Compare
|
Here's a sped-up screen recording showing a random series of interactions throughout the admin interface after running 14.mov |
Nice work! I will look more closely into this after we release some stuff that's in the pipeline. |
We have recently merged the new importer (huge PR #1599). Can you try merging |
a61b925
to
0175e2f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've looked at this more closely and I think it looks fine. I'd like us to merge #1793 into this first though, so that we can get a preview live and have more people play around with it before we merge. Will request review there!
Deployment fixes on Next 14
Public link for Vercel deployment: https://app-zetkin-org-git-issue-1718-next-v13-upgrade-zetkin.vercel.app?_vercel_share=G8GmbHFJC4sCBM5FLmEra96mb7ru08Kg |
Super nice to have the upgrade!! I have clicked around and did not experience anything strange, so it's a yes for me! :D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have reviewed all the code, and also looked around the deployed preview, and I agree that it all looks good. Let's merge!
This PR upgrades from Next v12 to Next
v13v14. The general idea here is to take this a little bit slowly and break it up into very clearly differentiated steps. Ideally this PR will closely follow the official v13 upgrade instructions because nothing will go wrong that takes us outside that happy path.To get this started, I'm just pushing a plain
package.json
&yarn.lock
update because I think it'll be fun to surface any immediate build errors in public.