Commit Graph

1748 Commits

Author SHA1 Message Date
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
ex0ns
dc55d45bae feat(job): run job by hash (#551)
It was possible to run them using a webhook, but not through an endpoint.
This PR aims to fix that so the user can target a specific version of
the script to run.
2022-09-11 16:39:48 +02:00
Ruben Fiszel
a65025a45b replaceState on login 2022-09-10 13:25:12 +02:00
Christian Paul
f32781553f Typo: non archived verson -> non-archived version (#548) 2022-09-06 15:12:34 +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
3db7b61cdb improve UI long schedule path handling 2022-09-04 00:42:33 +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
Ruben Fiszel
7a3ce57c83 only load in audit logs all users if not demo 2022-08-26 18:13:09 +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
Ruben Fiszel
b78d555cd4 set homepage as page on workspace selection 2022-08-24 23:41:59 +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
Ruben Fiszel
dbd264364b text-left on approved flows summary 2022-08-24 14:52:24 +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
974443c464 fork from frontpage 2022-08-23 21:26:59 +02:00
Ruben Fiszel
c839813889 fork from frontpage 2022-08-23 21:25:38 +02:00
Ruben Fiszel
4f35c0e07d fix loading flow 2022-08-23 21:14:39 +02:00
Ruben Fiszel
e0cad0d78c fork scripts 2022-08-23 21:05:17 +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
a38d184068 fix(front): Fix scroll (#475) 2022-08-23 20:03:24 +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