Commit Graph

151 Commits

Author SHA1 Message Date
Peter Clement 250c54e0c3 Merge remote-tracking branch 'origin/master' into feat/trigger-binding-suggesti 2024-01-17 09:43:08 +00:00
Peter Clement bf12e5bc1e revert to empty array on fields object being empty 2024-01-11 11:01:23 +00:00
Peter Clement c3f77f3b42 linting 2024-01-11 09:47:04 +00:00
Peter Clement 78ef231e03 fix issue with being able to select any automation to trigger 2024-01-10 16:34:52 +00:00
Peter Clement 93c5b3721b some tweaks to fix bindings for row created / updated events 2024-01-09 11:02:51 +00:00
Peter Clement 186fd84484 remove log 2024-01-08 09:31:41 +00:00
Peter Clement a6c09e25e6 recommit work for trigger binding suggestions 2024-01-04 14:30:18 +00:00
Adria Navarro 92f411bf77 Prettier 2023-11-20 21:48:49 +01:00
Adria Navarro 4d27ff1dc0 eslint import/no-duplicates 2023-11-20 21:48:49 +01:00
Peter Clement 635008e173 unique name enforcement for automations 2023-11-03 11:05:05 +00:00
Peter Clement 7cba4d3fb2 formatting found in testing 2023-10-31 16:29:43 +00:00
Peter Clement 81ca48a331 tidy up and issues found in testing 2023-10-31 13:05:04 +00:00
Peter Clement 38fe8375ce fix bindings references being updated 2023-10-27 13:47:34 +01:00
Peter Clement b1dabe7dc5 missing binding 2023-10-27 11:22:34 +01:00
Peter Clement 8a7a2abd61 styling / pr comments 2023-10-27 10:45:58 +01:00
Peter Clement 89a242f354 fix issue with readable bindings not displayinng correctly 2023-10-27 09:13:27 +01:00
Peter Clement d864eaa9ea pr comments 2023-10-26 16:05:15 +01:00
Peter Clement 73a7b8eb50 fix formatting of selectors 2023-10-26 11:27:34 +01:00
Peter Clement edb511cbce update field styling and ux for individual blocks 2023-10-25 13:27:01 +01:00
Peter Clement aad6ab4fb4 update bindings to use names 2023-10-25 13:26:48 +01:00
melohagan b4e0d98973 Add bindings support to meeting start / end dates (#11759)
* Deprecate zapier+make values1..5

* Allow dates in meeting invite to be bindable

* Add DrawerBindableSlot component

* Show calendar icon

* refactor

* Use cancel icon

* Disable cancel for JS bindings

* WIP

* WIP

* WIP

* Fix linkedIds svelte binding

* Label and icon update

* Handle arrays

* Support text area

* Add reactivity to text area icon

* Support boolean

* JSON support

* Remove rowControl

* Allow boolean field to have three states

* lint

* Refactor

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2023-09-29 09:15:36 +00:00
Andrew Kingston 1dcc0b3d38 Updated leftover broken reference to function 2023-08-25 09:24:16 +01:00
Andrew Kingston fd71ad57da Add better support for generic DS+ into databindings and update save row to work with view V2s 2023-08-24 16:12:12 +01:00
melohagan 3097c9162f Fix for app action fields and don't clone testData (#11441) 2023-08-04 16:25:14 +01:00
andz-bb c372bb9a18 remove redundant cloneDeep 2023-08-02 09:35:42 +01:00
andz-bb 527426ddbb fix for saving external data connector query param values 2023-08-01 16:29:04 +01:00
Martin McKeaveney 979883257e backmerge master 2023-07-19 17:11:15 +01:00
Dean f04f42546a Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-20 12:33:48 +01:00
Peter Clement 832ee22c0a fix issue with adding automation step 2023-06-19 11:43:00 +01:00
Dean 2304032423 Added embed state, behaviours and event tracking to client app. UI/UX Refactoring 2023-06-16 12:30:08 +01:00
melohagan c0578d4cc2 Send meeting invite via automation email smtp (#10787)
* Pass calendar props into sendSmtpEmail

* Add calendar event to message

* Add Checkbox and DatePicker automation field UI

* Add URL prop

* Add url to sendSmtpEmail unit test

* Refactor

* Code review comments

* Make location optional

* Add EmailInvite type

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-06-08 14:25:35 +01:00
Dean 247896bdf3 Linting 2023-06-02 12:55:16 +01:00
Dean 9f2df319a2 Updated the JS Scripting modal use the new editor 2023-06-02 12:50:22 +01:00
Dean e8c6185add Refactoring and some styling updates 2023-05-29 21:19:44 +01:00
Dean 56bac67d49 Merge commit 2023-05-26 10:11:51 +01:00
melohagan 395cf4a667 Add JSON payload support for Make and Zapier (#10529)
* Rename Integromat to Make. Update logo.

* Add JSON type for automations

* Support deprecated values in JSON

* Fix json query editor width bug

* Push body to schema if missing

* Support JSON body

* Add JSON payload support for Zapier

* Update packages/server/src/automations/steps/make.ts

Co-authored-by: Martin McKeaveney <martin@budibase.com>

* July -> November

* Add unit tests

---------

Co-authored-by: Martin McKeaveney <martin@budibase.com>
2023-05-11 17:49:33 +01:00
melohagan 476bf65957 Set default enum values (#10377) 2023-04-21 14:37:15 +01:00
melohagan eeb8e49b54 Re-add clone for App Action (#10052) 2023-03-16 11:36:47 +00:00
Peter Clement 4591bf64ee lint 2023-03-14 14:23:39 +00:00
Peter Clement 352791dd9b remove unneeded cloneDeep 2023-03-14 14:09:10 +00:00
Peter Clement b854e06b33 fix direct mutation of inputdata in rowselector 2023-03-14 13:57:36 +00:00
Peter Clement 6d6a4816a0 lint 2023-03-10 15:01:31 +00:00
Peter Clement bd7c91b1bd Fix automation saving issue 2023-03-10 14:47:26 +00:00
Andrew Kingston 8cd7ba1fdf Undo/Redo for Design and Automate sections + automations refactor (#9714)
* Add full undo/redo support for screens

* Add loading states to disable spamming undo/redo

* Add keyboard shortcuts for undo and redo

* Fix modals not closing in design section when escape is pressed

* Remove log

* Add smart metadata saving to undo/redo

* Add error handling to undo/redo

* Add active state to hoverable icons

* Fix screen deletion

* Always attempt to get latest doc version before deleting in case rev has changed

* Move undo listener top level, hide controls when on certain tabs, and improve selection state

* Add tooltips to undo/redo control

* Update automation section nav to match other sections

* Fix automation list padding

* Fix some styles in create automation modal

* Improve automation section styles and add undo/redo

* Update styles in add action modal

* Fix button size when creating admin user

* Fix styles in add automation step modal

* Fix issue selecting disabled automation steps

* Reset automation history store when changing app

* Reduce spammy unnecessary API calls when editing cron trigger

* WIP automation refactor

* Rewrite most automation state

* Rewrite most of the rest of automation state

* Finish refactor of automation state

* Fix selection state when selecting new doc after history recreates it

* Prune nullish or empty block inputs from automations and avoid sending API requests when no changes have been made

* Fix animation issues with automations

* Sort automations and refetch list when adding or deleting

* Fix formatting

* Add back in ability to swap between values and bindings for block inputs

* Lint

* Format

* Fix potential issue in design section when selected screen is unset

* Fix automation arrow directions everywhere, tidy up logic and fix crash when using invalid looping

* Lint

* Fix more cases of automation errors

* Fix implicity any TS error

* Respect _id specified when creating automations

* Fix crash in history store when reverting a change on a doc whose ID has changed

* Lint

* Ensure cloneDeep helper doesn't crash when a nullish value is passed in

* Remove deprecated frontend automation test

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-23 13:55:18 +00:00
Martin McKeaveney d4a0e44b31 merge 2023-02-05 22:11:37 +00:00
melohagan 919323b500 Fix/automation update deletes relationship (#9468)
* Add padding to text field input

* Apply padding to modal binding input

* Support relationships in automation bindings

* Trim automation field keys

* Trim automation field name

* Empty string check

* Add checkbox for clearing relationships update row

* Added state for automation field metadata

* clearRelationships updateRow check

* Padding tweak
2023-01-31 10:11:56 +00:00
Peter Clement 71352f1ddc add try catch to all environment variable loading 2023-01-30 16:30:51 +00:00
Peter Clement debef20af5 gate env vars in binding drawers behind license 2023-01-26 15:09:20 +00:00
Peter Clement 843649eb54 add envrionment bindings to automations 2023-01-26 14:59:29 +00:00
Andrew Kingston c3b6afbb6f Fix SQL table `_id` filtering (#9030)
* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules
2022-12-15 09:22:28 +00:00