feat(console): feature settings (#7713)

* feature settings

* feature component, i18n

* i18n, save settings

* i18n

* reset button, state if system inherited, i18n

* iam.restrictions.read

* refetch feature after reset

* use toggles instead of checkboxes

* i18n

* rm logs

* fix i18n

* show unspecified as inherited

---------

Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
Max Peintner
2024-04-10 16:30:58 +00:00
committed by GitHub
co-authored by Elio Bischof
parent dcfa2f7955
commit 2061d1acdc
24 changed files with 1140 additions and 3 deletions
@@ -32,6 +32,7 @@ import {
FAILEDEVENTS,
EVENTS,
ORGANIZATIONS,
FEATURESETTINGS,
} from '../../modules/settings-list/settings';
import { SidenavSetting } from 'src/app/modules/sidenav/sidenav.component';
import { GrpcAuthService } from 'src/app/services/grpc-auth.service';
@@ -53,6 +54,7 @@ export class InstanceComponent implements OnInit, OnDestroy {
public id: string = '';
public defaultSettingsList: SidenavSetting[] = [
ORGANIZATIONS,
FEATURESETTINGS,
// notifications
// { showWarn: true, ...NOTIFICATIONS },
NOTIFICATIONS,