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

7193 commits

Author SHA1 Message Date
Syahmi Zul
8c9a027ba4 fix: clarify comments for inclusive range calculation and offset adjustments in OSD positioning 2025-06-19 20:09:45 +08:00
Syahmi Zul
b2e44817cd refactor : coderabbit changes 2025-06-19 18:31:14 +08:00
Syahmi Zul
440d045b18 refactor: modularize grid setup functions for better readability and maintainability 2025-06-19 18:00:27 +08:00
Syahmi Zul
e80d8ce881 fix : coderabbit changes 2025-06-19 17:41:27 +08:00
Syahmi Zul
1b7c990097 feat: recoded everything. 2025-06-19 17:29:26 +08:00
Syahmi Zul
360067d0ce fix : coderabbit changes suggestion 2025-06-15 16:35:51 +08:00
Syahmi Zul
4b656ddc0a refactor : moved the menu hiding function to the module scope ,also renamed the function 2025-06-15 01:24:46 +08:00
Syahmi Zul
1fbd92b745 fix : more coderabbit fixes 2025-06-15 01:11:17 +08:00
Syahmi Zul
7ebca6498c fix : some more missing fixes 2025-06-15 00:59:13 +08:00
Syahmi Zul
26f14a3efc fix : modified the z-index value since the tooltip was blocking it 2025-06-15 00:37:11 +08:00
Syahmi Zul
bbebdb19df refactor : css cleanup 2025-06-14 23:09:38 +08:00
Syahmi Zul
925a610adb refactor : reverted the change done on searchLimitsElement 2025-06-14 21:31:18 +08:00
Syahmi Zul
09477e1dec feat & fix : made this actually work with advanced elements and now it should account the height 2025-06-14 20:56:49 +08:00
Syahmi Zul
94b7d301a0 fix : Global click handler is (re)bound once per field – memory-leak & duplicate callback risk 2025-06-14 02:55:51 +08:00
Syahmi Zul
aeeda5755f fix : Memory leak fix 2025-06-14 02:45:08 +08:00
Syahmi Zul
7df6587912 feat : Added preset positioning for elements in OSD 2025-06-14 01:48:53 +08: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