-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2552 from UltimateHackingKeyboard/fix-differentia…
…te-firmware-upgrade-skipped fix: skipped firmware upgrade icon and explaining tooltip
- Loading branch information
Showing
12 changed files
with
329 additions
and
87 deletions.
There are no files selected for viewing
This file contains 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
5 changes: 5 additions & 0 deletions
5
packages/uhk-common/src/models/currently-updating-module-info.ts
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export interface CurrentlyUpdatingModuleInfo { | ||
forceUpgraded: boolean; | ||
moduleName: string; | ||
newFirmwareChecksum: string; | ||
} |
This file contains 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
24 changes: 24 additions & 0 deletions
24
packages/uhk-common/src/models/module-firmware-upgrade-skip-info.ts
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
export enum ModuleFirmwareUpgradeSkipReason { | ||
/** | ||
* The actually running firmware checksum of the right half or the dongle is matching with the firmware tarball checksum. | ||
*/ | ||
DeviceChecksumMatches = 'DeviceChecksumMatches', | ||
/** | ||
* The actually running firmware checksum of the module is matching with the expected firmware checksum by right half device. | ||
*/ | ||
ModuleChecksumMatches = 'ModuleChecksumMatches', | ||
/** | ||
* The module does not support the firmware upgrade like touchpad. | ||
*/ | ||
NotSupported = 'NotSupported', | ||
/** | ||
* UHK 80 currently does not support the firmware upgrades of the modules. | ||
*/ | ||
Uhk80Limitation = 'Uhk80Limitation', | ||
} | ||
|
||
export interface ModuleFirmwareUpgradeSkipInfo { | ||
moduleName: string; | ||
newFirmwareChecksum: string; | ||
reason: ModuleFirmwareUpgradeSkipReason; | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.