Commit Graph

41 Commits

Author SHA1 Message Date
Jakub Kołodziejczak 4d8a5c4fd9 fix(frontend): psql demo expects integers as a key (#958) 2022-11-28 19:33:49 +01:00
Ruben Fiszel 802abe7f90 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 ca1d7e1278 add editable resources 2022-11-19 18:10:04 +01:00
Ruben Fiszel 968675d8d0 fix(python-client): get_state on empty state return None 2022-11-19 10:10:38 +01:00
Ruben Fiszel 80df3c92bd fix initial python script 2022-11-17 12:07:13 +01:00
Ruben Fiszel 9d17abbb12 feat(python): add Resource[resource_type] as a parsed parameter 2022-11-16 14:08:55 +01:00
Ruben Fiszel 87a4db710e InternalState -> State 2022-11-15 13:27:24 +01:00
Ruben Fiszel 3c09275960 feat: support bash as 4th language (#865)
* bash support

* bash backend working

* frontend part

* bash backend working
2022-11-06 23:48:18 +01:00
Ruben Fiszel 971988dfe2 fix(frontend): go editor nits 2022-11-03 18:48:53 +01:00
Ruben Fiszel 34f5062cfa update deno example with npm qualifier 2022-11-03 01:04:08 +01:00
Ruben Fiszel 6f9d2f3fd8 better go example 2022-11-02 11:16:09 +01:00
Ruben Fiszel 6170256a47 change default templates for go 2022-11-02 10:59:08 +01:00
Ruben Fiszel c049838fd2 approvers are available to the step right after approval 2022-11-02 10:43:19 +01:00
Ruben Fiszel 004f4958ef fix default python script 2022-10-29 12:57:25 +02:00
Ruben Fiszel 84a3fbe46b feat(python): type is automatically inferred from default parameters 2022-10-29 12:48:50 +02:00
Ruben Fiszel 45761f8e0c approval flow with idendity of the approver 2022-10-24 16:37:09 +02:00
Ruben Fiszel fffcb5ec2a fix(go-client): improve go-client variable and resource handling 2022-10-15 11:18:17 +02:00
Ruben Fiszel 6cb3fbc8b7 feat: add go LSP (#699)
* lsp

* progress

* 1.36.0
2022-10-08 13:28:46 +02:00
Ruben Fiszel eee7067074 fix(frontend): rework the error handler script picker 2022-10-01 00:22:41 +02:00
Christian Paul 2a95576ddc wmill.getInternalState() needs to be awaited (#646) 2022-09-30 05:44:51 +02:00
Faton Ramadani 9fa4d01e3b 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 39918a9bb1 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 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
Mike 0e4f7fb332 typo (#485) 2022-08-24 16:38:19 +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
Christian Paul ed43752de1 Changes to the Deno trigger script template (#448) 2022-08-18 14:20:33 +02:00
Ruben Fiszel 248700b2c2 QoL path and editor improvements 2022-08-18 12:58:49 +02:00
Ruben Fiszel 79f15220d4 change default typescript 2022-08-18 09:43:11 +02:00
Ruben Fiszel f9ea4eb475 change default typescript 2022-08-18 09:30:24 +02:00
Ruben Fiszel 404b95f3fe change default typescript 2022-08-18 09:28:25 +02:00
Ruben Fiszel f79dccd221 change default typescript 2022-08-18 09:24:35 +02:00
Ruben Fiszel 0346d955f9 rework default python script 2022-08-05 20:21:13 +02:00
Mike 9e84b458b1 fix: typos (#301) 2022-08-01 17:17:19 +02:00
Ruben Fiszel ee08b2b352 more errors 2022-07-30 01:10:01 +02:00
Ruben Fiszel 5a0fc96f7b editor fixes 2022-07-28 23:13:03 +02:00
Faton Ramadani 6fbeeae84a 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
Faton Ramadani 3c16621f6b feat: dynamic template for script inputs in flow
* Refactor flow UI/UX + added fork and create script from inline script

* Prevent infinite loop when remove steps

* Fix forking a script from the Hub

* Fix viewing code of  a script from the Hub

* Fix PR comments

* Fix code highlight

* Fix path

* Find next available path

* Fix copy first step schema

* Light dynamic input WIP

* Fix initial input transform

* Use backquote to inject code

* Light dynamic input working

* Adapt warning message

* Merge main

* Change toggle text

* Change toggle text

* Fix preview

* Add missing id

* Fix z-index

* Update frontend/src/lib/components/ModuleStep.svelte

* pushed propertiesType fix

* pushed propertiesType fix

* JSON.parse resulting expr

* use class for property-picker

* Rework onmouseleave logic

* handle all types

* give up on object

* give up on object

* give up on object

* fix toggle

* good to merge

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-07-21 14:58:55 +02:00
Ruben Fiszel 97292d18fb fix(frontend): filter script by is_trigger and jobs by is_skipped + path fix 2022-07-19 20:23:58 +02:00
Ruben Fiszel 0973859813 fix: flow UI back and forth pull/push fix 2022-07-17 18:38:57 +02:00
Ruben Fiszel 330b373c24 feat: in-flow editor mvp 2022-07-05 11:26:13 +02:00