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:
Faton Ramadani
2023-10-17 22:44:47 +02:00
committed by GitHub
parent 09e29d6b3c
commit e8dfea3f0a
32 changed files with 937 additions and 67 deletions
@@ -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 = ''