feat: Improve the firmware screen - #2984
Merged
Merged
Conversation
…, and toggleable log - Show a determinate per-device progress bar with live percentage during firmware flashing, wired from the mcumgr/kboot write operations through a new moduleFirmwareUpgradeProgress IPC event. - Surface the "connect the left/right half via USB" prompt as a prominent, easily-noticeable warning on the firmware screen via a dedicated IPC signal instead of relying on the update log. - Hide the firmware update log by default and add a Show/Hide toggle that appears once the log has any text. Implements #2593. Co-authored-by: Cursor <cursoragent@cursor.com>
ert78gb
force-pushed
the
feat/firmware-screen-improvements
branch
from
July 9, 2026 11:16
7925546 to
3399daa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the firmware-screen improvements described in #2593:
mcumgrimage upload andkbootwrite-memory operations up through a newmoduleFirmwareUpgradeProgressIPC event and stored per-module.firmwareUpgradeConnectPromptIPC signal, rather than being buried in the update log. It shows only while a cable action is required and clears automatically once the half is connected.Show update log/Hide update loglink appears from the moment the log has any text.Implementation notes
mcumgr.imageUpload,kboot.writeMemory(+ peripheral), and theuhk-operationsflash methods;device.servicereports throttled integer percentages keyed by module name.uhk-commonmodels:ModuleFirmwareUpgradeProgress,FirmwareUpgradeConnectPrompt.progressPercentper module,connectPrompt), and selector output; renderer service listens for the new IPC events.Test plan
Closes #2593
Made with Cursor