feat(QGCCorePlugin): allow hiding initial setup sections - #14864
Conversation
Makes it possible for custom builds to hide either the Vehicle Preferences or Measurement Units section from the initial setup prompt. Hiding both sections omits the prompt. This restores the control available before the two prompts were merged. In addition to this, this commit fixes a bug where the initial setup prompt showed an empty Vehicle Preferences section when only one firmware and one vehicle type are supported. Its heading and description now hide with its controls. The visibility logic that drives this now lives in QGCCorePlugin instead of QML.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #14864 +/- ##
==========================================
+ Coverage 25.47% 33.76% +8.29%
==========================================
Files 769 933 +164
Lines 65912 84625 +18713
Branches 30495 39124 +8629
==========================================
+ Hits 16788 28576 +11788
+ Misses 37285 36840 -445
- Partials 11839 19209 +7370
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 637 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Build ResultsPlatform Status
All builds passed. Pre-commit
Pre-commit hooks: 2 passed, 75 failed, 7 skipped. Test Resultslinux-coverage-integration: 43 passed, 0 skipped Code CoverageCoverage: 69.5% No baseline available for comparison Artifact Sizes
Updated: 2026-08-14 16:18:05 UTC • Commit: 46bd468 • Triggered by: Android |
Description
Makes it possible for custom builds to hide either the Vehicle Preferences or Measurement Units section from the initial setup prompt. Hiding both sections omits the prompt. This restores the control available before the two prompts were merged.
In addition to this, this commit fixes a bug where the initial setup prompt showed an empty Vehicle Preferences section when only one firmware and one vehicle type are supported. Its heading and description now hide with its controls. The visibility logic that drives this now lives in QGCCorePlugin instead of QML.
Type of Change
Testing
Platforms Tested
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the project's dual license (Apache 2.0 and GPL v3).