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

32 commits

Author SHA1 Message Date
haslinghuis
c625741604
Restore experimental backup and restore only for virtual and fw below 4.3 (#3134)
Restore backup and restore
2022-12-11 23:22:12 +01:00
haslinghuis
867b59d204
Bump API_VERSION_ACCEPTED and semver cleanup (#3104)
Firmware flasher: build config help icons style fix (#3092)

Co-authored-by: Ivan Efimov <gendalf44@yandex.ru>
2022-12-11 04:55:14 +01:00
haslinghuis
09355c25d0
Update MSP2TEXT command (#3096)
Fix constants for MSP2TEXT command
2022-12-02 02:40:46 +01:00
Krasiyan Nedelchev
3873f82c23 Add 'Pilot name' to the Configurator UI; rename 'Display name' to 'Pilot name'; rename 'name' to 'craft_name'
- add pilot name (display_name) to the Configuration tab

  - add handling for the 'MSP2_GET_TEXT' and 'MSP2_SET_TEXT' commands

    - with support for the 'MSP2TEXT_PILOT_DISPLAY_NAME' ('displayName') config prop

  - backup handling of the 'displayName' config prop

  - add a text field to configure the pilot name in the 'Configuration/Personalization' box

    - using the 'display_name' FC config prop and the 'MSP2_GET_TEXT' / 'MSP2_SET_TEXT' MSP commands
    - add tooltips for both the 'Craft name' and 'Pilot name' fileds

  - rename the 'Display name' OSD element to 'Display name (Pilot name)'

    - expand the tooltip descriptions of 'Craft name' and 'Display name (Pilot name)'
    - change the default 'DISPLAY_NAME' OSD element preview to 'PILOT_NAME'

  - remove the default 'JOE PILOT' string value of the 'displayName' FC initial config

  - backwards compatibility handling for 'display_name' pre MSP v1.45

- rename 'display name' to 'pilot name'

  - add 'FC.CONFIG.pilotName' in place of 'FC.CONFIG.displayName'
  - add the 'PILOT_NAME' OSD element and keep backwards compatibility
    for the 'DISPLAY_NAME' OSD element (depending on the MSP version)

- rename 'FC.CONFIG.name' to 'FC.CONFIG.craftName'

  - add the 'MSP2TEXT_CRAFT_NAME' const for 'MSP2_GET_TEXT' / 'MSP2_SET_TEXT'
  - use 'MSP2_GET_TEXT' / 'MSP2_SET_TEXT' to get/set 'FC.CONFIG.craftName'
  - keep full backwards compatibility pre MSP v1.45 (using the legacy 'MSP_NAME' / 'MSP_SET_NAME')
2022-10-26 02:17:23 +02:00
Mark Haslinghuis
e85b706ad6 Fix cli output
Fix rememberLastTab

Fix sonar issues
2022-07-28 19:42:38 +02:00
Mark Haslinghuis
f5dab89965 fix_reboot
Fix clicks

reinitializeConnection should be callback

MSP fix
2022-02-20 14:21:57 +01:00
Tomas Chmelevskij
8cf9473c88 chore: add prefer template rule 2022-01-18 12:29:53 +01:00
Tomas Chmelevskij
03690e087f chore: add comman dangle rule for multiline 2021-12-18 08:21:05 +01:00
Tomas Chmelevskij
616c2e796d chore: add semi rule to the linter and run --fix
Adds semicolon to the linter rules.
2021-02-14 07:37:03 +01:00
Michael Keller
7bce56eaf7
Merge pull request #2322 from haslinghuis/backup_restore 2020-12-31 23:25:39 +01:00
Mark Haslinghuis
21740624bf Change lexical scope backup_restore 2020-12-31 22:49:26 +01:00
visdauas
030a75a89e Added Virtual Mode 2020-12-28 17:24:34 +01:00
Mark Haslinghuis
431aa6bac8 Fix and add check for chrome.runtime.lastError 2020-12-20 06:17:29 +01:00
Miguel Angel Mulero Martinez
fd35031e6f Replace API versions by constants 2020-10-15 08:58:18 +02:00
Miguel Angel Mulero Martinez
9c6ad8500c Refactor and Sonar clean of Beeper.js 2020-10-01 12:05:36 +02:00
Miguel Angel Mulero Martinez
24010a2e2a Move FC global vars inside FC object 2020-07-06 09:23:58 +02:00
WalcoFPV
4f93e54ae6 Cordova framework integration, Android support, mobile UI & options tab
Cordova integration and android platform :
- Added cordova directory with required config
- Added cordova applications generation in gulpfile
- Added cordova development instructions
- Used cordova plugins to simulate missing chrome api  plugins (chrome.serial and chrome.fileSystem)
- Added cordova clipboard support
- Added android operating system and Cordova gui mode
- Fixed some css and js files to make them working on Android as well as on computers
- Added --skipdep argument to accelerate cordova build (gulp task)
- Added a webview helper to help people to update the webview app of their device

New options tab :
- Added options tab replacing the options dropdown
- Added option to switch between phones UI and computers UI

Mobile interface and global interface improvements :
- Simplified the structure of the header with flex css
- Made headerbar and tab container responsive (compact headerbar and side menu)
- All tabs are adapted to mobile interface (except firmware flasher)
- The servos and adjustments tabs are not fully adapted but are "usable"
- Improved header bar animation
- Improved log expandation animation
- Added swipe gesture to toggle side menu

Fixes during the development :
- Logo position
- Dark mode
- Auto connection
- Error messages (cordova_chromeapi.js)
- Responsive grid
- Testing
- Disconnection
- Width of boxes inside the OSD tab
- Fixed cli tab
- OSD tab
- Motor stop switch
- White spaces in boxes
- Dialogs size
- Connect button state
- Prevent tablet with a height larger than 575px to switch to computers ui
- Fixed logging tab
- Fixed code smell
- Fixed yarn cordova plugin install issue
- Fixed content_wrapper
- Fixed vibrations when scrolling
- Fixed scrolling bar alignment
- Fixed dialogReportProblem height
- Fixed rates logo
- Fixed auto connection default value (true)
- Fixed D to D max
- Fixed dialogs

Added required messages in locales/en/messages.json file

Requested changes
2020-07-03 16:19:33 +02:00
mikeller
59cb2d29a0 Removed unused compass declination setting. 2020-05-02 23:16:06 +12:00
mikeller
eb6e269467 Added warning when connecting to firmware newer than configurator. 2020-04-12 17:37:09 +12:00
Miguel Angel Mulero Martinez
09e2f6d231 Remove tabs and some trailing spaces 2019-11-03 13:46:19 +01:00
Kyle K
3fb1d96370 read version information from... version.json 2019-08-12 20:19:26 +00:00
Dave Huber
97435b35ab Move MODE_RANGES_EXTRA code 2019-02-10 10:19:45 -06:00
Dave Huber
5718f4db3c Add MODE_RANGES_EXTRA to backup restore 2019-02-08 16:38:52 -06:00
Sean M
ab83c79315 Add display name to config, backup/restore and OSD 2019-02-01 01:36:51 +13:00
mikeller
d9e8330997 Added more metrics, fixed bug in CLI save. 2018-08-10 09:33:09 +12:00
mikeller
eec1388a2d Set file type descriptions for open / save dialogs. 2018-07-17 22:01:18 +12:00
Sean M
6443401e32 Remove async on promises 2018-07-09 10:56:00 -04:00
Sean Moriarty
70c839eb3a Check for valid PID_ADVANCED values 2018-07-08 12:24:21 -04:00
Sean M
ef00402976 Fix configuration load/save for board and sensor alignment, craft name, DShot Beacon, ESC/Motor features, beeper, mixer, accelerometer, barometer and magnetometer 2018-07-08 12:24:21 -04:00
Cleric-K
6700a1f9a4 Support for failsafe-switch-mode 2018-05-30 01:48:08 +03:00
Miguel Angel Mulero Martinez
0a71f1e559 Use i18next as i18n framework 2018-01-27 12:19:17 +01:00
Bas Delfos
24c81375a4 Move src files 2018-01-24 22:50:40 +01:00
Renamed from js/backup_restore.js (Browse further)