Commit Graph
26 Commits
Author SHA1 Message Date
Faton RamadaniandRuben Fiszel 080860fad8 improve Flow UI (#297)
* Improve flow ui

* Finish reworking

* Fix formating

* Fix naviation

* Fix navigaion + adjust icon sizes

* Remove duplicate code

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-08-01 15:07:29 +02:00
Ruben Fiszel 2a0d70dcbc change openflow encoding for more proper oneOf + fix all from svelte:check 2022-07-31 01:20:52 +02:00
Ruben Fiszel f80af22241 no more infer button 2022-07-29 16:47:29 +02:00
Ruben Fiszel 900eb060bc editor fixes 2022-07-28 23:13:03 +02:00
Ruben Fiszel 0603a45fca fix: monaco editor fixes 2022-07-27 21:07:38 +02:00
Ruben Fiszel 767c0a9acf fix: multiple UI fixes 2022-07-26 17:28:36 +02:00
Ruben Fiszel 668ca4d9b1 feat: prop picker functional for pull flows 2022-07-26 12:45:00 +02:00
Faton RamadaniandRuben Fiszel 17dfd558d5 feat: Add flow input and current step in the prop picker (#236)
* Add flow input and current step in the prop picker

* Fix step + correctly bind pickableProperties

* Correctly make pickable properties + use popper to fix display issues

* styling

* Remove debugger

* Simplify how search works by removing one store

* preview

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-07-26 11:51:45 +02:00
Ruben Fiszel caae0cd10c fix: display websocket status in flow inline editor 2022-07-23 16:09:53 +02:00
Ruben Fiszel 1f84048701 feat: add editor bar to inline scripts of flows 2022-07-23 11:20:22 +02:00
Ruben Fiszel 9e15e8dbef feat: more visual cues about trigger scripts 2022-07-22 02:23:10 +02:00
Ruben Fiszel ac55464138 feat: more visual cues about trigger scripts 2022-07-22 02:22:09 +02:00
Faton RamadaniandRuben Fiszel 31411e256f 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 e71ef67a83 minor UI fixes 2022-07-20 19:53:38 +02:00
Ruben Fiszel a39899b4e2 minor UI fixes 2022-07-20 19:32:49 +02:00
Ruben Fiszel 48ff7be074 minor UI fixes 2022-07-20 19:28:11 +02:00
Ruben Fiszel bd03727dd1 flow UI improvements 2022-07-20 18:36:15 +02:00
Ruben Fiszel 738d429f2f 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 6498c84a90 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 864fdce8c5 fix(frontend): reload editor when language changes for in-flow editor 2022-07-07 17:19:10 +02:00
Ruben Fiszel e24c2e80aa fix: in-flow script editor fixes 2022-07-05 11:57:30 +02:00
Ruben Fiszel c2e9ef1ca0 feat: in-flow editor mvp 2022-07-05 11:26:13 +02:00
Faton RamadaniandRuben Fiszel 00faa389b4 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 680954bf40 split frontend common utilities 2022-06-23 05:06:07 +02:00
Ruben Fiszel 4d1a4fdd2f move gen as well to lib 2022-06-23 01:10:33 +02:00
Ruben Fiszel 8f4d0ecf17 move to paths 2022-06-22 22:34:01 +02:00