Commit Graph

11751 Commits

Author SHA1 Message Date
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
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
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
Andrew Kingston fa685962a8 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-05 11:46:48 +00:00
melohagan ee0f0abad2
Fix/rename mysql column (#13186)
* Rebuild table schema when adding new column to get externalType

* Added MySQL integration test suite

* Add test for emitting datasource on save new column

* Update packages/server/src/integration-test/mysql.spec.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* remove duplicate tests

* Use UUID

* update account portal

* Remove _add for internal save

* Internal DB add column unit test

* rename column test

* update modules

* fix tests

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-03-04 15:55:45 +00:00
melohagan 5fabe14f62
Revert "Rebuild table schema when adding new column to get externalType (#13165)" (#13184)
This reverts commit a59647e158.
2024-03-04 12:20:27 +00:00
melohagan a59647e158
Rebuild table schema when adding new column to get externalType (#13165)
* Rebuild table schema when adding new column to get externalType

* Added MySQL integration test suite

* Add test for emitting datasource on save new column

* Update packages/server/src/integration-test/mysql.spec.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* remove duplicate tests

* Use UUID

* update account portal

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-03-04 11:21:43 +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
Gerard Burns 5ec4e90c6d
Revert "App Preview Skeleton (#12898)" (#13159)
This reverts commit 9a9b745795.
2024-02-29 12:51:56 +00:00
melohagan 0205db104d
FIX: clicking on design tab while data tab loads does not navigate correctly (#13152)
* If still loading, try navigation later

* Set active tab even if still loading

* Refactor - timeout not needed!
2024-02-29 09:15:01 +00:00
Gerard Burns 9a9b745795
App Preview Skeleton (#12898)
* wip

* wip

* wip

* wip

* wip

* wip

* builder design skeleton

* pre doc loading skeleton for portal preview

* feature complete?

* wip

* linting

* linting

* linting

* fix ts error?

* ts types fix

* linting

* remove unnecessary build stuff

* include skeleton in server app directly

* linting

* linting

* fix builder preview aspect ratio for skeleton

* remove dev tools skeleton

* linting
2024-02-27 15:29:35 +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
melohagan 3d48a8f7f3
Don't encode twice (#13138) 2024-02-27 11:26:45 +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
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 fde54b2897 Revert codemirror to v5 2024-02-24 16:28:21 +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