From e23db7013b502c77cb30513edef2e8ef35ca5622 Mon Sep 17 00:00:00 2001 From: Xiao Gui <xgui3783@gmail.com> Date: Thu, 4 May 2023 16:37:25 +0200 Subject: [PATCH] feat: add quicktour to selected atlas --- .../sapiViews/core/rich/ATPSelector/module.ts | 2 ++ .../rich/ATPSelector/pureDumb/pureATPSelector.template.html | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/atlasComponents/sapiViews/core/rich/ATPSelector/module.ts b/src/atlasComponents/sapiViews/core/rich/ATPSelector/module.ts index 0588d1e99..acd1fbb94 100644 --- a/src/atlasComponents/sapiViews/core/rich/ATPSelector/module.ts +++ b/src/atlasComponents/sapiViews/core/rich/ATPSelector/module.ts @@ -12,6 +12,7 @@ import { PureATPSelector } from "./pureDumb/pureATPSelector.components"; import { WrapperATPSelector } from "./wrapper/wrapper.component"; import { SAPIModule } from "src/atlasComponents/sapi/module"; import { MatTooltipModule } from "@angular/material/tooltip"; +import { QuickTourModule } from "src/ui/quickTour"; @NgModule({ imports: [ @@ -26,6 +27,7 @@ import { MatTooltipModule } from "@angular/material/tooltip"; DialogModule, SAPIModule, SapiViewsCoreParcellationModule, + QuickTourModule, ], declarations: [ PureATPSelector, diff --git a/src/atlasComponents/sapiViews/core/rich/ATPSelector/pureDumb/pureATPSelector.template.html b/src/atlasComponents/sapiViews/core/rich/ATPSelector/pureDumb/pureATPSelector.template.html index fcd29e368..e661e5203 100644 --- a/src/atlasComponents/sapiViews/core/rich/ATPSelector/pureDumb/pureATPSelector.template.html +++ b/src/atlasComponents/sapiViews/core/rich/ATPSelector/pureDumb/pureATPSelector.template.html @@ -87,7 +87,10 @@ [color]="colorPalette[0]" (itemClicked)="selectLeaf({ atlas: $event})" [elevation]="6" - [disabled]="isBusy"> + [disabled]="isBusy" + quick-tour + [quick-tour-order]="-10" + quick-tour-description="You can change atlas here."> <ng-template sxplrSmartChipHeader> <span> -- GitLab