1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00
Commit graph

7208 commits

Author SHA1 Message Date
Vitroid
dec455a103
Merge bbf4a01723 into be45ddf05e 2025-07-16 17:23:48 +02:00
Mark Haslinghuis
be45ddf05e
Refactor GYRO debug modes (rename to MULTI_GYRO) (#4541)
Refactor GYRO debug modes
2025-07-15 17:22:36 +02:00
Mark Haslinghuis
9803301682
Prevent GATT operation in progress (#4540) 2025-07-14 21:53:09 +02:00
github-actions[bot]
90d7094f9c
Update translations (#4534)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-07-14 19:47:05 +02:00
Mark Haslinghuis
04ea058b30
Fix OSD search (#4533) 2025-06-30 14:55:50 +02:00
Mark Haslinghuis
bc1bb3e096
Fix virtual modes / messages (#4532) 2025-06-30 14:54:25 +02:00
David Anson
183e89419d
Replace all 4 instances of jBox-style modal dialog boxes with HTML dialog element (#4484)
* Replace all 4 instances of jBox-style modal dialog boxes with HTML dialog element

Notes:
- The Power & Battery (2), OSD, and CLI tabs have been updated accordingly
- HTML default control behavior was used whereever possible
- HTML indent for the dialog tag is deliberately off to minimize diff noise in GitHub
- Layout is not 100% identical, but spiratually the same - in most cases no changes were needed
- OSD’s Font Manager dialog didn’t transition cleanly, so includes some slight restyling
- OSD Font Manager previously had a green background/color for the graphic - that “just works” now
- Specific cleanup (i.e., calling destroy()) does not seem necessary and was removed
- Removal of jBox from setup.js and global scope seems not to affect jBox tooltips
- Replacement of single quotes with double in main.js was done automatically by Prettier

* Fix unclickable "Select custom image..." button in OSD tab due to overlapping layout; replace with CSS grid.

* Update OSD's Font Manager dialog to not have scroll bars by default (PR feedback).

* Update OSD's Font Manager dialog to remove overflow-y:scroll in order to avoid even a disabled scroll bar on some platforms/browsers (PR feedback).
2025-06-27 21:29:10 +02:00
Mark Haslinghuis
f068b1a67c
Add support for IMU3+ (Gyro Fusion) (#4490)
Add support for IMU3+
2025-06-23 21:35:30 +02:00
Mark Haslinghuis
c45a72e6ea
Fix webserial device not found (#4529)
* Fix webserial device not found

* Remove webserial portcounter
2025-06-23 20:30:02 +02:00
github-actions[bot]
9864ab7b34
Update translations (#4531)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-06-23 20:27:50 +02:00
Syahmi Zul
a571c78db2
UI : Preset positioning for elements in OSD (#4516)
* feat : Added preset positioning for elements in OSD

* fix : Memory leak fix

* fix : Global click handler is (re)bound once per field – memory-leak & duplicate callback risk

* feat & fix : made this actually work with advanced elements and now it should account the height

* refactor : reverted the change done on searchLimitsElement

* refactor : css cleanup

* fix : modified the z-index value since the tooltip was blocking it

* fix : some more missing fixes

* fix : more coderabbit fixes

* refactor : moved the menu hiding function to the module scope ,also renamed the function

* fix : coderabbit changes suggestion

* feat: recoded everything.

* fix : coderabbit changes

* refactor: modularize grid setup functions for better readability and maintainability

* refactor : coderabbit changes

* fix: clarify comments for inclusive range calculation and offset adjustments in OSD positioning

* fix: improve null checks and simplify error logging in OSD position application

* fix : fixed an issue where this didn't work on an actual device

* fix : fixed an issue where it was firing applyPosition multiple times

- It seems that if applyPosition is fired multiple times,the decode function would randomly fail.
2025-06-21 22:15:19 +02:00
Jay Blackman
3052b32966
PICO: Adding USB serial filter for PICO boards (#4521)
* PICO: Adding USB serial filter for PICO boards

* Updating based on coderabbit suggestion

* Devices may need updating once permissions are granted

* Checks for refresh
2025-06-20 20:58:16 +02:00
MikeNomatter
338c2d4444
Show vtx tab only when vtx build option used (#4526)
Move vtx from defaultAllowedTabs to defaultCloudBuildTabOptions
2025-06-20 20:57:13 +02:00
Mark Haslinghuis
4d8d3fd133
Fix auto-connect (#4523)
* Fix auto-connect

* Simplify

* Remove unneeded condition
2025-06-19 23:23:26 +02:00
Jay Blackman
5da844f020
REFACTOR: Removing a number of tracking events (superfluous) and combining others. (#4524)
* REFACTOR: Removing a number of tracking events (superfluous) and combining others.

* Removed unused dec
2025-06-19 23:23:04 +02:00
Jay Blackman
ed2e939e78
UI: Reduce size of switchery selectors (#4525) 2025-06-19 23:22:14 +02:00
github-actions[bot]
b52b4fea66
Update translations (#4519)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-06-17 20:32:36 +02:00
Mark Haslinghuis
7dd84f4cb8
Make loading GL transform less verbose (#4520)
* Make loading GL transform less verbose

* coderabbit strikes again
2025-06-17 17:54:36 +02:00
Vitroid
d8d5612ba7
Feature: Add modified loader to load arbitrary html as Vue apps (#4518)
* Refactor: Move Vue components to a dedicated module

* Feature: Add Vue component loader for tabs

* Refactor: Use agnostic loader naming

* Chore: Fix SonarCloud issue

* Enhancement: Improve Vue app cleanup process, add logging

* Refactor: Simplify Vue app mounting and enhance callback handling
2025-06-17 17:33:29 +02:00
Mark Haslinghuis
01503dc4fe
Fix missing callback (#4509)
* Add missing callback

* Add missing callback for bluetooth

* Fix async error handling and timing issues

* Fix bytesSent
2025-06-15 23:01:49 +02:00
Mark Haslinghuis
16ae2ac65f
cleanup and explicit use web prefix for protocols (#4500)
* cleanup

* more cleanup

* Reset connectionInfo

* Fix todo

* Fix default

* More explicit
2025-06-14 23:40:40 +02:00
Vitroid
52d3b8dbc5
Fix: Add null checks for search parameters, allowing proper functiona… (#4517)
* Fix: Add null checks for search parameters, allowing proper functionality

* Refactor: CodeRabbit nitpick to add array check
2025-06-14 00:51:39 +02:00
Mark Haslinghuis
a2474d9aec
Fix intermittent mouseover handler undefined issue (#4507)
* Fix intermittent mouseover handler handling

* Use optional chain expression
2025-06-13 23:10:34 +02:00
Mark Haslinghuis
a6f744d1a3
Fix range for angle_limit (#4512) 2025-06-13 23:09:29 +02:00
Mark Haslinghuis
f4f704ad34
Add IMM42652 (#4513) 2025-06-13 23:08:26 +02:00
Mark Haslinghuis
1457bccb76
Fix violation in motor slider events (#4514)
* Fix violation in motor slider events

* Fixes per review coderabbit
2025-06-13 23:06:34 +02:00
David Anson
dafacbd8e4
Represent OSD font characters using text/SVG instead of canvas/PNG for better performance (OSD tab loads in roughly half the time on an older Chromebook). (#4497) 2025-06-09 20:08:38 +02:00
Mark Haslinghuis
bbd99ea3ca
Fix duplicate ID (#4503) 2025-06-09 20:05:29 +02:00
github-actions[bot]
52ca9ebcaf
Update translations (#4506)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-06-09 19:38:40 +02:00
github-actions[bot]
1ff56c407b
Update translations (#4491)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-06-04 19:20:02 +02:00
Mark Haslinghuis
e85dbb71fd
Update sensor_types.js (ICM40609D) (#4492)
* Update sensor_types.js

* Fix quotation mark
2025-06-04 19:19:02 +02:00
Anwar Minarso
08e174821c
Upgrade Three.js to r176 & Adopt GLTF for 3-D Assets (#4496)
* Upgrade Three.js to r176 and migrate assets to GLTF

###  What’s new
* **Three.js** bumped from **r97 → r176**
* **All existing 3D assets converted to GLTF**
  * Smaller payloads, PBR-ready, future-proof.
* **New assets**
  * `resources/models/airplane.gltf` – ready for immediate use in demos.
  * `resources/models/car.gltf` – base mesh & materials; reserved for upcoming feature work.

* fix: rewrite src/js/model.js per CodeRabbitAI review

* fix: rewrite src/js/model.js per CodeRabbitAI review

Remove redundant Three.js imports

* Fix: Typo in comments

Corrected "modifie" to "modified" in various code comments.

* fix: Include missing fallback.gltf 3D model

This commit adds the 'resources/models/fallback.gltf' file, which was inadvertently excluded from a previous commit. This GLTF file is a converted version of the legacy 'fallback.json' 3D model.

* refactor: Recompress 3D models to reduce file size

This commit replaces existing 3D model assets with newly compressed versions. The recompression aims to significantly reduce file sizes without compromising visual quality, thereby improving overall application efficiency and resource loading.

* feat: Re-enable legacy 3D renderer for low-performance device compatibility

This commit reactivates the legacy 3D renderer, ensuring continued functionality for low-performance devices. This prevents the renderer from becoming a blocking issue for users with less powerful hardware.

Additionally, this update incorporates the latest 'Projector' import from the Three.js examples library into the CanvasRenderer, improving compatibility and leveraging recent advancements
2025-06-04 19:18:13 +02:00
Mark Haslinghuis
1809bb8f92
Add support for ICM45605 and ICM45686 (#4432)
* Add support for ICM45686

* Add ICM45605
2025-05-26 12:00:59 +02:00
Mark Haslinghuis
0214ba32a6
Fix camera angle not being saved (#4487)
* Fix camera angle not being saved

* Make sonar happy, maybe
2025-05-24 22:40:29 +02:00
Mark Haslinghuis
e8841f94f3
Reduce confusion selecting VTX (#4489) 2025-05-24 22:35:57 +02:00
LarryKarhu
b361b00024
adding TFNOVA - which requires firmware update (#4485)
* add switch TF-NOVA

* add sonar checkbox, icons sonar and language localization

* a little cleaning

* Duplication fixed

* changed locales/

* add png osd and delete "TFNOVA"

* add lidar TFNOVA

* add support TFNOVA on firmware >= 1.47

* delete icon 'lidar'

* // delete

* correction
2025-05-24 21:37:44 +02:00
Mark Haslinghuis
0349f3e02a
Include support ID when saving to file (#4483)
* Include support ID when saving to file

* Update src/js/tabs/cli.js

Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>

---------

Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
2025-05-21 23:08:35 +02:00
Mark Haslinghuis
7108ed7bb8
Fix alignment backwards compatibility (#4481)
Fix backwards compatibility
2025-05-21 13:51:10 +02:00
Mark Haslinghuis
e26ba79c8e
Fix throttle curve backwards compatibility (#4478) 2025-05-21 13:26:21 +02:00
VitroidFPV
bbf4a01723 Nitpick: Use non-localized extension URL 2025-05-17 22:46:25 +02:00
VitroidFPV
22912de872 UX: Add extension compatibility note 2025-05-17 22:17:31 +02:00
VitroidFPV
0fcfb6265e Feature: Patch send functions with ArrayBuffer 2025-05-17 22:10:30 +02:00
VitroidFPV
6261d52eb3 Feature: Patch connection status which FF doesn't support 2025-05-17 22:10:30 +02:00
VitroidFPV
01055a03d9 Feature: Add FF compatibility check for webserial 2025-05-17 22:10:29 +02:00
Jay Blackman
9f72b8a8b5
Update .coderabbit.yaml to remove initial placeholder comment 2025-05-17 08:56:37 +10:00
Jay Blackman
36fd8f57c9
Update deploy-preview.yml for short sha (#4475)
* Update deploy-preview.yml for short sha

* Fixing to use pages-deployment-alias-url
2025-05-16 23:32:42 +02:00
nerdCopter
16c3b2ee4a
fix preview checkout (#4468)
* fix preview checkout

* coderabbit recommended issues: write permission

* coderabbitAI implement security improvement

* newline
2025-05-15 20:58:02 +02:00
Mark Haslinghuis
9baef76904
Allow execution when either Web Serial, Bluetooth or USB API is present (#4470)
* Allow execution when either webserial, webbluetooth or webusb API is available

* Fix todo

* Add passing missing properties

* Update browser detection

* Remove commented code

* Indentation

* Update presentation of errorMessage

* cleanup

* Consistency

* Nitpicks

* Remove writeValueWithResponse

* More nitpicks
2025-05-15 19:03:53 +02:00
Mark Haslinghuis
77a719dd2d
Remove last references to chrome.app (#4469)
* Remove last references to chrome.app

* Update reference

* Remove unused import
2025-05-15 00:32:37 +02:00
ke deng
1cecebc8e4
Fix AT32 Configuration can't be saved on MacOS (#4455)
* Fix AT32 Configuration can't be saved on MacOS

* Update src/js/protocols/WebSerial.js

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Change the location of the macOS judgment

* Adding logging for batch write mode detection

* Refactoring for MacOS detection

* fix GUI is not exported

* Change this.logHead to logHead

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-13 00:03:25 +02:00