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 Framework7 to v6 and Vue.js to v3 #1069

Closed
eikowagenknecht opened this issue May 25, 2021 · 3 comments
Closed

Update Framework7 to v6 and Vue.js to v3 #1069

eikowagenknecht opened this issue May 25, 2021 · 3 comments
Labels
enhancement New feature or request main ui Main UI question Further information is requested

Comments

@eikowagenknecht
Copy link
Contributor

There have been major new versions of Vue (v3) and Framework7 (v6) with lots of improvements that have not yet been incorporated into the WebUI.

Release notes:

Migrations are described here:

@ghys Are you working on this? Have you already checked if there are packages WebUI needs that are not compatible with Vue v3 yet? If not, I'm willing to give this a shot and start with checking the used packages for obvious problems.

@eikowagenknecht eikowagenknecht added enhancement New feature or request main ui Main UI labels May 25, 2021
@ghys ghys added the question Further information is requested label May 26, 2021
@ghys
Copy link
Member

ghys commented May 26, 2021

Of course it's been considered, and the cost-benefit is being monitored, but I think it's still insufficient to undertake the amount of work that would be required, especially to replace every occurrence of the deprecated prototype extensions (https://framework7.io/vue/migration-from-v5.html#vue-component-extensions) which basically mandates a migration to Vue3's composition API for most if not all components.
So for now it's not in the plans. But if you want to have a look, by all means!

@eikowagenknecht
Copy link
Contributor Author

eikowagenknecht commented May 27, 2021

I've looked at the packages openHAB uses and there are quite some problematic ones:

  • vue-async-computed
    • no vue3 version, vue2 version actively developed
    • probably can be refactored to work without it
  • vue-codemirror
    • no vue3 version, last update 3 years ago
    • seems like there's no replacement (yet?) and codemirror has to be used without the vue package
  • vue-grid-layout
    • vue3 version still in beta with some bugs
  • vue-fullscreen
    • vue3 version in the making, should be ready in 1-2 weeks
  • vue-knob-control
    • vue3 compatibility unclear, last update 2 years ago
  • vue-magic-grid
    • vue3 compatibility unclear, last update 2 years ago, but not used anyways as far as I can see
  • vuetrend
    • vue3 compatibility unclear, last update 2 years ago

The other vue related packages should be usable (soma with migrations) with Vue 3.

@eikowagenknecht
Copy link
Contributor Author

Closing my issues with openHAB that seem to have gone stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request main ui Main UI question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants