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:
@@ -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,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user