Commit Graph
41 Commits
Author SHA1 Message Date
GuilhemandRuben Fiszel cd440564d2 feat: history for flow inputs (#5117)
* feat (frontend): improve capture UI

* show schema diff

* add accept reject form

* add diff for first node input

* move update schema button

* change modified properties display

* propagate change through nested components

* allow modification of nested object in schema

* reject nested changes

* clean logic

* clean code

* clean

* nit

* fix first strep input

* fix argument preview

* clean

* restore indentation for nested objects

* ignore undefined field in diff computation

* fix run button disabled update

* nit

* fix update JSON

* fix deletion of nested components

* dark mode

* clean

* replace dropdown with sidebar

* only check type for compatibility

* add shadow

* disbale dnd on edit

* auto-scroll within schema

* fix nested not dnd object diff viewer

* fix captures drawer

* open edit tab on add new arg

* change button label when schema is the same

* ajust padding

* fix arg update

* fix oneof display

* propagate change event through nested schema

* handle oneOf

* fix preview arg sync

* handle s3 object

* fix arg sync

* update schema input compatibility

* clean compatible

* accept empty array items

* clean

* increase of schema args gap

* fix nested schema update

* allow number and int compatibility

* reset args when modifying schema

* open fields on add with addPropertyV2

* feat(frontend): use new saved inputs picker

* add object viewer to saved inputs row

* Display alert info on select saved or historic input

* Allow args edit when using saved/historic inputs

* replace input library drawers with panels

* add captures and saved inputs to arg picker

* polish ui

* nit

* clean

* add json arg editor

* fix escape for deselect input

* bind schema form valid

* nit

* handle big payloads

* nit

* nit

* validity check disabled in json view

* improve infinit list request

* fix json schema inferrence

* nit

* nit

* nit

* nit

* fix tipo

* handle large captures

* fix cancel button shift

* use sideTabBar has a trigger

* nit

* fix everything

* fix

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2025-01-30 16:30:56 +01:00
ebfde197fc fix(ui): capture v2 UX (#4954)
* feat: captures

* flow UI and improvements

* fix: build

* fix sqlx

* Move Capture WIP

* Add capture to webhook and websocket

* Move connection status viewer in the head

* change trigger section label

* Add popover capture picker using melt ui

* Add shortcut to triggers capture from input form

* remove capture tab in input

* Allways show capture

* remove useless logs

* Add email capture

* Add kafka capture into triggers

* Add edit option in capture table

* use light header for arg input

* Add prefilled group id

* Change button label

* fix logic

* Open resource drawer if prototype has fields

* fix default completion

* Change name Prototype

* Dissociate Editor Mode for triggers

* Fix bug for script

* Fix apply args

* fix apply schema

* Add capture table to script

* fix apply args

* Add capture button for script

* Delete capture tab

* Set capture on when opening triggers capture

* fix connection indicator

* fix minor issues

* Add preprocessor logic

* Use slot in log Panel for captures

* handle capture refresh in script

* Delete capture tab from script editor

* reset kafka resource on toggle static

* fix minor issue

* Allow resource in kafka capture

* use simple capture button in flow

* Remove capture panel

* Polish route trigger editor

* Fix resource saving

* Remove excessive padding

* merge nits

* Add history tab

# Conflicts:
#	frontend/src/lib/components/EditableSchemaForm.svelte

* add workflow_dispatch to build

* add workflow_dispatch to build

* Move input copy from in a panel

* better capture UI

* Add smoothing animation on open input editor

* fix bad wrapping in input editor menu

* clean code

* restore captureTable

* clean

* fix sqlx

* fix build

* fix build

* build

* make initial_messages optional in line with db

* fix npm check

* better handle args for capture webhook and http

* add capture pagination

* Add capture table

* Add table for history inputs

* nit

* simplify capture table

* stop capturing on closing capture section

* show only 10 items per page for captures

* set focus to logs on script test

* Fix collapsable section

* nit

* open captures when applying args from triggers

* update edit input drawer

* fix all EditableSchemaForm

* fix panel init animation

* Add capture popover

* change open tab button

* clean code

* fix bad table display

* Fix JSON input bad sync

* make capture icon bigger

* nit

* nit

* revert unwanted change

* Change capture name and nits

* infinite scroll and cleaning

* Add toast when failing to retreive first step input

* add icons to dropdown edit input list

* remove unused log

* Add click outside to all schema pickers

* fix click oustide

* Fix migrations

* solve run button not refreshing properly

* Add a capture drawer

* change apply args and schema logic

* change apply args and schema logic

* fix toggle display

* fix schema display

* improve preview mode

* Add first step panel

* nit

* clean

* Add hint for captures

* clean

* nit

* nit

* fix script node page height

* improve animation on redirecting to capture

* improve saved input picker

* nit

* add Json placeholder

* nit

* add list animations

* delete useless logs

* add animated list to captures history and saved inputs

* Delete unused component

* clean

* nit

* clean code

* improve tab scroll experience

* nit

* nits

* nits

* fix script args update

* nit

* nit: include preview in history inputs in edit mode

---------

Co-authored-by: HugoCasa <hugo@casademont.ch>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2025-01-13 14:45:38 +01:00
Alexander Petric 0e11c43014 small ui fix for result display in psql + adding --return_last_result to psql script helper (#4919) 2024-12-13 17:55:19 +01:00
e888c84a36 polish critical alert modal (#4802)
* polish critical alert modal

* Use Table component

* use table component pagination

* Add acknowledge to the table

* Polishing table

* fix nit

* Filter alerts

* Add notification count on modal

* Adjust table height

* Change mute description

* Fix layout

* minor fix

* Fix small screen issue

* fix toast on refresh

* Revert "fix toast on refresh"

This reverts commit ae3593e1af.

* filtering to backend, superadmin also acknowledges workspace (unless CLOUD_HOSTED), simplifications

* sqlx prep

* improve reactivity

* improvements

---------

Co-authored-by: Alexander Petric <alpetric@users.noreply.github.com>
Co-authored-by: Alexander Petric <petric.al@gmail.com>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-12-05 11:07:11 +01:00
Ruben Fiszel 2f33da9cf3 fix: respect sorting when downloading csv f rom auto table 2024-07-24 11:12:51 +02:00
Ruben Fiszel 211e80b69e fix: make result_json path stable for python executors 2024-07-23 17:39:40 +02:00
Ruben Fiszel f7c2580a3f fix: preserve force json across code preview 2024-07-23 16:42:29 +02:00
Ruben Fiszel 5e73ed5569 fix(backend): wrong previous result used in flow for-loop 2024-06-11 17:35:38 +02:00
Ruben Fiszel b77042a310 feat: support selecting by columns in table 2024-06-05 19:57:54 +02:00
Ruben Fiszel 3c9e8bc4d0 table small improvements 2024-05-30 15:05:42 +02:00
HugoCasa c4159f2286 fix(frontend): improve auto data table headers when array of arrays (#3738) 2024-05-15 12:29:31 +02:00
Faton Ramadani 43a3a4abf7 fix(frontend): remove red from autodatable badges (#3652) 2024-05-01 10:23:52 +02:00
Ruben Fiszel 4f9b3dcfeb nits autodatatable 2024-04-26 16:57:37 +02:00
Faton Ramadani 8021919bc6 fix(frontend): Improve AgGrid Infinite table default codes + deprecat… (#3609)
* fix(frontend): Improve AgGrid Infinite table default codes + deprecated table + improve AutoDatatable

* fix(frontend): Handle undefined rowCount

* fix(frontend): Improve Ag Grid footer

* fix(frontend): Improve Deprecated badge
2024-04-25 15:06:58 +02:00
Ruben Fiszel a6252b7eb2 fix: improve autodata table 2024-04-24 23:22:37 +02:00
Ruben Fiszel a78857b433 nits 2024-04-09 14:15:12 +02:00
Ruben Fiszel a49b9ce367 fix: make autodatatable more resilient 2024-04-05 20:55:11 +02:00
Ruben Fiszel e9570fa52a fix: make autodatatable more resilient 2024-04-05 20:40:18 +02:00
Ruben Fiszel 099647cae2 fix: small table fixes 2024-03-22 18:51:32 +01:00
HugoCasaandRuben Fiszel c2d18a6d6f feat keep sql columns ordering (#3444)
* feat: keep pg columns ordering

* feat: pass column order through flow status

* feat: sql ordering for all sql langs

* fix: sqlx build on mac + rename to _metadata

* Update JobPreview.svelte

* Update +page.svelte

* Update +page.svelte

* Update LogPanel.svelte

* Update +page.svelte

* Update LogPanel.svelte

* Update JobPreview.svelte

* fix: build

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-03-22 10:34:32 +01:00
Faton Ramadani 990cef5461 fix(frontend): Improve autodatatable (#3434)
* feat(frontend): Improve autodatable

* feat(frontend): global cache clean up

* feat(frontend): remove useless class
2024-03-19 09:34:34 +01:00
Faton Ramadani 53a0cb6d82 fix(frontend): Fix csv generation (#3439)
* feat(frontend): properly convert JSON to CSV

* feat(frontend): properly convert JSON to CSV
2024-03-19 09:01:16 +01:00
Faton Ramadani 9d74f0a0b6 fix(frontend): correctly change the currentPage when perPage changes (#3420) 2024-03-15 11:27:11 +01:00
Faton Ramadani 5367e1f5d8 feat(frontend): use the DisplayResult component in the Expanded resul… (#3410)
* feat(frontend): use the DisplayResult component in the Expanded result drawer

* fix(frontend): Fix table-row styling
2024-03-14 12:42:13 +01:00
HugoCasa 864caa90db fix: improve display result header (#3265)
* fix: improve display result header

* fix: improve code
2024-02-22 00:21:04 +01:00
Ruben Fiszelandrubenfiszel 6fdfc1f112 fix: update internal deno runtime to 0.262.0 (#3240)
* feat: scim token and saml metadata setting in UI directly

* chore(main): release 1.271.0 (#3237)

* chore(main): release 1.271.0

* Apply automatic changes

---------

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

* fix test

* all

* update all

* fix frontend

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-02-18 13:19:35 +01:00
gft-kysonndandRuben Fiszel aaf02e064c fix(frontend): wrap values with special characters in double quotes when downloading a CSV (#3232)
* wrapped values with special characters in double quotes when downloading CSV

* Update AutoDataTable.svelte

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-02-16 09:17:19 +01:00
Faton Ramadani 57ea2d4c2f fix(frontend): add header when downloading a CSV (#3228) 2024-02-15 16:51:13 +01:00
Faton Ramadani 9542576963 fix(frontend): various UI fix (#3098)
* fix(frontend): Fix Tree view whitespace break + add w-max to contextual variable table + Migrate script history tab to Datatable + uniformize branch one/all settings + Migrate cache setting old layout

* fix(frontend): add class prop to datatable

* fix(frontend): add noBorder prop
2024-01-29 14:19:50 +01:00
Faton Ramadani 6c7004935f fix(frontend): Fix display for array of objects (#3051) 2024-01-21 15:38:55 +01:00
Ruben Fiszel b9ac7c93e2 make tables support json 2024-01-19 02:29:14 +01:00
Faton RamadaniandRuben Fiszel 78f80c8b0d feat(frontend): Rich table display (#3028)
* feat(frontend): rich debug table

* feat(frontend): rich debug table

* feat(frontend): rich debug table

* feat(frontend): wip

* feat(frontend): table v0

* feat(frontend): fix layout audit page

* feat(frontend): display rich result by default

* feat(frontend): add selected rows

* feat(frontend): add unique ids

* feat(frontend): restore max-h

* feat(frontend): md support + remove sorting on types that don't support comparaison

* feat(frontend): fix actions

* feat(frontend): fix md

* feat(frontend): fix md

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-01-18 17:26:46 +01:00
Faton Ramadani cdc76994f8 feat(frontend): Buttons refactor (#2545)
* feat(frontend): wip

* feat(frontend): button refactor wip

* feat(frontend): button refactor wip

* feat(frontend): fix build

* feat(frontend): fix build

* fix(frontend): fix build

* fix(frontend): fix buttons styles

* fix(frontend): remove dev file

* feat(frontend): clean up

* feat(frontend): done

* feat(frontend): done

* feat(frontend): remove duplicated componnet

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): forked Flow icons

* feat(frontend): remove legacy dropdown

* feat(frontend): migrated all + remove dependencies

* feat(frontend): clean up
2023-11-10 09:43:10 +01:00
Faton Ramadani 73bdaaf756 feat(frontend): Rework variable table (#2576)
* feat(frontend): updated variable table

* feat(frontend): updated variable table

* feat(frontend): fix folder menu

* feat(frontend): fix folder menu

* fix(frontend): fix icons

* fix(frontend): reduce table size
2023-11-07 15:13:45 +01:00
Faton Ramadani c15ceeb1c6 feat(frontend): Ag grid styling (#2565)
* feat(frontend): Add AG Grid styling

* feat(frontend): Fix documentation link

* feat(frontend): Fix padding issues
2023-11-06 12:38:08 +01:00
Faton Ramadani 92b25a7274 Refactor sidebar (#2539)
* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): menu v2

* feat(frontend): menu v2

* feat(frontend): done

* feat(frontend): fix mobile view

* feat(frontend): fix build

* feat(frontend): fix interactions

* feat(frontend): fix small ui issues

* feat(frontend): fix close issue

* feat(frontend): fix close issue
2023-11-02 12:58:29 +01:00
Faton Ramadani dfde7fc195 fix(frontend): Properly handle click (#2351)
* fix(frontend): Properly handle click

* fix(frontend): Properly handle click
2023-09-28 05:07:26 -07:00
Faton Ramadani 47a05ec587 fix(frontend): fix theme UI (#2305) 2023-09-19 11:05:43 +02:00
Faton Ramadani 785a6077f6 feat(frontend): Runs rework v2 (#2012)
* wip

* feat(frontend): Add disable prop to App Toggles

* feat(frontend): run page v2

* feat(frontend): column ordering + load more

* feat(frontend): column ordering + load more

* feat(frontend): revert old coode

* feat(frontend): simplify table + fix load more style + add groups

* feat(frontend): Done

* feat(frontend): Fix styling issues

* feat(frontend): Fix styling issues

* feat(frontend): Simplify filters

* feat(frontend): Rework runs done

* feat(frontend): fix drawer

* feat(frontend): rework the filters

* feat(frontend): rework the filters

* feat(frontend): small ui fix

* feat(frontend): correctly display title

* feat(frontend): fix dark mode switch

* feat(frontend): fix reset/clear buttons

* feat(frontend): Rework runs done
2023-08-10 17:24:31 +02:00
Faton Ramadani 54ef5e7d43 feat(frontend): Audit logs rework (#1997)
* feat(frontend): rework settings wup

* feat(frontend): rework settings wop

* feat(frontend): rework settings wip

* feat(frontend): rework workers + folders

* feat(frontend): modify the nord theme

* feat(frontend): folder columns size

* feat(frontend): Fix build

* feat(frontend): rework audit ogs

* feat(frontend): rework audit ogs

* feat(frontend): rework audit structure

* feat(frontend): Add missing filters

* feat(frontend): updating AuditLog openapi

* feat(frontend): desktop view done

* feat(frontend): fix build

* feat(frontend): audit log rework

* feat(frontend): fix filters
2023-08-07 15:22:13 +02:00
Faton Ramadani 84c1172f30 feat(frontend): Settings rework (#1983)
* feat(frontend): rework settings wup

* feat(frontend): rework settings wop

* feat(frontend): rework settings wip

* feat(frontend): rework workers + folders

* feat(frontend): modify the nord theme

* feat(frontend): folder columns size

* feat(frontend): Fix build
2023-08-03 12:24:38 +02:00