Files
zitadel/console/src/app/services/overlay/workflows.ts
T
41e60b3d8a feat(console): v2 feature cleanup, fix styling issues, instance naming (#3530)
* new console

* move npm ci to angular build

* rel path for assets

* local grpc copy

* login policy, rm clear views, features rel path

* login_hint param

* edit default color values

* remove features, zitadel-tier, contact styles

* html formatter

* rm feature restrictions, fix theming issues

* instance naming

* statehandler

* rm class

* rm class

* update footer links

* statehandler

* stroked color

Co-authored-by: Livio Amstutz <[email protected]>
2022-04-29 10:25:12 +02:00

69 lines
1.4 KiB
TypeScript

import { CnslOverlay } from './overlay-workflow.service';
export const IntroWorkflowOverlays: CnslOverlay[] = [
{
id: 'orgswitcher',
origin: 'orgswitchbutton',
toHighlight: ['orgswitchbutton', 'orglink'],
content: {
number: 1,
count: 4,
i18nText: 'OVERLAYS.ORGSWITCHER.TEXT',
},
requirements: {
permission: ['org.read'],
},
},
{
id: 'systembutton',
origin: 'systembutton',
toHighlight: ['systembutton'],
content: {
number: 2,
count: 4,
i18nText: 'OVERLAYS.INSTANCE.TEXT',
},
requirements: {
media: '(min-width: 600px)',
permission: ['iam.read'],
},
},
{
id: 'profilebutton',
origin: 'avatartoggle',
toHighlight: ['avatartoggle'],
content: {
number: 3,
count: 4,
i18nText: 'OVERLAYS.PROFILE.TEXT',
},
},
{
id: 'mainnav',
origin: 'mainnav',
toHighlight: ['mainnav'],
content: {
number: 4,
count: 4,
i18nText: 'OVERLAYS.NAV.TEXT',
},
requirements: {
permission: ['org.read'],
},
},
];
export const OrgContextChangedWorkflowOverlays: CnslOverlay[] = [
{
id: 'orgswitcher',
origin: 'orgswitchbutton',
toHighlight: ['orgswitchbutton', 'orglink'],
content: {
i18nText: 'OVERLAYS.CONTEXTCHANGED.TEXT',
},
requirements: {
permission: ['org.read'],
},
},
];