Commit Graph
61 Commits
Author SHA1 Message Date
Ruben Fiszel a1519e09a9 feat: implement flow as a flow step 2022-12-06 23:38:06 +01:00
Ruben Fiszel fa7e8d107b feat: add lockable version to scripts inside flows (#972)
* add it to openflow

* push

* push

* final
2022-12-06 13:11:11 +01:00
Ruben FiszelandFaton Ramadani 8f92a0c66f feat(frontend): flow UX overhaul II + go + python support for trigger scripts (#928)
* all

* improve all

* improve all

* fix frontend

* fix input picker nits

* fix(frontend): Fix Menu display

* all

* fix all

* fix all

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2022-11-22 16:18:14 +01:00
Ruben Fiszel 9929cdde22 feat(frontend): overhaul the whole flow UX 2022-11-21 17:28:55 +01:00
Ádám KovácsandRuben Fiszel 746fb8cc7f feat(frontend): Flow graph (#827)
* chore(frontend): Install d3@7.6.1

* feat(frontend): Add basic graph components

* feat: Add graph node component

* feat: Add graph edges

* fix: Rename graph flow module

* feat: Add flow graph to editor

* feat: Add loops

* feat: Add hub scripts to graph

* fix: Display hub scripts

* fix: Nested loops

* feat: Graph displaying packages

* fix: Remove unused parts

* feat: Update graph layout

* fix: Clean up imports

* feat: Add icons to graph nodes

* feat: Add graph viewer to flow details page

* fix: Action row component on scroll behaviour

* fix: Update supported languages type

* fix: Add bash language icons

* fix: Support empty scripts and branches

* fix: Ellipsizing virtual node text

* feat: Display script id in node

* fix: Remove graph from flow editor

* fix: Update node id display

* chore: Remove unused packages

* flow viewer

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-11-12 20:14:29 +01:00
Ruben Fiszel cd8d0e5ea6 feat: deprecate previous_result in favor of results per id 2022-11-10 01:58:52 +01:00
Ruben Fiszel dc2688b9c3 UX improvements 2022-11-03 23:26:07 +01:00
Ruben Fiszel e84c9921ca fix flow node id creation 2022-10-28 15:56:23 +02:00
Ruben Fiszel 544a2bbaec feat(frontend): result by id 2022-10-26 08:31:30 +02:00
Ruben Fiszel d6ecd1394a fix input transforms 2022-10-26 06:14:42 +02:00
Faton Ramadani 028b53f9f5 feat(frontend): Flow editor branches (#727) 2022-10-25 17:26:31 +02:00
Ruben Fiszel 584f168f8f feat: add ids to modules + input_transform lowered to flowmodulevalue (#768)
* feat: add ids to modules + inputTransforms from module to module value

* all

* delete obsolete input transforms
2022-10-17 22:34:12 +02:00
Ruben Fiszel b3bd19879f remove some frontend warnings 2022-10-14 16:32:15 +02:00
Ruben Fiszel ff6046c079 optimize mainargsignature inference 2022-10-13 02:41:24 +02:00
Ruben Fiszel a229e6f488 feat: sleep for arbitrary number of seconds statically or with a javascript expression (#691)
* progress

* progress

* fix serde

* fix frontend

* fix frontend
2022-10-07 04:09:32 +02:00
Ruben Fiszel f051055e0f feat: individual retry + flow UX refactor 2022-10-04 08:41:21 +02:00
Ruben Fiszel 6274836bfe progress 2022-10-04 08:40:01 +02:00
Ruben Fiszel 04ab59f928 refactor logs panel everywhere applicable (#625)
* init

* init

* progress

* progress

* refactor logs entirely

* fix sqlx
2022-09-25 18:03:51 +02:00
Faton RamadaniandRuben Fiszel 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 Fiszelandsqwishy 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
Ruben Fiszel 1c36fcb092 make code injection works with multiline 2022-08-23 22:34:16 +02:00
Faton Ramadani 52ba367898 fix(frontend): simplify flow preview logic(#450) 2022-08-19 17:14:27 +02:00
Ruben Fiszel a890c842d8 QoL path and editor improvements 2022-08-18 12:58:49 +02:00
Faton Ramadani db69c82247 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
Ruben Fiszel d6093a6b29 fix loading empty path 2022-08-17 13:31:21 +02:00
Faton Ramadani c85b1e3a53 feat(frontend): Redesign of the Flow Editor + Arbitrary forloop 2022-08-17 12:03:38 +02:00
Ruben Fiszel df3ebc9c0c autoresize textare and improved performance for string templates 2022-08-06 18:45:15 +02:00
Ruben Fiszel dcb5d8deb9 rework input transform for the forloop module 2022-08-06 14:02:39 +02:00
Ruben Fiszel ad2c46bfbb fix prop picker wrt to new iter changes 2022-08-06 13:34:26 +02:00
Ruben Fiszel 837a500a1a display inputs in flow viewer too 2022-08-06 09:30:10 +02:00
Ruben Fiszel 02fd242bb7 feat: _value, _index => iter.value, iter.index 2022-08-05 20:11:25 +02:00
Ruben Fiszel f6b8df732b fix: surface new _iterator value 2022-08-05 19:57:18 +02:00
Ruben Fiszel 449fb27a53 feat: remove res1 wrapping 2022-08-05 19:47:00 +02:00
Ruben Fiszel 3fdfac02ef fix flowstatusviewer and updating to in_progress much sooner 2022-08-05 01:38:33 +02:00
Ruben Fiszel d14237b532 gif support + _value preview in object viewer 2022-08-04 23:45:27 +02:00
Faton Ramadani 3e940ca5d0 Bug fix for whole flow preview (#335)
* Fix connect a ressource + preview on pull mode

* Remove code duplication
2022-08-04 21:31:07 +02:00
Faton Ramadani eefdfab1a6 Fix previous results in Flow preview (#332) 2022-08-04 20:14:32 +02:00
Faton Ramadani 486387d0ec Flow fix property picker (#326)
* Fix property picker

* Fix property picker
2022-08-04 00:28:46 +02:00
Faton Ramadani 72a6004380 Flow: Input connect (#325)
* Fix EditorBar in the script editor

* Rework ArgInput

* Add a button to link a property

* Adapt style

* Clean up

* Clean up Toggle

* Clean up Toggleclear

* Fix editor

* Fix login test

* Fix login test

* Done

* Fix toggling issues
2022-08-03 19:51:58 +02:00
Ruben Fiszel f8171af6f0 clean further the openapi InputTransform 2022-07-31 11:23:21 +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 0d76e5d610 nit on connect an app under resources picker 2022-07-29 15:53:56 +02:00
Ruben Fiszel bd9343c42c feat: resource type picker in schema modal + proper initialization of raw javascript editor when applicable 2022-07-29 14:13:44 +02:00
Ruben Fiszelandsqwishy c95da3a29d feat: skip failures loop (#258)
* wip: forloop skip failures -- very first pass

* last iteration fix + barebone UI integration

Co-authored-by: sqwishy <somebody@froghat.ca>
2022-07-27 12:40:08 +02:00
Ruben Fiszel 07fac175a0 feat: add schedule settable from pull flows 2022-07-27 12:18:02 +02:00
Ruben Fiszel cc77e07a75 convert from dynamic expr to raw 2022-07-26 19:34:59 +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 05ba0a06d0 feat: hub flows integration 2022-07-25 10:03:52 +02:00