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

7183 commits

Author SHA1 Message Date
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
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
Marc Frank
6696b93371
add x sampling to throttle curve preview to match firmware (#4439)
* add x sampling to throttle curve preview to match firmware

* Clamp throttle value to the range [0, 1] in PID tuning initialization to avoid  senseless output

* revert previous change and clamp expothr to 0..100

* fix throttle curve preview when throttle limit is scale

* ¯\_(ツ)_/¯ AI rewrite of the  redrawThrottleCurve() function. Could not get the Throttle Limit type Clip to draw correctly. This works perfectly.

* revert control point movent to 4.5 method

* conciseify comments
2025-05-09 22:33:24 +02:00
Mark Haslinghuis
c5f5e15a6a
Fix backwards compatibility for sensor info (#4464) 2025-05-06 22:45:58 +02:00
github-actions[bot]
6f35f09114
Update translations (#4463)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-05 16:39:52 +02:00
David Anson
7e807c8d5c
Update Setup tab to hide build type/info/firmware when not available (#4459) (#4460)
Update Setup tab to hide build type/info/firmware when not available
2025-05-05 15:57:25 +02:00
Mark Haslinghuis
1a3a94938a
Fix GNSS status icon when fix is attained without sat info (#4461)
Fix GNSS status when fix is attained without sat info
2025-05-05 15:23:01 +02:00
Jay Blackman
27791d909e
Add coderabbit config (#4458)
* Add coderabbit config

- removing netlify.toml

* Request changes?
2025-05-03 23:21:28 +02:00
Jay Blackman
b65506458c
Ensure single comment is created (#4457)
* Ensure single comment is created

* Give it a branch name
2025-05-03 20:12:34 +10:00
Mark Haslinghuis
fe72268dbd
Update OS check (#4456)
* Update OS check

* Add MacOS
2025-05-02 22:22:16 +02:00
Mark Haslinghuis
5af689616f
Fix serial (#4449)
* Improve serial

* Add autodetect changes
2025-05-02 21:26:15 +02:00
Jay Blackman
44976bd199
Update Deploy Preview to use pull_request_target
Access to secrets is not possible with PR from fork. 

Caution will need to be had around allowing commits to this yml file in the future.

Not that secrets should not be available to code itself (actions with params only).
2025-05-02 08:51:04 +10:00
Wolfgang
69e2e36a64
Add DroneBridge Bluetooth LE device definition (#4454) 2025-05-01 21:51:15 +02:00
David Anson
fd5156e622
Add Firmware/Download to Setup tab, add ':', formatting (#4444) (#4450)
* Add Firmware/Download to Setup tab, add ':', formatting (#4444)

* Implement PR feedback (squash this commit)
2025-05-01 18:43:18 +02:00
dependabot[bot]
ed319b652b
Bump vite from 6.2.6 to 6.2.7 (#4452)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.6 to 6.2.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.2.7
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-01 09:27:48 +10:00
Jay Blackman
2f5e3b6d24
Update deploy-preview.yml 2025-05-01 08:57:06 +10:00
Jay Blackman
42ad93cff8
Update deploy-preview.yml (#4453) 2025-05-01 08:49:38 +10:00
Jay Blackman
4a9cfe6b2f
Update deploy-preview.yml 2025-05-01 08:12:20 +10:00
Jay Blackman
4a1327a525
Update deploy-preview.yml 2025-05-01 08:11:52 +10:00
Jay Blackman
9ec4a46f58
Create YML file for deploying a PR preview (#4451) 2025-05-01 06:56:52 +10:00
Benedikt Kleiner
3f069c3c82
modify wing mixer preview to be legible in darkmode (#4446) 2025-04-29 19:08:00 +02:00
Mark Haslinghuis
34f8ad9c4c
Add GD32 VCP support (#4441)
* Add GD32 VCP support

* Reorder
2025-04-29 18:51:05 +02:00
github-actions[bot]
01f879ce1f
Update translations (#4445)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-04-28 16:31:16 +02:00
Mark Haslinghuis
ddfc76217d
Fix dfu permissions (#4438)
* Request permission before connecting DFU device

* Fix DFU permissions

* Little refactor
2025-04-26 11:58:17 +02:00
Mark Haslinghuis
3022548342
Do not use OSD selection for 4.3.x (#4437) 2025-04-26 11:55:53 +02:00
Mark Haslinghuis
a062a9c4e3
Cleanup reinitializeConnection (#4423)
handle autoconnect when disabled

Remove ancient code

Remove redundant callback

Resolve bluetooth reboot when autoconnect is disabled

More cleanup

Fix parameters in servos tab
2025-04-21 23:08:46 +02:00
Mark Haslinghuis
54f441d959
Fix caching issue (#4425) 2025-04-21 22:59:50 +02:00