-
-
Notifications
You must be signed in to change notification settings - Fork 937
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 Vue #4258
Update Vue #4258
Conversation
✅ Deploy Preview for origin-betaflight-app ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
5856f0d
to
8582462
Compare
4e7d763
to
f76d591
Compare
9cab0fa
to
d7cdf38
Compare
69626de
to
878857a
Compare
5fa885e
to
e215b1e
Compare
The biggest problem is with arrays. Vue3 is not detecting well reactivity in some arrays because we have the view and the logic in different files, so we can't access the reactivity proxy in a clean way. I've added reactivity in the definition of the modules affected as a workaround, but I'm sure there must be a better way.
|
|
@nerdCopter yes there seems to be a difference between local or deployment preview and online version. Added a new PR to improve logging. |
I can't reproduce it. If I have the FC connected, and go to https://master.dev.app.betaflight.com/ the FC appears as selected in the combo and if I have autoconnect enabled it connects. |
reset permissions & clear cache then close Chrome. plugin FC. start Chrome/app. |
It's difficult to me to reproduce. I've reproduced it only connecting to https://master.dev.app.betaflight.com/ and not always but there I've not too much information. In local I haven't reproduce it. I'm not too sure what this implies. |
Attempting to reconstruct and apply basic migration from 4169 to keep it alive
yarn remove @vitejs/plugin-vue2 yarn remove @panter/vue-i18next yarn remove vue-template-compiler yarn add @vitejs/plugin-vue yarn add vue yarn add tiny-emitter yarn add i18next-vue # yarn add vite --dev yarn add vue-template-compiler --dev yarn add @vue/compiler-sfc --dev // no longer needed
Issue is using Vue v3 elements are not updated. Changing options won't reflect for manual, virtual mode. Does not show DFU mode etc. Like the events don't fire or don't reach...
See comment: #4169 (comment)
EDIT: last commit solves the issue with reactive behavior - major thanks to @McGiverGim