Commit Graph

238 Commits

Author SHA1 Message Date
Ruben Fiszel e9abcffdd1 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 e8aec1c93a split editor and simple editor 2022-09-03 15:11:51 +02:00
Ruben Fiszel 0d72ab9306 inline gh icon 2022-09-02 20:30:06 +02:00
Ruben Fiszel a6ae531f00 update flow viewer 2022-09-02 09:40:06 +02:00
Ruben Fiszel d9641b36ef skipped_if_stopped -> skip_if_stopped 2022-09-02 09:06:40 +02:00
Ruben Fiszel cf7209bdb9 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 0deb31e6b6 fix(frontend): Make sure the schema is infered when the component is mounted (#520) 2022-08-31 21:29:56 +02:00
Faton Ramadani a2265f7f41 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 6bb80b803d 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
Faton Ramadani d783b2f409 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 9b8f263319 feat(frontend): Add runs to landing page + fix responsive issues (#487) 2022-08-25 12:22:33 +02:00
Faton Ramadani 5954789abb 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
Faton Ramadani 0ec77f2e6f 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 4c1cb1d379 fix(front): Set run button state to done when all jobs are loaded (#482) 2022-08-24 00:39:52 +02:00
Ruben Fiszel ed1d210d35 cancel flow on run 2022-08-23 23:01:26 +02:00
Ruben Fiszel 9da55f7f50 fix multiline arg 2022-08-23 22:55:18 +02:00
Faton Ramadani 538dc8f4c2 fix(front): Fix display (#481) 2022-08-23 22:52:42 +02:00
Faton Ramadani d8bb9dccff fix(front): Fix not found error + add timeout 2022-08-23 22:42:32 +02:00
Ruben Fiszel 92c67228ac make code injection works with multiline 2022-08-23 22:34:16 +02:00
Ruben Fiszel 2ffe03f6e7 fix click propagation on module header 2022-08-23 22:30:35 +02:00
Faton Ramadani 8a585c084a fix(front): Display all the logs (#479) 2022-08-23 22:21:26 +02:00
Faton Ramadani ab994e6d42 fix(front): Display all the logs (#478) 2022-08-23 22:13:27 +02:00
Ruben Fiszel 6d25f94127 cancel flow on run 2022-08-23 22:08:52 +02:00
Ruben Fiszel dba1678857 init args in flowpreviewcontent 2022-08-23 21:56:05 +02:00
Ruben Fiszel ad723a12c6 fork from frontpage 2022-08-23 21:33:44 +02:00
Ruben Fiszel cbbd41e6e2 fix loading flow 2022-08-23 21:14:39 +02:00
Faton Ramadani 2153bbc4d1 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 d0c0a5a027 summary on flow modules 2022-08-23 20:23:15 +02:00
Faton Ramadani cbe9676a1f fix(front): Fix inline preview (#476) 2022-08-23 20:10:08 +02:00
Faton Ramadani e58a8d5952 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 40f753ec63 update monaco
rm new files
2022-08-22 22:08:06 +02:00
Ruben Fiszel dce87d77d7 fix autowebsocket + update tooltip socket 2022-08-21 23:50:40 +02:00
Ruben Fiszel 1aa28c5599 feat: PostgreSQL parametrized statement handled as typescript template 2022-08-21 17:15:56 +02:00
Ruben Fiszel 15f7cadc3d fix(frontend): input checks refresh when schema change 2022-08-20 12:55:51 +02:00
Ruben Fiszel d5e8147d57 fix import from json 2022-08-20 12:44:20 +02:00
Faton Ramadani bc5a5688ce fix(frontend): simplify flow preview logic(#450) 2022-08-19 17:14:27 +02:00
Ruben Fiszel 1f40c39fdb fix flowmodueheader path 2022-08-19 00:02:49 +02:00
Ruben Fiszel e0e98520ec fix wmill imports for resource and var in deno 2022-08-18 22:38:03 +02:00
Ruben Fiszel 451bddf015 fix behavior of disable nsjail and disable nuser 2022-08-18 17:22:16 +02:00
Ruben Fiszel 918f6dbc7c icon for paths 2022-08-18 13:46:12 +02:00
Ruben Fiszel d73d2578f2 handle loading erronous code in flows 2022-08-18 13:26:52 +02:00
Ruben Fiszel 157dc5b501 update code binding in background to avoid stutter 2022-08-18 13:19:10 +02:00
Ruben Fiszel 248700b2c2 QoL path and editor improvements 2022-08-18 12:58:49 +02:00
Ruben Fiszel a26af926a2 change sql editor to few lines editor 2022-08-18 00:05:46 +02:00
Ruben Fiszel 27d122c43f fix prop picker key selection 2022-08-17 19:38:07 +02:00
Faton Ramadani 7e4aac9971 feat(frontend): Open/Close UI (#445)
* feat(frontend): Properly open/close and highlight a flowbox

* feat(frontend): Fix removing first step
2022-08-17 17:24:57 +02:00
Faton Ramadani 068147251c fix(frontend): Fix loops pickable properties (#441) 2022-08-17 16:53:41 +02:00
Ruben Fiszel 395965555e fix postgresql new script reference 2022-08-17 13:54:28 +02:00
Ruben Fiszel 0eca495aa6 remove useless Scripts section in FlowInputs 2022-08-17 13:40:02 +02:00
Ruben Fiszel 6089439a8c disable trigger scripts except for step 0 2022-08-17 13:36:35 +02:00