Commit Graph

5741 Commits

Author SHA1 Message Date
Andrew Kingston 8a455781d4 Fix regex. Wrong file before 2024-03-13 12:03:57 +00:00
Andrew Kingston 208464a158 Fix snippet decorator regex 2024-03-13 12:02:37 +00:00
Andrew Kingston 2d12a1a8fa Add server-side validation for snippet names 2024-03-13 11:48:17 +00:00
Andrew Kingston 8eee45b44a Lint 2024-03-13 10:23:52 +00:00
Andrew Kingston fda71de7c2 Remove unused import 2024-03-12 19:07:38 +00:00
Dean f7f2cb36d5 Table/Tableblock deprecated. Replaced with Gridblock labelled as Table 2024-03-12 17:01:07 +00:00
Andrew Kingston 79ae159329 Add code mirror completions for snippets 2024-03-11 21:10:53 +00:00
Andrew Kingston cef0911950 Fix merge 2024-03-11 16:21:07 +00:00
Andrew Kingston 1a8a649be4 Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-11 16:20:04 +00:00
Andrew Kingston a806dff3f4 Remove concept of validity from binding panel and allowing saving anything 2024-03-11 16:18:37 +00:00
Andrew Kingston 8b71c2731b Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-11 16:16:29 +00:00
Andrew Kingston ca4318f8c2 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-11 15:47:48 +00:00
Andrew Kingston f4ff245aa8
Merge branch 'master' into cheeks-lab-day-binding-eval 2024-03-11 15:41:59 +00:00
Dean 1cd20781fb Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-11 14:41:07 +00:00
Dean debb7c7255 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-03-11 14:33:05 +00:00
Andrew Kingston 20c8191323 Fix bgu 2024-03-11 14:00:42 +00:00
Andrew Kingston af10b65d51 Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-11 13:55:12 +00:00
Andrew Kingston a3b1062d09 Fix existing issue of CodeEditor completions not being reactive and allow saving invalid HBS bindings 2024-03-11 13:18:53 +00:00
Andrew Kingston 07ea080ab8 Update binding popovers to remove example bindings and therefore make consistent across the board 2024-03-11 12:07:25 +00:00
Andrew Kingston 7e724e8d8b Update binding side panel to show readable bindings and real values 2024-03-11 11:45:11 +00:00
Andrew Kingston 10c5eee87e Fix existing issue where command palette sits behinds modals 2024-03-11 11:00:04 +00:00
Dean 1f7e8f19ed packages/builder/src/components/start/DuplicateAppModal.svelte 2024-03-11 09:55:44 +00:00
Andrew Kingston ce0ad154da Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-11 09:33:46 +00:00
Andrew Kingston 7d1af03e62 Merge 2024-03-11 09:32:52 +00:00
Dean 9f29a2c3d9 Creator bug fix was not commited 2024-03-11 09:32:13 +00:00
Dean c5753dab0a Fix for duplicate app, PR feedback. Update for View only UX in app row, ensure favourite is displayed 2024-03-11 09:20:19 +00:00
mike12345567 507fa2b417 Quick fix for #12502 - the schema was never updating in the UI no matter what was input despite the response - cleaned up the key parsing a little on the backend and made sure there is simply one schema that the frontend always uses, respecting whatever the backend responds with. 2024-03-08 16:50:59 +00:00
Dean fec52c11e8 Merge remote-tracking branch 'origin/feature/app-list-actions' into feature/app-favourites 2024-03-08 14:26:05 +00:00
deanhannigan 460c2573e4
Merge branch 'master' into feature/app-list-actions 2024-03-08 12:24:15 +00:00
Conor Webb 4b84f5f127
Added custom title field to confirm actions modals (#13208)
* Added custom title field to confirm actions modals

* Changed label text to display Title/Text instead of having Confirm infront
2024-03-07 10:54:10 +00:00
Peter Clement a7551c7c6e
Merge branch 'master' into pc/bug-fixing 2024-03-07 09:34:41 +00:00
Peter Clement df5a435696 Fix issue with being able to select one to one relationship 2024-03-07 09:27:31 +00:00
Andrew Kingston ccb32af078 Add deletion confirmation to snippets 2024-03-07 08:25:11 +00:00
Andrew Kingston cb7f33de77 Add automatic naming of snippets 2024-03-06 20:27:46 +00:00
Andrew Kingston 4d271ccb53 Add real snippet saving and fix snippet evaluation in client apps 2024-03-06 19:07:16 +00:00
Andrew Kingston 01679fbd01 Add name validation to snippets 2024-03-06 18:36:22 +00:00
Conor Webb 1b387d359c
Added icon to button component, reworked icon display code. (#12624)
* Added icons to buttons, removed svg code added icon component code.

* Added icon functionality to button group component.

* Added gap to button manifest

* Added gap to button setitngs.

* Added gap setting to ButtonGroup component

* Added the ability to clear the selected icon.

* Added enter search to icon select

* Removed use:styleable as its for the button

* Moved non internal props up

* Fixed broken DynamicFilter component icon

* Updated DynamicFilter icon to a better suited one

---------

Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
2024-03-06 16:32:00 +00:00
Andrew Kingston 7dc67185ed Improve snippet drawer 2024-03-06 14:33:17 +00:00
Andrew Kingston d38a6ed0d3 Make any drawer expandable 2024-03-06 13:59:20 +00:00
Andrew Kingston 84fb0dd9de Add local state manipulation of snippets 2024-03-06 13:33:00 +00:00
Dean 30f0e3459f PR feedback 2024-03-06 10:29:43 +00:00
Dean e3603a81d5 App favouriting 2024-03-06 09:33:17 +00:00
Andrew Kingston 706f9b5d4a Update snippets to be an array 2024-03-05 19:11:34 +00:00
Andrew Kingston 5b3280832c Improve logic around swapping binding panel tabs 2024-03-05 18:38:48 +00:00
Andrew Kingston 65ca394f61 Add snippets panel 2024-03-05 16:56:55 +00:00
Dean 1fc4dbfd35 Lint 2024-03-05 16:35:38 +00:00
Dean 320b443ca4 Feedback changes. Permission change for app delete from GLOBAL_BUILDER to BUILDER. Minor updates to quota behaviour for apps. 2024-03-05 16:23:39 +00:00
Andrew Kingston 97375d1a33 Fallback to binding example syntax for code-mirror popover plugin when no context exists 2024-03-05 11:54:39 +00:00
Dean 42893c1218 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-03-04 10:00:03 +00:00
Dean d9b0b1c1e3 Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-03-01 12:23:12 +00:00
Andrew Kingston 245670f585 Ignore more svelte 4 warnings 2024-02-29 20:22:48 +00:00
Andrew Kingston d2cdee13ae Update automation code editors to work with new components 2024-02-29 20:18:20 +00:00
Andrew Kingston 755ece13b6 Lint, remove drawer modal border, bump account portal 2024-02-29 19:40:21 +00:00
Andrew Kingston 87e8b89075 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-02-29 19:12:52 +00:00
Andrew Kingston 3aed79ad03 Remove helpers subheading 2024-02-29 19:08:29 +00:00
Andrew Kingston b159258fb5 Restore mouse functionality 2024-02-29 17:04:39 +00:00
Andrew Kingston e53676791a Fix font size of code block in helper popovers 2024-02-29 17:04:01 +00:00
Andrew Kingston 5010c4fe4e Improve handling of nullish expression to provide a more reliable match to the real evaluation 2024-02-29 17:00:06 +00:00
Andrew Kingston d11e0a8e62 Remove testing components 2024-02-29 16:29:59 +00:00
Andrew Kingston 47cc9557c4 Improve drawer state management between instances 2024-02-29 16:29:32 +00:00
Conor Webb 78359808bf
Budi 8058 builder svelte warning in properties of type icon (#13164)
* Added helper function to check user plan type.

* Updated help menu email support license check.

* Removed stray output check

* Updated function name as per feedback.

* Reworked code to use the licensing store over the auth store.

* Removed unnecessary variable declaration and return instead.

* Updated function name to maintain consistency.

* Fixed linting issues.

* Removed stray comment from icon component.
2024-02-29 15:18:28 +00:00
Andrew Kingston e97754dd53
Merge branch 'master' into feature/form-screen-template 2024-02-28 09:22:50 +00:00
Andrew Kingston 08ad9d9c4e Add binding eval for non relationship fields when editing formula columns 2024-02-27 14:44:25 +00:00
Andrew Kingston 334c6de304 Attempt to make CreateEditColumn slightly readable by grouping variables as done everywhere else 2024-02-27 14:34:47 +00:00
Andrew Kingston afbdaac0db Simplify modalbindableinput 2024-02-27 14:17:07 +00:00
Andrew Kingston 3d96292f26 Clean up usages of drawers everywhere 2024-02-27 14:15:03 +00:00
Andrew Kingston 92d8dc14a1 Add more drawer titles 2024-02-27 13:47:49 +00:00
Andrew Kingston 010a55ea20 Improve titles in more places in automations 2024-02-27 13:37:16 +00:00
Andrew Kingston 7bf8a8b530 Add more instances of useful drawer titles 2024-02-27 13:30:11 +00:00
Andrew Kingston c12d3cffc3 Remove useless concept of headless drawer and fix issue with drawer observer 2024-02-27 13:28:13 +00:00
Andrew Kingston e10dd49540 Update drawer titles across the board to be more useful 2024-02-27 13:25:37 +00:00
Andrew Kingston 9450c5b770 Disable live binding eval when no context is provided 2024-02-27 12:55:48 +00:00
Andrew Kingston 6bb3c76d1d Further improve code mirror styles and consistency 2024-02-27 12:51:53 +00:00
melohagan 4c203ea35d
Budi 6149 export data make csv delimiter configurable (#13140)
* Add delimiter option

* Add custom delimiter

* external export delimiter

* Custom headers for row export

* External export rows custom headers

* Support custom JSON export labels

* Handle export table source switch

* update account portal

* Add space as delimiter

* Refactor

* update account portal

* Update columns from ColumnEditor

* Revert "Update columns from ColumnEditor"

This reverts commit d23293cd8b.

* Revert "Revert "Update columns from ColumnEditor""

This reverts commit 0f16bddff7.
2024-02-27 12:49:11 +00:00
deanhannigan 79ed0e0d89
Merge branch 'master' into feature/form-screen-template 2024-02-27 12:20:36 +00:00
Andrew Kingston 1e74fe0cb7 Improve popover positioning, improve drawer styles and performance 2024-02-27 09:24:26 +00:00
melohagan 6e4c2b7242
Export data make CSV delimiter configurable (#13028)
* Add delimiter option

* Add custom delimiter

* external export delimiter

* Custom headers for row export

* External export rows custom headers

* Support custom JSON export labels

* Handle export table source switch

* update account portal

* Add space as delimiter

* Refactor

* update account portal
2024-02-27 09:23:49 +00:00
Andrew Kingston a44f348e37 Standardise icon sizes in binding side panel 2024-02-26 16:13:39 +00:00
Andrew Kingston 92abdec150 Fully refactor drawer rendering to not depend on CSS transforms, which break codemirror 2024-02-26 16:07:01 +00:00
Andrew Kingston ad576e2c01 Add swap overlay when changing modes and improve styles 2024-02-26 13:31:34 +00:00
Conor Webb af7b6a46a9
Help popout email support license validation check (#13133)
* Added helper function to check user plan type.

* Updated help menu email support license check.

* Removed stray output check

* Updated function name as per feedback.

* Reworked code to use the licensing store over the auth store.

* Removed unnecessary variable declaration and return instead.

* Updated function name to maintain consistency.
2024-02-26 11:45:47 +00:00
Dean e8e2a3c31d Added context menu to the app navigation sidebar 2024-02-26 10:57:37 +00:00
Andrew Kingston d666d03328 Add loading indicator and debounce evaluations to fix performance issues with large JSON payloads 2024-02-24 18:17:08 +00:00
Andrew Kingston a27529eca5 Remove success state from evaluation panel and rename to preview 2024-02-24 16:33:15 +00:00
Andrew Kingston da838386d9 Show binding panel by default 2024-02-24 16:30:58 +00:00
Andrew Kingston 395942d8b6 Add modal drawer support with transitions 2024-02-24 13:26:34 +00:00
Andrew Kingston 7484f087bc Add stacked drawer support and transitions 2024-02-23 18:15:01 +00:00
Andrew Kingston c410160e60 More drawer style updates 2024-02-23 12:43:14 +00:00
deanhannigan ddcc433484
Merge branch 'master' into feature/app-list-actions 2024-02-23 11:34:31 +00:00
Dean ea978923cb Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-23 11:32:16 +00:00
Dean 717729cd02 Highlight setting feedback 2024-02-23 11:22:02 +00:00
Dean a87b158d41 Feedback 2024-02-23 11:04:19 +00:00
Andrew Kingston 41b397c2f7 Improve multiple styles for the drawer and code editor 2024-02-23 10:15:53 +00:00
melohagan 896b879ce7
Feature/query array schema (#13118)
* Revert "Revert "Add nestedSchemaFields to RestQueryViewer (#13102)""

This reverts commit 6545af12fa.

* Revert "Revert "Dynamic schema generation for query arrays: bug fix and refactor (#13…""

This reverts commit ae4bc362c3.
2024-02-22 17:06:08 +00:00
Andrew Kingston 8320c50c96 Fix multiple style issues with codemirror 2024-02-22 16:44:18 +00:00
Dean d7fa333fce Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-22 16:30:05 +00:00
Dean 2bcf5ebe3a Lint 2024-02-22 15:36:54 +00:00
Dean c0d1b31ba2 Lint 2024-02-22 15:19:17 +00:00
Andrew Kingston 0217bac267 Add multiple style improvements to drawers 2024-02-22 15:05:21 +00:00
Dean 6877d0a016 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-02-22 15:00:34 +00:00
Dean 18f09f4e13 Duplicate app behaviour and test updates 2024-02-22 15:00:16 +00:00
Gerard Burns de0414afbe
Update Svelte Major Version to 4 (#13036)
* update svelte versions

* temporarilly disable svelte warnings

* change bbap version pointed to

* remove sub module specifying svelte version

* point at updated account-portal

* add type declaration for svelte in the server

* add svelte transformer for server jest tests

* remove svelte from bbui package.json

* get builder tests working

* linting fixes

* prettier fixes

* fix server test

* fix another server test

* fix server serverlog test

* account-portal-version

* pin master version of pro

* revert hbs doc file in server to use triple braces, ensures nothing gets escaped
2024-02-22 13:19:29 +00:00
Martin McKeaveney 6545af12fa
Revert "Add nestedSchemaFields to RestQueryViewer (#13102)"
This reverts commit 13b34cf77e.
2024-02-21 21:28:25 +00:00
melohagan 13b34cf77e
Add nestedSchemaFields to RestQueryViewer (#13102) 2024-02-21 17:02:55 +00:00
Joe f417c2d8a4
Joe's lab day minor updates (#12944)
* Change default button type to CTA

- change default button type to CTA
- change ordering of types/variants

* Fix layout shift within portal

Within the portal, when navigating from screen to screen, there's a slight layout shift caused by the scrollbar. This is a small fix.

* row/column icons change

The current row/column icons for positioning components are confusing. I believe these icons are easier to understand.

* Fix for horizontal scrollbar showing

When adding/removing actions within automations, the horizontal scrollbar flashes. Fix.

* Title change for Upload data

Upload data is not wrong, but it's best to be explicit.

* Increase size of upgrade button

* small fix for the styling inconsistency

* Dianostics padding fix

* lint fix

* update account-portal

* update icons

---------

Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Mel O'Hagan <mel@budibase.com>
2024-02-21 13:28:35 +00:00
Andrew Kingston ca3f464523 Tidy up logic for showing and hiding popovers for bindings and helpers 2024-02-20 10:11:27 +00:00
Andrew Kingston 7a278234b5 Suppress warning 2024-02-19 16:30:29 +00:00
Andrew Kingston 602f35537d Support custom min widths for popovers 2024-02-19 16:28:23 +00:00
Andrew Kingston 433c3a6306 Debounce hiding binding values to enable interacting with them 2024-02-19 16:22:23 +00:00
Andrew Kingston 19e1b642c1
Merge branch 'master' into fix-formula-crash 2024-02-19 09:53:30 +00:00
melohagan c12e5fd196
Fix array type missing from query schema selector (#12772)
* Tidy MongoDB aggregation pipeline view

* Remove unused code

* WIP

* Add bindings for bindings drawer

* Is not external table if it's a query

* Add QueryArrayFetch

* Bug fix

* JavaScript is the worst

* refactor

* Add array label to query schema

* Remove console log

* type fix

* Don't include Array in SchemaTypeOptions, but show label

* Fix bindings

* refactor

* Rename isObject to hasSchema

* WIP

* Typing WIP

* Type not Types

* Unused import

* type fix

* Handle json array subtype

* Support queryarray datasource type

* refactor

* yarn lock

* update account portal

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-02-19 09:13:03 +00:00
Andrew Kingston 86695c0ee4 Add syntax highlighting to live binding eval 2024-02-16 16:24:31 +00:00
Andrew Kingston dc077da5ae Improve how component context is retrieved for live eval and provide extra context from grid and card blocks 2024-02-16 14:21:03 +00:00
Andrew Kingston 5f6b846937 Add ability for components to provide example data context that they provide so that more bindings work with live eval 2024-02-16 13:25:41 +00:00
Andrew Kingston 461418390d Change how context is passed through to binding drawers to ensure it's always available 2024-02-16 12:36:03 +00:00
Dean 08d5a6174a Lint 2024-02-15 16:24:34 +00:00
Dean 7895292705 Add offset to custom positioning. Reusing existing prop 2024-02-15 16:16:30 +00:00
Dean ddc51edee7 Fix to ensure the skip flag is also reset in the tour popover 2024-02-15 15:44:54 +00:00
Andrew Kingston 9371661f0b Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-02-15 15:40:16 +00:00
Dean 0aa75fc7cb Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-15 15:26:14 +00:00
Dean 9da5467bfe Remove unnecessary reset function 2024-02-15 15:23:52 +00:00
Dean b0cd3d4d03 Refactored tours. Tours will end if a TourWrap is removed from screen. 2024-02-15 15:23:13 +00:00
Michael Drury e03cd4af56
Merge branch 'master' into fix/budi-8010 2024-02-15 13:28:07 +00:00
melohagan 649dafba47
n8n automation action integration (#12992)
* Add n8n automation action

* Add authorization header support

* add unit tests

* Replace test.com with example.com

* Add HttpMethod enum to types

* fix unit test

* Add required field label asterisk
2024-02-15 13:05:03 +00:00
Andrew Kingston 4426f84e2d Use constants for icon info rather than component definitions 2024-02-14 16:57:59 +00:00
Andrew Kingston ab96d6ee01 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-02-14 16:25:01 +00:00
mike12345567 72875a728c Merge branch 'master' of github.com:Budibase/budibase into fix/budi-8010 2024-02-14 14:49:54 +00:00
Dean 5c5dc4c155 Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-02-14 14:32:15 +00:00
Dean e9e5281e82 Initial commit form screen flow and tour refactor 2024-02-14 12:11:24 +00:00
Dean 328b8ced44 Replaced deprecataed instance of currentAsset with selectedScreen 2024-02-14 10:26:35 +00:00
Dean 4d225b6d7f Import fix 2024-02-14 10:20:46 +00:00
Dean ed30788fac Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-02-14 10:14:58 +00:00
melohagan faa8fad0b5
Add Clear Row Selection action (#13002)
* Add Clear Row Selection action

* update account-portal

* Refactor to use contextActionHandler

* Remove unused code
2024-02-14 10:05:14 +00:00
mike12345567 169fec29c6 Some quick fixes, making sure that automation queries respect timeout, they will timeout within the usual range. 2024-02-13 18:21:41 +00:00
Andrew Kingston c869abab77
Merge branch 'master' into cheeks-fixes 2024-02-13 15:51:07 +00:00
Peter Clement 2660149fea move constant to shared-core 2024-02-13 15:14:03 +00:00
Peter Clement 46903e36ef fix lint 2024-02-12 16:12:52 +00:00
Peter Clement 547b1ded61 handle @reboot 2024-02-12 15:31:19 +00:00
Peter Clement 8e734b2d72 frontend valiation for crons and fix preset null issue 2024-02-12 15:25:00 +00:00
deanhannigan 118f100cbb
Merge branch 'master' into feature/monolith-js-refactor 2024-02-12 10:15:11 +00:00
mike12345567 8bf79c5f10 Adding some basic cron validation to publishing, currently the error is not explained if it is hit - still need some frontend for this, but this now means that an error is provided to users when attempting to publish, and we can re-use this validation in the automation UI. Need to have both backend and frontend validation as invalid CRONs will already exist, backend makes sure these are error'd on. 2024-02-09 18:04:40 +00:00
Andrew Kingston 9109681bbe Fix creators being unable to click on apps they have non-creator access to 2024-02-09 13:04:30 +00:00
Adria Navarro 207b7631ab Fix styles 2024-02-08 16:51:16 +01:00
Adria Navarro 9c82f84155 Limit results on preview 2024-02-08 14:22:22 +01:00
Adria Navarro 7972f19cd1 Merge isolated-vm-wrapper 2024-02-08 10:45:00 +01:00
Dean 2d8d0a50bc Lint 2024-02-07 14:53:16 +00:00
Dean a5dfbe3c89 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-02-07 14:45:06 +00:00
Adria Navarro c103046012 Display count 2024-02-07 15:23:09 +01:00
Adria Navarro ec5e533063 Display ... when large array 2024-02-07 15:13:48 +01:00
Dean 51b19633f4 Ensure insert config items are defaulted to avoid destructring issue 2024-02-07 10:03:37 +00:00