Commit Graph
82 Commits
Author SHA1 Message Date
Guilhem a2ac29532e use clickoutside for note deselect 2025-11-12 17:08:54 +01:00
Guilhem 05e012c93e improve note select 2025-11-12 17:00:16 +01:00
Guilhem 085f7a6fde Add context menu for the canevas 2025-11-12 15:32:22 +01:00
Guilhem 7eacccc8b8 Improve initial viewport position 2025-11-12 14:44:41 +01:00
Guilhem f572e24d26 improve mode switch 2025-11-12 13:33:52 +01:00
Guilhem 4994745c58 improve selection toggle 2025-11-12 13:14:15 +01:00
Guilhem bfd5d3e96d handle note selection separately 2025-11-12 12:29:08 +01:00
Guilhem 2c6c40f5df Simplify selection using svelte flow built in feature 2025-11-12 12:14:33 +01:00
Guilhem 5d0796603f Allow switch between selection modes with keyboard keys 2025-11-12 09:51:24 +01:00
Guilhem e1b7efbc80 Handle z-index for stacked group notes 2025-11-11 19:59:01 +01:00
Guilhem 999e673dd0 fix layout check 2025-11-11 18:53:52 +01:00
Guilhem 8e4985eddb clean selection manager 2025-11-11 16:19:32 +01:00
Guilhem 2e8a739b14 clean dirty changes 2025-11-11 15:56:12 +01:00
Guilhem 2f1a3dc37a simplify note state managment 2025-11-11 15:36:16 +01:00
Guilhem 1e616b8258 render note node from context 2025-11-11 15:36:16 +01:00
Guilhem 1688ede307 create a note change observer 2025-11-11 15:36:16 +01:00
Guilhem 84e39e7236 separate noteManager into editor and render 2025-11-11 12:53:51 +01:00
Guilhem 0de527dfd8 fined grained graph rendering for notes 2025-11-11 10:57:29 +01:00
Guilhem 53fa1c4db0 modify layout based on cached text height 2025-11-11 10:34:33 +01:00
Guilhem 5083ba61bd improve adaptive layout to group note 2025-11-10 15:43:57 +01:00
Guilhem 1ae0f4822d clean 2025-11-10 14:37:32 +01:00
Guilhem d01f80ef60 clean reactivity 2025-11-10 10:13:48 +01:00
Guilhem c53f0ea52f create a note manager class 2025-11-07 11:37:20 +01:00
Guilhem a425ab5b3e Adapt layout to group node 2025-11-07 11:20:44 +01:00
Guilhem 82e140eee6 Add group notes 2025-11-07 10:13:04 +01:00
Guilhem c9fd1934cd Introduce node multiselect 2025-11-06 18:11:20 +01:00
Guilhem 4b451f561e add note color picker 2025-11-04 16:49:14 +01:00
Guilhem 6a6fc6bcd5 Merge remote-tracking branch 'origin/main' into glm/frontend/add_notes_to_flow
# Conflicts:
#	frontend/src/lib/components/flows/map/FlowStickyNode.svelte
#	frontend/src/lib/components/graph/FlowGraphV2.svelte
2025-11-03 14:09:31 +01:00
Guilhem 1d7ba8b1e1 always show subflow expand button (#7033)
* fix unwanted tab change

* expand subflow is always visible

* nit

* nit
2025-11-03 12:23:01 +00:00
centdix 04d2ef419d feat(flow): Add graph diff visualizer (#6948)
* graph mode

* show colors

* show module diff viewer button

* better diff logic

* small width merge graph diff

* invert logic

* simplify

* better logic

* put removed modules in initial position

* nit

* nit

* fix conflicting ids

* fix

* add shadowed for after

* better position logic

* fix

* cleaning

* use splitpanes

* add toggle

* fix

* sync move

* icons

* handle zoom

* left header snippet

* cleaning

* cleaning

* remove stats

* big cleaning

* fix

* fix

* fix

* remove not working logic

* invert logic

* nit

* use in deploymentui

* fix typo

* no custom style

* handle nested

* simpler logic

* fix

* fix
2025-11-01 15:17:56 +01:00
Guilhem 94e5c21e25 glm/fix-prop-picker-position (#6991)
* fix button fill container

* fix popover overflow

* Update script picker to new guidelines

* fix expand sublow button

* fix scroll

* fix popover dark mode

* fix refresh button

* nit

* fix popover oferflow

* nit
2025-10-29 21:03:12 +00:00
Diego Imbert c44ac70b35 Show Assets toggle (#6985)
* Show Assets toggle

* Fix flow graph not updating when manuallly changing ambiguous asset R/W
2025-10-29 21:02:09 +00:00
Guilhem 032f0c1f8c feat: UX/UI full overhaul to meet new design system 2025-10-22 15:56:36 +00:00
Ruben Fiszel 963e0fb356 fix: flow dev mode improvements 2025-10-17 13:36:05 +00:00
047420e5ad feat(flow): add option to turn flow into chat (#6658)
* add toggle option + chat interface

* backend impl

* draft

* put info in schema

* Revert "backend impl"

This reverts commit c534eeb49986424e2c12e2c5642be4e17ba380d1.

* chat interface in flow input

* cleaning

* add logic for running flow + styling

* handle historic args

* fix frontend changes

* add tables

* add conv list

* add endpoints

* adapt frontend

* list message logic

* save message in db

* save response in db

* cleaning

* better migrations

* refresh on new conv

* better logic for messages

* nit

* genere conversation uuid from frontend

* store chat mode info in flow status

* better ui for chat

* collapse chat

* ui

* infinite scroll on convs

* infinite scroll on messages

* fix ui

* new chat entry on new

* cleaning

* change setting logic

* fix test logic from flow input

* move toggle to input

* add warning modal when enabling chat mode

* add summary and explanation on inline script

* add hint for chat mode on user_message desc

* show chat message instead of input in graph

* add warning for triggers

* one logo when not expanded

* use infinitelist for conversations

* add warning when deployment in progress

* full width button

* better icon for menu

* better input + nits

* put toggle in action

* use waitjob

* cleaning

* cleaning

* scroll on new + cleaning

* use enum

* fix logic

* full screen

* cleaning

* exit on updatesqlx error

* Update SQLx metadata

* fix

* cleaning

* add for wait result endpoint

* add missing drop

* delete cascade

* fix: use macro version of query_as in flow_conversations.rs

Use sqlx::query_as! macro instead of query_as function for compile-time
SQL validation and better type safety

Co-authored-by: centdix <centdix@users.noreply.github.com>

* fix: update comment to clarify conversation message update condition

The comment now accurately reflects that the update happens when
it's a flow and it's done (flow_is_done)

Co-authored-by: centdix <centdix@users.noreply.github.com>

* fix: only parse chat_input_enabled if conditions are met

Move the parse_chat_input_enabled() call inside the condition check
to avoid unnecessary parsing when the flow is not done or unsuccessful

Co-authored-by: centdix <centdix@users.noreply.github.com>

* fix: use the same transaction for conversation creation

Pass transaction to get_or_create_conversation_with_id instead of
creating a new one, ensuring all operations are atomic

Co-authored-by: centdix <centdix@users.noreply.github.com>

* fix: remove update trigger and handle updated_at in application code

Remove the database trigger that automatically updates conversation
timestamp and instead update it explicitly when creating messages.
This gives better control and consistency.

Co-authored-by: centdix <centdix@users.noreply.github.com>

* Update SQLx metadata

* cleaning

* feat(aiagent): handle memory (#6719)

* implement memory

* s3 logic for memory

* fix typo

* much cleaner

* cleaning

* cleaning

* only if chat

* display nit

* nit

* fix stack overflow

* cleaning

* use len arg from input

* cleaning

* change order

* delete memory when conv deleted

* cleaning

* nit

* show description in expr mode

* opti

* opti

* updatee ref

* store string as simple string

* use markdown

* do not wait for deletion

* add delete loading

* fix logic

* fix markdown

* Update ee-repo-ref.txt

* Update SQLx metadata

* fix in test interface

* nit

* nit

* fix layout

* use memory_id to store memory

* shorter description

* rls + grant

* fix text overflow

* extract output from res

* cleaning

* handle streaming

* cleaning

* fix tool error

* nit

* update ref

* fix

* Update SQLx metadata

* nit

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: centdix <centdix@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2025-10-03 14:04:21 +00:00
Guilhem e0a2f64485 wip 2025-09-22 12:43:01 +01:00
Guilhem 34435dc747 nit 2025-09-17 19:08:45 +01:00
Guilhem 3222858d8b move add note button up 2025-09-17 18:18:18 +01:00
Guilhem a5e90cc437 save note size and position 2025-09-17 18:05:01 +01:00
Guilhem f78dc93fd3 Add note component 2025-09-17 17:27:03 +01:00
Ruben Fiszel 49e687b00d internal: rolldown vite (#6584) 2025-09-11 16:12:36 +00:00
Ruben Fiszel e28c9df60f fix: fix preprocessor not displaying immediately on addition 2025-08-29 06:57:01 +00:00
hugocasa 958e8af782 feat: ai agent steps (#6393)
* feat: ai agent steps base

* better backend and graph

* feat: anthropic, log viewer

* nit

* fix(frontend): hide tool nodes from timeline

* move ai agent actions from flow status to flow status module

* nits and workspace/hub scripts support

* tmp ref

* fix merge

* feat: display agent tools status in the graph

* fix reactivity

* fix flow status

* nit
2025-08-20 22:40:57 +00:00
Diego Imbert 51568eee02 fix: improve computeAssetNodes rendering caching and performance (#6414)
* better caching for computeAssetNodes

* only pass required fields

* unecessary returns

* type not necessary
2025-08-19 21:12:34 +00:00
Ruben Fiszel 205618af0a nit module tracker 2025-08-19 07:56:17 +00:00
Ruben Fiszel 5e73c49ab6 fix: flow status reactivity improvement (#6402) 2025-08-19 02:12:57 +00:00
Ruben Fiszel eae0c09979 fix: improve flow layout for more complex flow 2025-08-14 21:43:39 +00:00
GuilhemandRuben Fiszel 4ec1dce531 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
Diego Imbert 7384aa36f4 fix flickering flow graph in vscode extension (#6266) 2025-07-23 12:33:53 +00:00
Ruben Fiszel dec72e201b feat: use sse for flow status updates 2025-07-19 14:42:26 +00:00