Skip to content

Frontend: power failsafe/setup updates#3969

Draft
Williangalvani wants to merge 4 commits into
bluerobotics:masterfrom
Williangalvani:power_updates
Draft

Frontend: power failsafe/setup updates#3969
Williangalvani wants to merge 4 commits into
bluerobotics:masterfrom
Williangalvani:power_updates

Conversation

@Williangalvani

@Williangalvani Williangalvani commented Jun 29, 2026

Copy link
Copy Markdown
Member

Summary by Sourcery

Improve power setup and failsafe configuration UX when parameters are unavailable or require a reboot.

New Features:

  • Show a reboot-required warning with a reboot button on the battery power configuration card when parameter changes need an autopilot restart.
  • Display dependency-based availability for failsafe cards, including messages when a failsafe cannot be used due to unmet configuration prerequisites.

Bug Fixes:

  • Ensure reboot-required state is correctly set when changing parameters that need a reboot.

Enhancements:

  • Indicate unavailable power configuration parameters and sensor presets with disabled styling and explanatory text instead of hiding the rows.
  • Allow ParameterLabel to handle missing parameters, visually marking them and explaining unavailability in the tooltip.
  • Add a dependency model to failsafe definitions to express configuration prerequisites such as battery monitoring being enabled.

Williangalvani and others added 4 commits June 29, 2026 12:26
Display parameter labels and a transparent "not found" indicator even when
the parameter is missing, gate the preset selector and editors on parameter
availability, and surface a reboot note with a reboot button since enable
parameters with rebootRequired can hide their dependent parameters until reboot.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant