mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 16:02:28 +00:00
e96da54001
* Put back banner a new tutorial is available for a user that completed all his tutorials and never skipped all * Create onboarding tutorial for operators in tutorial config file * Add router and steps for onboarding tutorial for operators * Improve onboarding tutorial for operators * Improve the tutorial UX * Refactor * Remove cursor from last step of operator onboarding tutorial * Improve filtering per role * Add Runs page tutorial * Improve Runs page tutorial * Add failed run * Simplify Runs tutorial with job clicks into one unique step * Finish overall structure of Runs tutorial * Improve wordings * Prevent breaking animations by clicking on Next or Previous * Add success and failure logo to step title * Improve wording * Create util function for moving cursor * Nits * Improve wordings * Differentiate successfull and failed jobs steps * Remove delete flows if operator to prevent permission errors * Add comment
26 lines
713 B
Svelte
26 lines
713 B
Svelte
<script lang="ts">
|
|
import TutorialRouter from './tutorials/TutorialRouter.svelte'
|
|
import WorkspaceOnboardingTutorial from './tutorials/workspace/WorkspaceOnboardingTutorial.svelte'
|
|
import WorkspaceOnboardingOperatorTutorial from './tutorials/workspace/WorkspaceOnboardingOperatorTutorial.svelte'
|
|
|
|
let tutorialRouter: TutorialRouter | undefined = $state(undefined)
|
|
|
|
export function runTutorialById(id: string) {
|
|
tutorialRouter?.runTutorialById(id)
|
|
}
|
|
</script>
|
|
|
|
<TutorialRouter
|
|
bind:this={tutorialRouter}
|
|
tutorials={[
|
|
{
|
|
id: 'workspace-onboarding',
|
|
component: WorkspaceOnboardingTutorial
|
|
},
|
|
{
|
|
id: 'workspace-onboarding-operator',
|
|
component: WorkspaceOnboardingOperatorTutorial
|
|
}
|
|
]}
|
|
/>
|