Commit Graph

266 Commits

Author SHA1 Message Date
Ruben Fiszel
32b2d18ecc fix schema required added multiple times 2022-09-18 10:01:50 +02:00
Faton Ramadani
381191442f fix(frontend): Support of suspend & stop expression + restore import/export menu (#580)
* feature(frontend): Various UI fix + restore removed features

* feature(frontend): WIP Prop picker panel

* feature(frontend): Advanced flow module tab

* feature(frontend): Add import/export flow menu

* feature(frontend): Remove summary edition + add a enable/disable button for suspend
2022-09-16 14:00:02 +02:00
Faton Ramadani
50d819fd83 fix(frontend): Fix flow preview inputs display to avoid hiding results (#581) 2022-09-16 12:49:30 +02:00
Ruben Fiszel
bada20cfdd fix flow status viewer 2022-09-15 22:24:44 +02:00
Ruben Fiszel
f6f829b9f0 remove tooltip 2022-09-15 22:15:26 +02:00
Ruben Fiszel
7dd16de479 add javascript worker 2022-09-14 12:51:16 +02:00
Faton Ramadani
c9ae5905a8 feat(frontend): Flow UX entire rework (#552)
* feature(frontend): Flow rework WIP

* feature(frontend): Right panel behavior done

* feature(frontend): Split panel working

* feature(frontend): Flows working

* feature(frontend): Add inputs + adapt style + remove duplicate library

* feature(frontend): remove old implementation

* feature(frontend): revert package-lock

* feature(frontend): revert old FlowBuilder component

* feature(frontend): Fix margins + add remove button on the minimap

* feature(frontend): Fix wording

* feature(frontend): add PR UI comments

* feature(frontend): Display the module title

* feature(frontend): Previews working

* feature(frontend): Fix schedule load + update

* feature(frontend): fix build

* feature(frontend): UI fix

* fix just this step

* feature(frontend): for loop iterator and skip failures

* just this step

* script helpers

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-09-14 12:34:51 +02:00
Ruben Fiszel
9d991f968c feat: implement go support (#571)
* progress

* progress

* all in one

* frontend

* small nits

* go job test

* go.sum is optional

* add golang-go to backend test image

Co-authored-by: sqwishy <somebody@froghat.ca>
2022-09-13 21:14:21 +02:00
Ruben Fiszel
52ec744992 fix: iterator input transform is made more generic (#524)
* fix: iterator expr is standardized with regular input transforms

* fix: iterator expr is standardized with regular input transforms

* v2
2022-09-13 20:11:00 +02:00
Ruben Fiszel
66df58af47 feat: is_trigger is just a type tag, soon to include failure and command (#523)
* script kind

* all

* init code flow

* kind: trigger

* kind: trigger
2022-09-05 09:55:04 +02:00
Ruben Fiszel
d6def449ed split editor and simple editor 2022-09-03 15:11:51 +02:00
Ruben Fiszel
2848e70990 inline gh icon 2022-09-02 20:30:06 +02:00
Ruben Fiszel
717660f450 update flow viewer 2022-09-02 09:40:06 +02:00
Ruben Fiszel
2f4410c69d skipped_if_stopped -> skip_if_stopped 2022-09-02 09:06:40 +02:00
Ruben Fiszel
1d873d5bd5 feat: clean openflow spec v1 (#491)
* clean api 2

* the rest

* clean tests

* stop_after_if test

* unbox `modules: Vec<FlowModule>` in `ForloopFlow`

* migrate

* initFlow stop_after_if_expr and skip_if_stopped

* s/migrateInitTransform/migrateFlowModule

I didn't read the name before... oops

* sql migration for openflow changes

* fix frontend migration code

Co-authored-by: sqwishy <somebody@froghat.ca>
2022-09-02 01:26:39 +02:00
Faton Ramadani
a57519b386 fix(frontend): Make sure the schema is infered when the component is mounted (#520) 2022-08-31 21:29:56 +02:00
Faton Ramadani
f8e01eba82 feat(frontend): Script editor (#518)
* feat(frontend): Migrate Tabs

* feat(frontend): Generalise Menu

* feat(frontend): Menu component done

* feat(frontend): Fix placements

* feat(frontend): Rework component splitting

* feat(frontend): Clean unused imports

* feat(frontend): Script editor done

* feat(frontend): Code cleanup

* feat(frontend): Fix linting

* feat(frontend): Add running animation

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-08-31 18:50:36 +02:00
Faton Ramadani
2fb5f1a204 feat(frontend): Menu + Tab components (#517)
* feat(frontend): Migrate Tabs

* feat(frontend): Generalise Menu

* feat(frontend): Menu component done

* feat(frontend): Fix placements

* feat(frontend): Clean unused imports

* feat(frontend): Fix linting
2022-08-31 18:41:13 +02:00
Ruben Fiszel
a5f836c838 replaceState on logout and loading screen while loading user 2022-08-28 12:17:38 +02:00
Faton Ramadani
73a7bd896c Sidebar rework (#490)
* feat(frontend): Add runs to landing page + fix responsive issues

* feat(frontend): Sidebar done

* feat(frontend): Align all pages to the new layout

* feat(frontend): Make scripts and flows box clickable

* feat(frontend): Revert the sidebar color

* feat(frontend): Restore missing workspace menu + fix minor UI issues
2022-08-26 17:15:27 +02:00
Faton Ramadani
88345a05e6 feat(frontend): Add runs to landing page + fix responsive issues (#487) 2022-08-25 12:22:33 +02:00
Faton Ramadani
a64798e433 feat(frontend): App landing page (#486)
* feat(frontend): App landing page

* feat(frontend): Add link to documentation + adapt styles
2022-08-24 23:23:02 +02:00
Mike
b08b616c7d typo (#485) 2022-08-24 16:38:19 +02:00
Faton Ramadani
6c3782e923 fix(front): Simplfiy how the job's results are read (#483)
* fix(front): Simplfiy how the job's results are read

* fix(front): Remove useless store and compute flow state directly

* fix(front): Clear timeout + remove useless reactive statements + correctly handle prop changes
2022-08-24 10:31:19 +02:00
Faton Ramadani
629b9c37da fix(front): Set run button state to done when all jobs are loaded (#482) 2022-08-24 00:39:52 +02:00
Ruben Fiszel
f204c25ebd cancel flow on run 2022-08-23 23:01:26 +02:00
Ruben Fiszel
22dbd7d272 fix multiline arg 2022-08-23 22:55:18 +02:00
Faton Ramadani
a11ab82177 fix(front): Fix display (#481) 2022-08-23 22:52:42 +02:00
Faton Ramadani
c5ba32ca20 fix(front): Fix not found error + add timeout 2022-08-23 22:42:32 +02:00
Ruben Fiszel
1c36fcb092 make code injection works with multiline 2022-08-23 22:34:16 +02:00
Ruben Fiszel
667d2e2ef1 fix click propagation on module header 2022-08-23 22:30:35 +02:00
Faton Ramadani
155a6ea30f fix(front): Display all the logs (#479) 2022-08-23 22:21:26 +02:00
Faton Ramadani
7cf6696e5e fix(front): Display all the logs (#478) 2022-08-23 22:13:27 +02:00
Ruben Fiszel
b70e1ce4ff cancel flow on run 2022-08-23 22:08:52 +02:00
Ruben Fiszel
cf4d2ea68c init args in flowpreviewcontent 2022-08-23 21:56:05 +02:00
Ruben Fiszel
8a07b0b432 fork from frontpage 2022-08-23 21:33:44 +02:00
Ruben Fiszel
4f35c0e07d fix loading flow 2022-08-23 21:14:39 +02:00
Faton Ramadani
534bd952ba Fix inline preview reload (#477)
* fix(front): Fix inline preview

* fix(front): Fix inline preview reload

* fix(front): Fix inline preview reload
2022-08-23 20:24:35 +02:00
Ruben Fiszel
02fcf6db5b summary on flow modules 2022-08-23 20:23:15 +02:00
Faton Ramadani
7a2673a937 fix(front): Fix inline preview (#476) 2022-08-23 20:10:08 +02:00
Faton Ramadani
169f680a6e Flow preview UI (#474)
* feat(frontend): Rework Flow preview UI

* feat(frontend): Rework Flow done

* feat(frontend): Fix SchemaForm height

* feat(frontend): Clean up
2022-08-23 19:58:03 +02:00
Ruben Fiszel
2ab9e4c203 frontend checks for username at frontend 2022-08-23 19:40:11 +02:00
Ruben Fiszel
9b710849e1 first pass on runs refactor 2022-08-23 02:11:01 +02:00
Ruben Fiszel
ae3075aec4 update monaco
rm new files
2022-08-22 22:08:06 +02:00
Ruben Fiszel
69dfc2f31a fix autowebsocket + update tooltip socket 2022-08-21 23:50:40 +02:00
Ruben Fiszel
7fcb374ecb feat: PostgreSQL parametrized statement handled as typescript template 2022-08-21 17:15:56 +02:00
Ruben Fiszel
3a44316749 fix(frontend): input checks refresh when schema change 2022-08-20 12:55:51 +02:00
Ruben Fiszel
7072e4be49 fix import from json 2022-08-20 12:44:20 +02:00
Faton Ramadani
52ba367898 fix(frontend): simplify flow preview logic(#450) 2022-08-19 17:14:27 +02:00
Ruben Fiszel
a8db3e9fbe fix flowmodueheader path 2022-08-19 00:02:49 +02:00