Commit Graph

15 Commits

Author SHA1 Message Date
Ruben Fiszel 154c2a91ca feat: more visual cues about trigger scripts 2022-07-22 02:22:09 +02:00
Faton Ramadani 3c16621f6b feat: dynamic template for script inputs in flow
* Refactor flow UI/UX + added fork and create script from inline script

* Prevent infinite loop when remove steps

* Fix forking a script from the Hub

* Fix viewing code of  a script from the Hub

* Fix PR comments

* Fix code highlight

* Fix path

* Find next available path

* Fix copy first step schema

* Light dynamic input WIP

* Fix initial input transform

* Use backquote to inject code

* Light dynamic input working

* Adapt warning message

* Merge main

* Change toggle text

* Change toggle text

* Fix preview

* Add missing id

* Fix z-index

* Update frontend/src/lib/components/ModuleStep.svelte

* pushed propertiesType fix

* pushed propertiesType fix

* JSON.parse resulting expr

* use class for property-picker

* Rework onmouseleave logic

* handle all types

* give up on object

* give up on object

* give up on object

* fix toggle

* good to merge

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-07-21 14:58:55 +02:00
Ruben Fiszel 134b3a6356 minor UI fixes 2022-07-20 19:53:38 +02:00
Ruben Fiszel 1ec69efcbb minor UI fixes 2022-07-20 19:32:49 +02:00
Ruben Fiszel 02a37900fe minor UI fixes 2022-07-20 19:28:11 +02:00
Ruben Fiszel 5eb190b0ba flow UI improvements 2022-07-20 18:36:15 +02:00
Ruben Fiszel af23b30c37 feat: trigger scripts and have flows being triggered by checking new external events regularly (#200)
* v1 trigger scripts

* progress

* stop early condition

* backend execution model

* progress

* progress

* progress

* works but todo: collect result, render forloop, convert forloopraw to seq for frontend

* collect result

* v1

* that's enough

* sed
2022-07-17 13:17:45 +02:00
Faton Ramadani 5502047474 Refactor flow UI/UX + added fork and create script from inline script (#175)
* Refactor flow UI/UX + added fork and create script from inline script

* Prevent infinite loop when remove steps

* Fix forking a script from the Hub

* Fix viewing code of  a script from the Hub

* Fix PR comments

* Fix code highlight

* Fix path

* Find next available path

* Fix copy first step schema
2022-07-13 11:29:43 +02:00
Ruben Fiszel 72c7890427 fix(frontend): reload editor when language changes for in-flow editor 2022-07-07 17:19:10 +02:00
Ruben Fiszel 5853dfd85d fix: in-flow script editor fixes 2022-07-05 11:57:30 +02:00
Ruben Fiszel 330b373c24 feat: in-flow editor mvp 2022-07-05 11:26:13 +02:00
Faton Ramadani 44b4acf4bc feat: Flows Property picker component + Dynamic type inference (#129)
* Flows Property picker component + Dynamic type inference

* Merge main

* Fix selection for arrays and nested props

* Address PR comments + remove useless debugger

* Update Editor.svelte

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-06-29 18:35:46 +02:00
Ruben Fiszel 2d02b7b2da split frontend common utilities 2022-06-23 05:06:07 +02:00
Ruben Fiszel c30b31ea88 move gen as well to lib 2022-06-23 01:10:33 +02:00
Ruben Fiszel 47a0be6b7e move to paths 2022-06-22 22:34:01 +02:00