Commit Graph

113 Commits

Author SHA1 Message Date
Ruben Fiszel
3ad50eef9d fix: improve performance of flow viewer 2025-09-27 08:48:01 +00:00
Ruben Fiszel
1b32225be1 improve job cancelling with new flow jobs locks 2025-09-20 11:00:45 +00:00
Ruben Fiszel
2fdfa8d193 feat: load for loop jobs timeline directly from for loop flow status (#6646) 2025-09-19 17:32:09 +00:00
Ruben Fiszel
dbd4bab160 fix key flowstatusviewerinner 2025-09-15 11:47:15 +00:00
Ruben Fiszel
20b91a0e38 nit improve test flow reset 2025-09-15 09:24:13 +00:00
hugocasa
c63c2ef0c6 fix(frontend): ai agent flow status + UI nits (#6447)
* fix(frontend): ai agent flow status

* nit: prevent undefined node issue

* feat: UI nits + flow status select iter fix

* nit ai agent color in picker
2025-08-22 18:51:13 +01:00
Ruben Fiszel
53715f2c06 fix: flow status reactivity improvement (#6402) 2025-08-19 02:12:57 +00:00
Guilhem
235354fe13 feat(frontend): add flow log view (#6330)
* componentize detail module

* Add logs tab

* add flow log viewer

* fetch logs

* handle subflows

* add forloop iteration picker

* polish

* expand steps log by default

* move logic handling to wrapper component

* improve iteration picker

* clean code

* polishing

* Add flow start and flow end rows

* fix infinite loop

* nit

* use list instead of table

* use custom id for collapsing subflow

* remove debug logs

* Use status dot instead of text

* fetch log from moduleState

* wip

* only fetch subflow jobs from cache if job is completed

* Add job polling for expanded steps

* handle subflows

* Init logs for steps

* update localModuleState logs

* use selected iteration from local module state

* handle branchone

* Add branch one and branch all label

* remove redondant innerModule prop

* Improve UX

* Add expand/collapse

* Add filter to hide result and inputs

* Steps are now flow children

* improve UX

* Open flow and steps sction when executing

* Handle empty subflows

* remove unnecessary sequence viewer component

* nit

* use iteration picker in log view

* Replace dot with step type icon

* indicate subflows

* add step number and progression

* Incorporate inputs and results in the list of steps

* Add error indicator when subflow has error

* improve topbar

* improve log polling

* Improve log polling

* Add root flow log fetching and polling

* Add debounce for loading subflow jobs

* write a function to build the tree view from the graph

* remove unnecessary log polling

* fix flow result display

* flag errors

* preprocessor

* remove all flow logs drawer

* grenerate graph from component

* wip

* Check module change before building graph

* nit

* fix log overflow

* fix log viewer borders

* mini jobs run preview fix

* elegent job logs loading

* nit

* nit

* nit

* all

* all

* all

* all

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2025-08-14 00:39:21 +00:00
Ruben Fiszel
de664f6014 add tagLabel in flow editor 2025-07-23 09:21:17 +00:00
Ruben Fiszel
d6ecec1ef6 nit svelte 5 2025-07-19 06:59:49 +00:00
Diego Imbert
b3f75c6d0e Assets refactor (#6217)
* Moved logic to FlowAssetsProvider

* Remove assetsMap in flow

* do not parse everything on mount + only check for missing assets fields

* add assets field in backend

* remove fallbackAccessTypes

* better structure and less queries / parsing

* Fix assets not showing when pulling raw_flow from jobs

* flow assets ctx for job run

* Fix transitive assets fetching

* Fix input args asset node

* enablePathScriptAndFlowAssets flag

* edit btn for variable

* untrack refresh

* move parseInputArgsAssets

* Assets tab in runs

* Update FlowStatusViewerInner to svelte 5 + fix asset sync bug

* avoid toast error on bad resource

* fetch res metadata for input arg asset

* Job assets viewer in run page

* r/w selector

* remove indigo badge

* store alt_access_type state in ScriptEditor

* Don't parse assets in flow script editor

* Add alt_access_type in backend

* show Read as selected by default to avoid giving the feeling of having made a decision

* keep alt_access_type when reparsing in flow raw scripts

* Remove variable asset kind, and save assets for scripts

* remove all backend asset parsing

* R/W/RW selector button nits

* fix insert into assets not saving alt access type

* support named arguments in python asset parser

* improve asset usage drawer R/W indicator

* update legacy $res: syntax

* reactivity issue

* remove last variable asset stuff

* sqlx prepare

* tooltip explainer

* deprecated variable asset nit
2025-07-17 22:15:01 +00:00
Guilhem
cec2fac7e4 feat(frontend): run test flow from graph (#6122)
* migrate FlowPreviewContent to svelte 5

* run background preview from input panel

* share local run test

* Show approval in graph is testing in graph

* use component and props instead of portal for approval in graph

* Add a toggle to show module status in graph

* open module result after each run

* Fix module reactivity issue

* Add test flow button

* Extract preview run logic from flowPreviewContent

* Revert "Extract preview run logic from flowPreviewContent"

This reverts commit a39c70a920.

* nit

* lazy load preview content

* create component for flow preview button

* open preview v0

* open preview v1

* connect open preview button

* improve graph run display

* enable cancel preview

* Run test flow from input panel

* nit

* wip

* Use global context instead of module context for moduleTestState

* nit

* fix flow preview rendering

* Add testJob to modulesTest context

* update module status based on individual test data

* fix: clear job status on run preview

* detatch run buttons from input node

* move preview job in FlowEditorContext

* move outputPickerOpenFns to FlowEditorContext

* add result panel

* Add result output picker

* add status to loops and branch

* add open detail button to result panel

* fix test up to

* clean unnecessary binding

* clean

* Make iteration annotation smaller in editmode

* detatch test button to and aproval from node

* prevent flow edition during execution

* Prevent step test run during flow run

* Show approval in graph edges

* prevent opening output popover if node is outside the graph

* fix pointerdownOutside action

* fix test up to dropdown not closing

* fix test up to

* nit

* change job status badge display

* fix running status

* Enable test flow in Dev

* fix darkmode

* fix node panel display in Dev

* fix test flow button positionning

* fix suspend in subflows

* improve lazy load of preview

* prevent preview data unmount on close drawer

* clean code

* move flowjob into flow context

* Revert "move flowjob into flow context"

This reverts commit 939e9dbaaf.

* clean context

* nit

* fix dark mode status view

* fix test button alignment

* clean job status on deleted step

* fix retry bad status display

* Detect flow change

* Update frontend/src/lib/components/flows/header/FlowPreviewButtons.svelte

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-07-09 16:24:03 +00:00
Ruben Fiszel
37140b20e2 persist flow state better between drawer close/open 2025-04-26 22:03:44 +02:00
Ruben Fiszel
7dec869a3f improve flow script editor performances 2025-04-26 20:42:31 +02:00
Ruben Fiszel
00e7f0aedc usr local bin uv 2024-10-03 22:48:09 +02:00
Ruben Fiszel
7c0950d9da fix: fix uv path 2024-10-03 22:42:34 +02:00
Ruben Fiszel
dfeed377f6 avoid double loading for run page detail of flow and improve ArgInfo renderer 2024-09-03 20:19:47 +02:00
Ruben Fiszel
95202211f5 nits 2024-09-03 00:49:44 +02:00
Ruben Fiszel
b78249e7f7 improve modularity for whitelabelling 2024-08-21 15:37:26 +02:00
Ruben Fiszel
f300f4cf2e nits whitelabel 2024-08-14 02:09:22 +02:00
Ruben Fiszel
7f2cbb40f6 feat: improve flow status viewer (show branch chosen + all iterations in for loop) (#4074)
* all

* all

* all

* all

* all
2024-07-13 18:53:24 +02:00
Faton Ramadani
4cefe0e886 fix(frontend): Remove useless RunnableWrapper on Log and Flow status … (#3877)
* fix(frontend): Remove useless RunnableWrapper on Log and Flow status component

* fix(frontend): fix wording

* fix(frontend): fix wording

* fix(frontend): add missing render prop
2024-06-05 16:21:33 +02:00
Ruben Fiszel
f0da67f3b6 fix: improve flow status viewer to display the step details on third tab 2024-06-04 15:07:08 +02:00
Ruben Fiszel
c7c2272f22 add default state store to flow status viewer 2024-04-09 18:43:50 +02:00
Ruben Fiszel
26a83b725f improve flow status viewer 2023-12-07 00:17:48 +01:00
Guillaume Bouvignies
29ea5f0f7e feat: Restartable flows (#2514)
* feat: Restartable flows for simple sequential flows

* check if status of previous module to initialize last_result

* compute result of forloop flows when needed

* Add possibility to restart a flow preview

* Re-compute leaf jobs when needed

* FE polishing

* Add tooltip on button and fix module not found error in preview

* Handle ListJob when computing leaf job from db

* Fix unused imports

* ./build_openapi.sh

* sqlx prepare
2023-10-30 12:51:56 +01:00
Ruben Fiszel
093295be85 feat: add timeline progress bars to flows" (#2464)
* add timeline

* progress

* all

* all
2023-10-18 19:22:09 +02:00
Ruben Fiszel
c15aca19e9 improve error handling after refactor 2023-10-16 18:40:01 +02:00
Ruben Fiszel
c5f8786134 fix: improve flow status viewer for large values 2023-10-07 19:54:36 +02:00
Ruben Fiszel
5651c5bd7c catch error for loading inner modules 2023-09-30 08:06:23 +02:00
Ruben Fiszel
5ac99b817e feat: dedicated workers for native-throughput performance (EE only) (#2239)
* dedicated worker

* dedicated worker

* merge

* progress

* progress

* progress

* merge

* update

* sqlx

* fix imports
2023-09-06 10:32:53 +02:00
Ruben Fiszel
21e8d7694c perf: improve queue performance (#2222)
* benchs

* progress

* prog

* progress

* progress

* progress

* update

* progress

* progress

* progress

* progress

* progress

* all

* all

* improve queries

* improve queries

* rm imv

* all

* all
2023-09-03 09:44:16 +02:00
Ruben Fiszel
06006f1c7e feat: add parallelism control to forloops 2023-08-27 23:03:19 +02:00
Ruben Fiszel
94f67dd6c9 fix request armageddon on flow status update for inner flows 2023-08-22 21:53:44 +02:00
Ruben Fiszel
6f40b77ba9 fix: fix cancel job for flows in some edge cases 2023-08-22 21:35:35 +02:00
Ruben Fiszel
c4274e7c52 add download button to expanded graph 2023-08-21 11:11:16 +02:00
Ruben Fiszel
27e6a3fd66 reduce default nb of jobs on runs page 2023-08-20 11:51:07 +02:00
Ruben Fiszel
9c540afabb update flow status even for flows 2023-08-18 01:32:19 +02:00
Faton Ramadani
b39f486c91 Dark mode v0 (#1893)
* feat(frontend): wip

* wip

* wip

* wip

* wip

* add toggle

* correctly handle monaco theme

* wip

* wip

* wip

* wip

* wip

* feat(frontend): Dark mode v0

* feat(frontend): Adap AI gen poppup

* feat(frontend): Adap script metadata labels

* feat(frontend): Fix unreadable texts

* feat(frontend): Fix unreadable texts

* feat(frontend): Fix unreadable texts

* feat(frontend): Fix ressource picker

* feat(frontend): Fix unreadable texts

* feat(frontend): Fix unreadable texts

* feat(frontend): Fix unreadable texts

* feat(frontend): Add theme toggle in the login page

* feat(frontend): Fix unreadable texts

* feat(frontend): Fix language selection

* feat(frontend): Fix FlowStatusViewer colors

* feat(frontend): Fix divide colors

* feat(frontend): Fix flow graph buttons

* feat(frontend): add theme toggle in login modal

* feat(frontend): small ui fix

* feat(frontend): fix graph dark mode toggle
2023-07-25 10:43:04 +02:00
Ruben Fiszel
41213a61aa feat: native fetch + native postgresql jobs (#1796)
* push

* test

* test

* done

* fix

* modify script lang enum

* fix tests

* update wasm

* fix tests
2023-07-04 19:39:59 +02:00
Ruben Fiszel
28094b29d6 feat: download logs from backend 2023-06-22 22:38:41 +02:00
Ruben Fiszel
cb3177e3c0 feat: add dynamic default args to approval page form 2023-06-20 14:36:25 +02:00
Ruben Fiszel
eab70dcd35 feat: add schema form to approval steps 2023-06-20 11:59:13 +02:00
Ruben Fiszel
828461f038 fix: renaming app + improve flow rendering 2023-06-02 11:51:47 +02:00
Ruben Fiszel
4c33daaba0 rework ownership permissions 2023-04-15 23:03:16 +02:00
Ruben Fiszel
0b70212c6d fix(backend): improve subflow processing 2023-04-03 00:32:13 +02:00
Ruben Fiszel
a8b99494eb truncate file too big 2023-03-29 20:03:17 +02:00
Ruben Fiszel
8f7082d5ff improve logging to trace job from root_job and fetching flow details from a separate workspace 2023-03-28 07:58:35 +02:00
Ruben Fiszel
26fd94a8f0 feat(frontend): refactor entire flow builder UX 2023-03-05 23:00:43 +01:00
Ruben Fiszel
a5e29e5f4f fix tailwind JIT for devmode + graph fixes 2023-03-02 14:49:36 +01:00