Skip to content

Conversation

@chmelevskij
Copy link
Member

@chmelevskij chmelevskij commented Aug 19, 2022

  • refactor GUI to be class based
  • use import instead of global where possible
  • use esm module for gui.js

@chmelevskij chmelevskij force-pushed the chore/move-gui-to-modules branch 5 times, most recently from cf48b50 to a37ab86 Compare August 21, 2022 05:43
<script type="text/javascript" src="./js/port_handler.js"></script>
<script type="text/javascript" src="./js/port_usage.js"></script>
<script type="text/javascript" src="./js/serial.js"></script>
<script type="text/javascript" src="./js/gui.js"></script>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anything what needed initialisation gets called with import of main.js

@@ -1,4 +1,4 @@
'use strict';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modules are in strict mode by default

@chmelevskij chmelevskij marked this pull request as ready for review August 21, 2022 05:44
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@blckmn
Copy link
Member

blckmn commented Aug 21, 2022

AUTOMERGE: (FAIL)

  • github identifies PR as mergeable -> FAIL
  • assigned to a milestone -> PASS
  • cooling off period lapsed -> PASS
  • commit count less or equal to three -> PASS
  • Don't merge label NOT found -> PASS
  • at least one RN: label found -> PASS
  • Tested label found -> FAIL
  • assigned to an approver -> PASS
  • approver count at least three -> FAIL

@McGiverGim
Copy link
Member

I think I don't receive a mail when changed from draft to ready to review. It seems ok to me.

@haslinghuis haslinghuis added this to the 10.9.0 milestone Sep 15, 2022
@haslinghuis
Copy link
Member

Android build is failing as other builds are cancelled.

@chmelevskij chmelevskij force-pushed the chore/move-gui-to-modules branch from a37ab86 to 91bb2fd Compare December 28, 2022 19:08
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link
Contributor

Do you want to test this code? Here you have an automated build:
Betaflight-Configurator-Android
Betaflight-Configurator-Linux
Betaflight-Configurator-macOS
Betaflight-Configurator-Windows
WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

@haslinghuis haslinghuis merged commit 483dec9 into betaflight:master Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants