Implement keyboard shortcuts and workflow changes

This commit is contained in:
2026-08-25 18:51:03 +05:30
parent 1b2ef5126e
commit fa2522e678
36 changed files with 1865 additions and 181 deletions
+4
View File
@@ -7,6 +7,10 @@
-->
<div class="container m-b-10 layout-row layout-lt-md-column align-end gap-1percent">
<button mat-raised-button color="primary" class="m-r-10" (click)="configureShortcuts()">
<fa-icon icon="keyboard" class="m-r-10"></fa-icon>
{{ 'labels.buttons.Configure Shortcuts' | translate }}
</button>
<button mat-raised-button color="primary" class="m-r-10" [routerLink]="['/system', 'roles-and-permissions']">
<fa-icon icon="check" class="m-r-10"></fa-icon>
{{ 'labels.buttons.Permissions' | translate }}
+8 -1
View File
@@ -28,6 +28,7 @@ import { Router, RouterLink } from '@angular/router';
import { AuthenticationService } from 'app/core/authentication/authentication.service';
import { ChangePasswordDialogComponent } from 'app/shared/change-password-dialog/change-password-dialog.component';
import { SettingsService } from 'app/settings/settings.service';
import { KeyboardShortcutsDialogComponent } from 'app/shared/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.component';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
@@ -108,7 +109,13 @@ export class ProfileComponent implements OnInit {
});
}
get tenantIdentifier(): string {
get tenantIdentifier() {
return this.settingsService.tenantIdentifier || 'default';
}
configureShortcuts() {
this.dialog.open(KeyboardShortcutsDialogComponent, {
width: '800px'
});
}
}