feat: device recovery mode (#642)
* add new page and ipc processing * refactor: remove unused references from uhk.js * feat: add device recovery route * refactor: device permission * feat: write firmware update log to the screen * fix: xterm height * feat: add reload button to the recovery page * refactor: deviceConnectionState.hasPermission in appStartInfo * refactor: use correct imports * refactor: move .ok-button css class to the main style.scss * feat: add bootload active route guard * style: move RecoveryDeviceAction into new line * feat: delete reload button * feat: start device polling after device recovery
This commit is contained in:
committed by
László Monda
parent
2cf8044987
commit
653465f0e0
@@ -17,7 +17,8 @@ import {
|
||||
DeviceFirmwareComponent,
|
||||
MouseSpeedComponent,
|
||||
LEDBrightnessComponent,
|
||||
RestoreConfigurationComponent
|
||||
RestoreConfigurationComponent,
|
||||
RecoveryModeComponent
|
||||
} from './components/device';
|
||||
import { KeymapAddComponent, KeymapEditComponent, KeymapHeaderComponent } from './components/keymap';
|
||||
import { LayersComponent } from './components/layers';
|
||||
@@ -105,6 +106,7 @@ import { XtermComponent } from './components/xterm/xterm.component';
|
||||
import { SliderWrapperComponent } from './components/slider-wrapper/slider-wrapper.component';
|
||||
import { EditableTextComponent } from './components/editable-text/editable-text.component';
|
||||
import { Autofocus } from './directives/autofocus/autofocus.directive';
|
||||
import { UhkDeviceBootloaderNotActiveGuard } from './services/uhk-device-bootloader-not-active.guard';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
@@ -176,7 +178,8 @@ import { Autofocus } from './directives/autofocus/autofocus.directive';
|
||||
SliderWrapperComponent,
|
||||
EditableTextComponent,
|
||||
Autofocus,
|
||||
RestoreConfigurationComponent
|
||||
RestoreConfigurationComponent,
|
||||
RecoveryModeComponent
|
||||
],
|
||||
imports: [
|
||||
CommonModule,
|
||||
@@ -211,7 +214,8 @@ import { Autofocus } from './directives/autofocus/autofocus.directive';
|
||||
UhkDeviceInitializedGuard,
|
||||
UhkDeviceUninitializedGuard,
|
||||
UhkDeviceLoadingGuard,
|
||||
UhkDeviceLoadedGuard
|
||||
UhkDeviceLoadedGuard,
|
||||
UhkDeviceBootloaderNotActiveGuard
|
||||
],
|
||||
exports: [
|
||||
UhkMessageComponent,
|
||||
|
||||
Reference in New Issue
Block a user