Commit Graph
85 Commits
Author SHA1 Message Date
Faton Ramadani a7fcf18f20 feat(frontend): Add a split panel in the test tab (#619) 2022-09-23 12:11:05 +02:00
Faton Ramadani 7d070b5a10 feature(frontend): Button component (#616)
* feature(frontend): Button component

* feature(frontend): Ajust style
2022-09-22 13:25:17 +02:00
Ruben FiszelandFaton Ramadani a0a4de062c fix flow UX and flowStateStore (#610)
* fix everything

* fix(frontend): Restore module deletion + restore for loop settings

* fix(frontend): Add missing focus on number inputs

* fix(frontend): Add key wrapper to make sure the editor content is reloaded

* fix(frontend): Fix mini-map spacing + add icon to schedule and retry buttons

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2022-09-21 11:37:33 +02:00
Ruben Fiszel 28b6eaf33f improve preview results v1 2022-09-21 02:48:30 +02:00
Ruben Fiszel f0d32fbb5a fix Advanced flow module buttons 2022-09-21 01:38:16 +02:00
Faton Ramadani 56147ac946 feature(frontend): Add support for retries for flows (#607)
* feature(frontend): Add support for retries for flows

* feature(frontend): Fix design issues
2022-09-21 00:00:39 +02:00
Faton Ramadani 21ac344c1e feature(frontend): Prop picker panel (#605)
* feature(frontend): WIP Prop picker v2

* feature(frontend): add PropPicker context

* feature(frontend): prop picker working

* feature(frontend): restore connect button

* feature(frontend): Fix wording + fix height to avoid content shift

* feature(frontend): Fix upTo preview + adapt style

* feature(frontend): Preview results cleanup

* feature(frontend): Remove test logs

* feature(frontend): Revert wrong changes

* feature(frontend): Restore shared preview args

* feature(frontend): Reduce ObjectViewer font size + remove useless space

* feature(frontend): Wording

* feature(frontend): Fix Split panel scrolling issues
2022-09-20 23:59:48 +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 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 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 2f4410c69d skipped_if_stopped -> skip_if_stopped 2022-09-02 09:06:40 +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
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 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
Ruben Fiszel 02fcf6db5b summary on flow modules 2022-08-23 20:23:15 +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 7fcb374ecb feat: PostgreSQL parametrized statement handled as typescript template 2022-08-21 17:15:56 +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 b1e6c827e4 icon for paths 2022-08-18 13:46:12 +02:00
Ruben Fiszel 7911b79548 handle loading erronous code in flows 2022-08-18 13:26:52 +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 3cf0efc7b4 fix postgresql new script reference 2022-08-17 13:54:28 +02:00
Ruben Fiszel 5e888a1e33 remove useless Scripts section in FlowInputs 2022-08-17 13:40:02 +02:00
Ruben Fiszel d6093a6b29 fix loading empty path 2022-08-17 13:31:21 +02:00
Ruben Fiszel b559ce1bcb update postgresql query script 2022-08-17 13:04:53 +02:00
Faton Ramadani c85b1e3a53 feat(frontend): Redesign of the Flow Editor + Arbitrary forloop 2022-08-17 12:03:38 +02:00
Ruben Fiszel 0d0097551d use app in hub path 2022-08-17 11:31:23 +02:00
Ruben Fiszel d6c12ffd7b copy from preview arguments 2022-08-08 10:11:40 +02:00
Ruben Fiszel 07deaad202 New Postgres SQL query 2022-08-08 09:25:54 +02:00
Ruben Fiszel edb0bda1c3 better help 2022-08-07 10:16:47 +02:00
Ruben Fiszel 83f2ba44a8 some reactive changes 2022-08-07 09:56:50 +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
Ruben Fiszel 764bc2d3af tooltip for why python not supported for trigger scripts 2022-08-04 18:44:00 +02:00
Faton Ramadani ced2b960f2 feat(frontend): global flow preview (#329)
* Added flow preview

* Fix blue

* Disable preview button is not inputs are valid

* Fix layout top margin
2022-08-04 17:46:40 +02:00