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

Upgrade UI to Vue 3 #469

Open
NiccoMlt opened this issue Apr 10, 2024 · 1 comment
Open

Upgrade UI to Vue 3 #469

NiccoMlt opened this issue Apr 10, 2024 · 1 comment

Comments

@NiccoMlt
Copy link
Contributor

Vue 2 is in end of life: https://v2.vuejs.org/lts/

We should upgrade the admin UI to Vue 3: https://v3-migration.vuejs.org/

NiccoMlt added a commit that referenced this issue Aug 28, 2024
this acts as a foundation for #469
NiccoMlt added a commit that referenced this issue Aug 29, 2024
this acts as a foundation for #469
dmercuriali pushed a commit that referenced this issue Aug 30, 2024
* build(ui): upgrade dependencies

this acts as a foundation for #469

* fix(ui): tackle deprecation warnings

unlocking ESLint showed some warnings that were easy to fix

* feat(ui): add status filter buttons

* feat(ui): add warn box
@NiccoMlt
Copy link
Contributor Author

NiccoMlt commented Sep 3, 2024

Proposed steps:

  1. upgrade dependencies to comply with the latest default Vue CLI Babel setup
  2. drop Babel for Typescript, complying with the latest default Vue CLI Typescript setup
  3. drop Vue CLI for Vite, complying with the latest legacy Vite setup for Vue and Typescript
  4. upgrade Vue support in Vite from 2 to 3

This should allow us to follow the Vue evolution and track down potential problems early.

The alternative is to jump right away to step 4, re-generating the project with Vite and fixing incompatibilities and/or rewriting things. This approach might lead to major rewrites of the UI, but this part is small and straightforward, so it might be acceptable...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant