1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-13 11:29:54 +03:00
Commit graph

16 commits

Author SHA1 Message Date
Mark Haslinghuis
317ef9c17f
Upgrade Vite (#4380) 2025-03-12 17:16:19 +01:00
Mark Haslinghuis
c2b3789859
Update Vue (#4258)
* Update Vue

* Fix sonar

* Fix as many Vue3 issues as possible

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.

---------

Co-authored-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
2025-02-20 15:57:44 +01:00
jesuslg123
a240a1608e
Fix Three.js no WebGL mode (#4351)
Fix Three.js no webgl usage

The version of Three.js used still has support for non WebGL 3D
rendering, but the implementation was broken due to the library
internal changes.

This PR bring back the support adding the needed files and making
changes to make it work. Also in order to improve perfomance for
low end devices, the one missing WebGL only, there is the option
to change detail tolerance on legacy mode.

This mode can now be enable via options flag on main menu.
2025-02-20 13:56:08 +01:00
Ivan Efimov
f0c0a98163
FIX for motor dialogs for web? Or not the fix (#4158)
copy compoenents folder to web release
2024-09-06 09:44:30 +02:00
Míguel Ángel Mulero Martínez
1a979e3105
Add script to generate the capacitor.config.json file (#4075)
In this way we can generate the modifications for android with live reload automatically.
2024-07-01 16:34:10 +02:00
Míguel Ángel Mulero Martínez
bb6482bd6e
Change Vite register type to prompt for PWA (#4059) 2024-06-25 15:11:20 +02:00
Míguel Ángel Mulero Martínez
e8d9e5043d
Rename receiver_msp/index.html by receiver_msp/receiver_msp.html (#3941) 2024-05-10 09:16:12 +10:00
Míguel Ángel Mulero Martínez
df226eacd3
Adjust title/name to be in coherence with Blackbox (#3934) 2024-05-10 09:04:32 +10:00
Míguel Ángel Mulero Martínez
d354567129
Fix MSP Radio emulator in PWA (#3939)
* Fix MSP Radio emulator in PWA

* Fix MSP Radio Emulator for PWA build
2024-05-07 23:07:56 +02:00
Tomas Chmelevskij
509811e0c8
feat: add basic offline pwa support (#3718) 2024-01-03 21:25:58 +01:00
Mark Haslinghuis
ec0ceb6911
Fix rev (#3652)
* Fix rev

* Remove COMMITHASH

* Use manifest for Android too

* Fix copy pasta
2023-12-01 19:58:32 +01:00
J Blackman
d6575e175f
Adding version details to the PWA (#3606)
* Adding version details to the PWA

* Created a coded version.js that can be loaded as a module.

* Reverting, and simply identifying the permissible global vars for Vite

* Update .eslintrc.js

Removing whitespace

* Update vite.config.js
2023-10-17 02:55:42 +02:00
Vít Semrád
5f13c076f7
Feature: Vite Build (#3569)
* Feature: Vite Build MVP

* Chore: Readme, default ports, remove lock

* Fix: Return yarn lock

* Fix: Use different plugin that works in dev too
2023-09-08 23:44:17 +02:00
Tomas Chmelevskij
3c80a41097
fix: load 3d models when in web build (#3562) 2023-09-04 10:31:22 +02:00
Tomas Chmelevskij
ff4b62d7e2
Feat/vite build (#3292)
feat: vite based web build

* configure vitejs build
* add web serial option
2023-08-31 20:01:06 +02:00
Tomas Chmelevskij
c086395def
Refactor msp to modules (#3214)
* feat: refactor everything to modules

* fix: a lot of circular deps fixes

* feat: use vitest instead of karma
2023-01-14 22:11:37 +01:00