1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00

[SM-613] Misc Onboarding UX fixes (#4953)

* make dismiss always visible

* reorder tasks; hide create secret task if no projects

* update stories
This commit is contained in:
Will Martin
2023-03-08 16:01:45 -05:00
committed by GitHub
parent 6971c3dca2
commit 54411ea84f
5 changed files with 21 additions and 23 deletions

View File

@@ -91,6 +91,7 @@ export class OverviewComponent implements OnInit, OnDestroy {
) {}
ngOnInit() {
this.stateService.setSMOnboardingTasks(null);
const orgId$ = this.route.params.pipe(
map((p) => p.organizationId),
distinctUntilChanged()
@@ -297,5 +298,11 @@ export class OverviewComponent implements OnInit, OnDestroy {
protected hideOnboarding() {
this.showOnboarding = false;
this.saveCompletedTasks(this.organizationId, {
importSecrets: true,
createSecret: true,
createProject: true,
createServiceAccount: true,
});
}
}