mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-21 00:02:30 +00:00
feat(frontend): app editor tutorials (#2443)
* feat(frontend): wip * feat(frontend): skeleton done * feat(frontend): background runnables * feat(frontend): fix build * feat(frontend): finish background runnable tuto * feat(frontend): connection output * feat(frontend): add simple app tutorial * feat(frontend): add simple app trigger * feat(frontend): fix wording * feat(frontend): remove duplicate code * feat(frontend): wip tutorial rework * feat(frontend): Tutorial done * feat(frontend): Fix build
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
let tutorial: Tutorial | undefined = undefined
|
||||
|
||||
export function runTutorial(indexToInsertAt?: number | undefined) {
|
||||
tutorial?.runTutorial(indexToInsertAt)
|
||||
tutorial?.runTutorial({ indexToInsertAt })
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -30,9 +30,9 @@
|
||||
tainted={false}
|
||||
on:error
|
||||
on:skipAll
|
||||
getSteps={(driver, indexToInsertAt) => {
|
||||
getSteps={(driver, options) => {
|
||||
const id = nextId($flowStateStore, $flowStore)
|
||||
const index = indexToInsertAt ?? $flowStore.value.modules.length
|
||||
const index = options?.indexToInsertAt ?? $flowStore.value.modules.length
|
||||
const isFirst = id === 'a'
|
||||
|
||||
let tempId = ''
|
||||
|
||||
Reference in New Issue
Block a user