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

Disco day may 2024 - explore new date picker for VZV #17132

Open
roseeichelmann opened this issue May 3, 2024 · 0 comments
Open

Disco day may 2024 - explore new date picker for VZV #17132

roseeichelmann opened this issue May 3, 2024 · 0 comments
Labels
Product: Vision Zero Viewer A public-facing interactive web map/app which shows data related to Vision Zero

Comments

@roseeichelmann
Copy link

roseeichelmann commented May 3, 2024

We need to find a new date picker module for vzv!

Options:

  • react-datepicker. This is what we use as our datepicker in VZE. Would make sense to use the same datepicker across the VZ suite. I tested installing it in VZV with the latest version 6.9.0, but im getting this error... it will only work if we revert to an older version like 2.9.6 bc of our super outdated create-react-app version... seems kinda not great?
    • Follow up - I upgraded our CRA react-scripts version to 5.0 so that I could use the latest version of react-datepicker and also fixes some of our npm vulnerabilities... then i ran into this error bc of a package we have that requires pollyfills, hookrouter, which has an archived repo 💀 so perhaps we should migrate to react-router which is actually maintained ORR
    • What if we migrate VZV to Next.js??? Would solve all of these problems! ^
      • Nextjs has routing built in
      • Its better :)

To recap: this discovery day started with trying to find a new date picker package and snowballed into me upgrading CRA and then suggesting we migrate away from CRA to Nextjs or some other framework that will be better for our use case

@roseeichelmann roseeichelmann added the Product: Vision Zero Viewer A public-facing interactive web map/app which shows data related to Vision Zero label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product: Vision Zero Viewer A public-facing interactive web map/app which shows data related to Vision Zero
Projects
None yet
Development

No branches or pull requests

1 participant