Skip to content
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

Update NextJS and React #624

Open
5 of 9 tasks
vsaw opened this issue Nov 28, 2023 · 3 comments · May be fixed by #629
Open
5 of 9 tasks

Update NextJS and React #624

vsaw opened this issue Nov 28, 2023 · 3 comments · May be fixed by #629
Assignees
Labels
dependencies Pull requests that update a dependency file
Milestone

Comments

@vsaw
Copy link
Collaborator

vsaw commented Nov 28, 2023

ODC currently uses NextJS 10 which is getting quite old, so that it is no longer supported by recent version of NodeJS (see #602). Therefore Nextjs and other dependencies should be updated.

  • History State
  • TrackerAccuracyView
  • Fix Counter
    • Abort Line drawingg
    • Delete counter Area
    • Missing second circle at line end
    • Counting Direction
  • Remove immutable
  • Test everything
@vsaw vsaw added the dependencies Pull requests that update a dependency file label Dec 4, 2023
@vsaw vsaw added this to the v4.0.0 milestone Dec 5, 2023
@vsaw vsaw self-assigned this Dec 5, 2023
@vsaw
Copy link
Collaborator Author

vsaw commented Dec 5, 2023

Upgrading to Next14 directly is going to be difficult as next-redux-wrapper does not seem to support Next >12.

So we would either need to rewrite the fronted to use the "app" folder structure of Next14 and remove next-redux-wrapper, or we would need to limit upgrades the Next12, the last supported version.

The latter seems favorable to me right now.

@vsaw
Copy link
Collaborator Author

vsaw commented Dec 7, 2023

Upgrading to NextJS 12 directly did not work. Will now take the long road and upgrade to v11 first before talking v12. See also https://nextjs.org/docs/pages/building-your-application/upgrading/version-11

@vsaw
Copy link
Collaborator Author

vsaw commented Dec 7, 2023

Or Maybe I made mistakes migrating the next-redux-wrapper. See https://github.com/kirill-konshin/next-redux-wrapper

@vsaw vsaw linked a pull request Dec 11, 2023 that will close this issue
vsaw pushed a commit to vsaw/opendatacam that referenced this issue Dec 13, 2023
I will update and ammend this commit until I migrated all Redux code to Redux v5.
In the mean time this commit may break the build.

Closes opendatacam#624
vsaw pushed a commit to vsaw/opendatacam that referenced this issue Dec 20, 2023
I will update and ammend this commit until I migrated all Redux code to Redux v5.
In the mean time this commit may break the build.

Closes opendatacam#624
vsaw pushed a commit to vsaw/opendatacam that referenced this issue Dec 21, 2023
I will update and ammend this commit until I migrated all Redux code to Redux v5.
In the mean time this commit may break the build.

Closes opendatacam#624
vsaw pushed a commit to vsaw/opendatacam that referenced this issue Dec 27, 2023
I will update and ammend this commit until I migrated all Redux code to Redux v5.
In the mean time this commit may break the build.

Closes opendatacam#624
vsaw pushed a commit to vsaw/opendatacam that referenced this issue Dec 27, 2023
I will update and ammend this commit until I migrated all Redux code to Redux v5.
In the mean time this commit may break the build.

Closes opendatacam#624
vsaw pushed a commit to vsaw/opendatacam that referenced this issue Dec 27, 2023
I will update and ammend this commit until I migrated all Redux code to Redux v5.
In the mean time this commit may break the build.

Closes opendatacam#624
vsaw pushed a commit to vsaw/opendatacam that referenced this issue Dec 27, 2023
I will update and ammend this commit until I migrated all Redux code to Redux v5.
In the mean time this commit may break the build.

Closes opendatacam#624
vsaw pushed a commit to vsaw/opendatacam that referenced this issue Dec 28, 2023
I will update and ammend this commit until I migrated all Redux code to Redux v5.
In the mean time this commit may break the build.

Closes opendatacam#624
vsaw pushed a commit to vsaw/opendatacam that referenced this issue Dec 28, 2023
I will update and ammend this commit until I migrated all Redux code to Redux v5.
In the mean time this commit may break the build.

Closes opendatacam#624
vsaw pushed a commit to vsaw/opendatacam that referenced this issue Jan 11, 2024
I will update and ammend this commit until I migrated all Redux code to Redux v5.
In the mean time this commit may break the build.

Closes opendatacam#624
vsaw pushed a commit to vsaw/opendatacam that referenced this issue Jan 11, 2024
I will update and ammend this commit until I migrated all Redux code to Redux v5.
In the mean time this commit may break the build.

Closes opendatacam#624
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

1 participant