Commit Graph
12 Commits
Author SHA1 Message Date
Diego ImbertandClaude Opus 4.6 5d79f33590 Final Svelte 5 migration (#8211)
* Remove $$props.field usage

* Rename slots to ensure no hyphen

* _props

* _trigger

* OnSelectedIteration type correct capitalization

* rename _content

* Remove afterUpdate

* Migrate everything to svelte 5

* array bind

* Fix popover

* type never

* nit fixes

* Fixed many trivial errors

* onClick

* Fix errors

* use let:

* nit typing

* fix: wrap state_referenced_locally vars with untrack()

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Add untrack import

* Fix all syntax errors due to untrack migration

* Fix undefined errors

* Fix more undefined errors

* untrack(() => initialOpen)

* svelte-ignore

* Fix state_descriptors_fixed error in Chart.svelte

Use $state.snapshot() to pass plain copies of data/options to Chart.js
instead of $state proxies. Chart.js's listenArrayEvents tries to define
property descriptors on data arrays, which Svelte 5 proxies reject.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* nit typing

* Merge issue

* Fix "path is not set" error in resource picker / editor

* Fix InputTransformForm error when rerunning some flows

* fix npm run check

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-05 18:11:40 +01:00
Ruben Fiszel 14005fe4c1 nits debug 2025-06-18 22:41:05 +02:00
Diego Imbert 299d32ba82 svelte 5 dispatch fixes (#5604)
* dispatchIfMounted

* fixed all warnings

* typo

* fix another infinite loop

* buggy date time input on runs page when changing search params
2025-04-11 15:17:42 +00:00
d7ef7fe360 migrate dropdown melt (2/4) (#5327)
* use melt menu in sidebar

* stop keyboard navigation for disabled items

* use melt menu for FavoriteMenu and WorkspaceMenu

* fix popover placement for menuButton

* use melt menu for operator menu

* fix notification

* fix operator menu

* Use melt menu in FlowJobsMenu

* use melt menu for AppMenu

* clean code

* clean code

* add use clickOutside option to Menu

* use pointerdown_outside

* use pointerdown_outside

# Conflicts:
#	frontend/src/lib/components/meltComponents/Menu.svelte

* use pointerdown in menus

* add max-h to app dropdown menu

* keep more open in operator menu

* add a MenuItem component

* clean

* nit

* nit

* clean code

* put conditionalMelt as utility function

* remove unused Portal

* Add debounce effect in operator menu

* fix component jumping due to z-index

* format pages

* migrate dropdown to melt

* feat: remove `pip` fallback option for python and ansible (#5186)

* refactor!: Remove `pip` fallback option for python and ansible

BREAKING CHANGE: pip was deprecated since 1.425.0 (2024-11-15)

* fix errors in main.rs

* fix tests

* remove nsjail for pip

* fix imports

* fix compilation error

* reinforce melt types

* fix racing condition issue in closing operator menu

* nit

* fix id conflix with melt element

* nit

* clean code

* use melt dropdown instead of menubar

* prevent modal from closing on click outside button in menu

* fix nit

* nit

* close dropdown when opening a new one

* clean

* fix z index and render

---------

Co-authored-by: pyranota <92104930+pyranota@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2025-02-24 14:53:50 +01:00
Guilhem 2fd80f7cdd feat: improve app connection UX #4687
* Add animation on connection plugs

* Remove connection pannel

* Modify click outside

* fix minor issue

* remove unused component

* Prevent keyboard component navigation when connecting

* fix left right panel inversion

* fix pannel logic

* close secondary menu on connection

* Adjust plug position according to id badge size

* Change components colors

* Change plug color

* Fix escape connection

* Change cursor when connecting

* Add user toast on connecting

* Add component to exclusion area in connection mode

* exit connection on click connection button

* create connection button component

* remove debug logs

* fix pen color

* polish

* Add alert message in connection mode

* fix minor issue

* fix unwanted cursor override
2024-11-19 16:34:42 +01:00
GuilhemandGuilhem Le Mouel f25a927b44 dev(frontend) move component options into editor menu (#4221)
* dev(frontend) move component options into editor menu

* dev(frontend) move component options into editor menu

* dev(frontend) add editor menu popovers

---------

Co-authored-by: Guilhem Le Mouel <guilhem.le-mouel.ext@altran.com>
2024-08-12 09:52:04 +02:00
Faton Ramadani 6b198272a4 fix(frontend): fix Decision Tree + fix Infinite list default ts code … (#3993)
* fix(frontend): fix Decision Tree + fix Infinite list default ts code indentation + add missing reset column defs button

* fix(frontend): improves how columnDefs are computed when we change the table

* fix(frontend): improved code quality

* fix(frontend): fix current node id

* fix(frontend): wip

* fix(frontend): wip

* fix(frontend): done

* fix(frontend): done

* fix(frontend): fix node deletion

* fix(frontend): fix node deletion

* fix(frontend): simplify node deletion
2024-06-28 17:24:45 +02:00
Ruben Fiszel 27f78bbe01 fix: improve conditional wrapper and prevent more app errors 2024-02-26 12:44:53 +01:00
Faton Ramadani 59a9869579 fix(frontend): Fix adding nodes to decision tree (#3107)
* fix(frontend): wip

* fix(frontend): fix decision tree + add missing outputs

* fix(frontend): remove console.logs

* feat(frontend): add fallback to go previous when we have no history (manual selection)

* feat(frontend): add a context to keep track of when a decision tree is being debugged

* fix(frontend): fix nameoverride

* fix(frontend): getFirstNode to make sure we correclty select the head
2024-01-31 16:54:12 +01:00
Ruben FiszelandFaton Ramadani af59b5cf54 fix: decision tree nits (#2936)
* fix(frontend): wip

* fix(frontend): wip

* fix(frontend): decision tree history

* fix(frontend): fix wording

---------

Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
2023-12-30 03:06:37 +01:00
Ruben Fiszel b290cbb758 feat: add summary to schedules 2023-12-26 14:15:46 +01:00
Faton Ramadani c483d06e4d feat(frontend): Decision tree (#2812)
* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): deicision tree v0

* feat(frontend): deicision tree v0

* feat(frontend): fix build

* feat(frontend): fix events

* feat(frontend): add branch

* feat(frontend): interactions done

* feat(frontend): fix graph display

* feat(frontend): fix rendering

* feat(frontend): add end props

* feat(frontend): working empty branches

* feat(frontend): code cleanup

* feat(frontend): code cleanup

* feat(frontend): fix subgrids sync

* feat(frontend): add missing events

* feat(frontend): clean up comments

* feat(frontend): fix inputValue key

* feat(frontend): clean up comments

* feat(frontend): compute first node

* feat(frontend): fix layout

* feat(frontend): fix actions

* feat(frontend): remove console.log

* feat(frontend): fix styling + add debug mode + use label in output panel

* feat(frontend): fix styling

* feat(frontend): fix styling

* feat(frontend): done

* feat(frontend): done

* feat(frontend): done

* feat(frontend): fix add

* feat(frontend): fix delete

* feat(frontend): minor fix

* feat(frontend): fix preivous buttons

* feat(frontend): Fix the eval preview

* feat(frontend): Remove log

* feat(frontend): fix wording

* feat(frontend): select the tab in the app editor when selecting the node
2023-12-15 15:19:59 +01:00