1
0
Fork 0
mirror of synced 2024-07-15 03:05:57 +12:00
Commit graph

4540 commits

Author SHA1 Message Date
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 32b0aa34b8 Fix crash with dynamic filter when using custom data source 2024-02-27 13:51:36 +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
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
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
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 53bb890d3d Provide additional context from row explorer block 2024-02-16 14:36:28 +00:00
Andrew Kingston 840f499b47 Provide additional data context from form blocks 2024-02-16 14:33:40 +00:00
Andrew Kingston 5c4e797251 Provide additional context from repeater blocks 2024-02-16 14:23:17 +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 9371661f0b Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-02-15 15:40:16 +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
Andrew Kingston bcabfd02a6 Add nested flag to button group settings 2024-02-14 15:41:35 +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
melohagan f8073c3f5a
FIX: Error when deleting selected rows that have attachment (#13006)
* Deprecate selectedRowIds

* Delete selected rows table

* Add selectedRows to table block context

* update account-portal

* update account-portal

* Lowercase deprecated
2024-02-13 16:44:21 +00:00
melohagan e171873b10
Only add repeater id to Card block URL if needed (#13023)
* Only add repeater id to URL if needed

* update account portal

* update account portal
2024-02-13 16:38:36 +00:00
Andrew Kingston c869abab77
Merge branch 'master' into cheeks-fixes 2024-02-13 15:51:07 +00:00
melohagan bee9422fad
Download CSV with UTF-8 support (#12990)
* Download CSV with UTF-8 support

* update account portal
2024-02-13 10:46:13 +00:00
Andrew Kingston f52379853f Observe context changes in client components immediately after the first enrichment 2024-02-09 16:44:11 +00:00
Dean a5dfbe3c89 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-02-07 14:45:06 +00:00
melohagan e27772d93f
Allow logo in top navigation to be a link (#12868)
* Add support for logo link

* Add link to logo

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-02-06 13:08:37 +00:00
Andrew Kingston 88c0df9f37 Fix table slots providing global context rather than local context 2024-02-06 09:18:55 +00:00
Andrew Kingston 4005c3e604
Merge branch 'master' into nested-context-fix 2024-02-05 10:49:55 +00:00
melohagan 1c29620c9a
Add readonly setting to user field (#12893) 2024-02-05 09:33:58 +00:00
Andrew Kingston d6bf33bce7 Update data binding generation to match how context is provided by components, respecting branching due to local context 2024-02-02 14:59:45 +00:00
Andrew Kingston 06556325a1 Remove proxying of context changes up the chain 2024-02-02 09:24:36 +00:00
Andrew Kingston 1e033c3618 Remove proxying of context changes up the chain 2024-02-01 14:45:16 +00:00
Andrew Kingston 93a0de4c4b Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-02-01 10:00:23 +00:00
Peter Clement 1b023b849f
Merge branch 'master' into fix/pc-fixes 2024-01-31 16:21:39 +00:00
Michael Poirazi e0c1382d3f
Merge branch 'master' into contrib-expose-fetchData-in-SDK 2024-01-31 17:38:42 +02:00
Martin McKeaveney 475070a495 client and frontend core 2024-01-31 10:53:53 -03:00
Peter Clement c915442a9e
Merge branch 'master' into fix/pc-fixes 2024-01-30 16:53:38 +00:00
Dean 1bd08b6879 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-01-30 11:49:32 +00:00
Andrew Kingston 764cfc04ba
Merge branch 'master' into contrib-expose-fetchData-in-SDK 2024-01-29 08:57:00 +00:00
deanhannigan 68d2634888
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-26 12:39:28 +00:00
melohagan 8ec299e924
Cannot select relationship field value in design section (#12876)
* Revert "Quick fix, if compare isn't set then don't try to use it at all."

This reverts commit b8c7da02e2.

* Revert "Quick fix for all usages of compare function in select."

This reverts commit b4be6daea6.

* Don't force fetch rows on fieldApi change

* Revert "Revert "Quick fix for all usages of compare function in select.""

This reverts commit 8cb5e2b569.

* Revert "Revert "Quick fix, if compare isn't set then don't try to use it at all.""

This reverts commit 0c09d5878b.

* update account portal
2024-01-26 10:21:45 +00:00
Dean acbd7a802c Restrict rowexplorer binding to local scope 2024-01-26 09:51:37 +00:00
Peter Clement 58fedd10f5 fix issue with automation not triggering when no fields existed 2024-01-26 09:21:13 +00:00
Dean 8036db73c4 Make card block bindings local 2024-01-25 15:09:19 +00:00
deanhannigan 0ced1d29c5
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-25 14:20:44 +00:00
melohagan 830563fead
Feature/auto confirm barcode scanner (#12859)
* Add autoConfirm scan

* Don't auto confirm if validation fails

* Set status light to red if invalid
2024-01-25 12:08:00 +00:00
deanhannigan 4b63a06162
Merge branch 'master' into budi-7786-options-picker-dropdown-opens-above-even-though-it-is-at-the 2024-01-25 11:52:07 +00:00
deanhannigan d1038df35f
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-25 11:33:31 +00:00
Dean 9f523692d9 Added local scope to gridblock to stop row bindings appearing in global scope 2024-01-25 09:41:06 +00:00
Dean 361fea2a6b Broke out the hover tracking into its own store. Value check on the button group to mitigate excessive rendering. Fix for relationship field 2024-01-24 12:06:38 +00:00
Mihail Hadzhiev 890dad2a62
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-23 09:09:16 +02:00
Mel O'Hagan a11a99cd09 Remove unused customPopoverMaxHeight prop 2024-01-22 12:45:31 +00:00
melohagan 165eb206d9
If the filter has changed, re-fetch (#12625)
* If the filter has changed, re-fetch

* lint

* Clear value when filter changes
2024-01-22 11:29:34 +00:00
deanhannigan d246adca9c
Revert "Revert "Global bindings"" 2024-01-22 11:10:03 +00:00
deanhannigan b2c790650b
Revert "Global bindings" 2024-01-22 11:03:05 +00:00
Dean 64951d6f29 PR feedback 2024-01-22 09:44:57 +00:00
Dean f0feed9cd9 Merge remote-tracking branch 'origin/global-bindings' into fixes/global-bindings 2024-01-22 09:24:26 +00:00
deanhannigan 0be0ace9fe
Merge branch 'master' into global-bindings 2024-01-22 09:14:34 +00:00
poirazis 22bab5052b commit 2024-01-20 23:11:31 +02:00
Dean 45fa40496f Added default sizing for buttons in button group, swapped Multistep block component style props for consistency 2024-01-19 14:53:39 +00:00
melohagan af51a167a3
Support custom validation rules for ejected block fields (#12799) 2024-01-19 11:32:13 +00:00
Dean 4945a6ee99 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-01-18 10:40:21 +00:00
Dean 30db237071 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-01-17 17:17:01 +00:00
Dean f03d49f3d3 Fix for Data provider pageNumber binding. Global repeater context flag. Add provider context to table block. Expose rows in form blocks 2024-01-17 10:04:40 +00:00
deanhannigan 50abdf2e63
Merge branch 'master' into global-bindings 2024-01-15 15:28:00 +00:00
Dean 39438c997a PR update 2024-01-15 10:37:34 +00:00
Dean 2a6af35e6a UX feedback. Added styling and button positioning 2024-01-11 15:21:36 +00:00
deanhannigan 0571e0b405
Merge branch 'master' into global-bindings 2024-01-10 12:35:36 +00:00
Dean 9525b3b9bd Merge remote-tracking branch 'origin/master' into fix-hover-component-spam 2024-01-10 11:39:10 +00:00
Dean 327d9ecb86 Fixes for rendering issues for Multistep in client and builder 2024-01-10 09:40:09 +00:00
Dean eedefbb69d Remove debugging statement 2024-01-09 10:57:39 +00:00
Dean c039b0421d Trigger a redraw of the form step contents when the step index change 2024-01-09 10:08:58 +00:00
Dean 4ffd0a549e Merge remote-tracking branch 'origin/master' into global-bindings 2024-01-08 16:23:55 +00:00
Adria Navarro 2a07aa35f4 Pass api call 2024-01-08 14:06:54 +01:00
Adria Navarro f123a821bd Styling 2024-01-08 14:06:54 +01:00
Adria Navarro 9ebe93f71d Clean 2024-01-08 14:06:54 +01:00
Adria Navarro bfaab228d5 Use updating page from frontend 2024-01-08 14:06:54 +01:00
Adria Navarro 746178f169 Update frontend 2024-01-08 14:06:54 +01:00
Adria Navarro 5dd3c7cada Lint 2024-01-08 14:06:54 +01:00
Adria Navarro 4e48d1d66e Avoid multiple reloads 2024-01-08 14:06:54 +01:00
Adria Navarro ee40434223 Handle migration when app loaded 2024-01-08 14:06:54 +01:00
Adria Navarro 94f0d38fe4 Implement refresh 2024-01-08 14:06:54 +01:00
Adria Navarro 75b8190c01 Move updating page to the client 2024-01-08 14:06:54 +01:00
Adria Navarro 0b46b6883d Remove unused regexparam 2024-01-08 14:06:54 +01:00
Dean ccc91dcca5 Enable layouts in multistep form blocks 2024-01-05 17:22:37 +00:00
Dean 659a01dd82 Lint 2024-01-05 12:29:54 +00:00
Dean 5d6862b399 Merge remote-tracking branch 'origin/master' into global-bindings 2024-01-05 12:10:12 +00:00
Dean 2836efd284 Merge remote-tracking branch 'origin/master' into fix-hover-component-spam 2024-01-04 12:54:01 +00:00
Dean e94f70a940 Added key for fields to ensure they are re-rendering correctly when updating the field config 2024-01-04 12:12:51 +00:00
Dean eafa8b14a5 Merge remote-tracking branch 'origin/master' into feature/multistep-form-block 2024-01-04 10:51:14 +00:00
melohagan 843f134165
Exclude custom options from update settings (#12648)
* Exclude custom options from update settings

* Custom options label

* Remove unnecessary div
2024-01-04 10:05:05 +00:00
Dean 42171bd41d Merge remote-tracking branch 'origin/master' into feature/multistep-form-block 2024-01-03 09:49:38 +00:00
melohagan 3f11597251
Support both presence constraint variants (#12617) 2023-12-19 11:02:39 +00:00
Andrew Kingston 16f98dd8f7 Merge branch 'master' of github.com:Budibase/budibase into feature/multistep-form-block 2023-12-14 15:48:11 +00:00
Andrew Kingston 0b07849967 Lint 2023-12-14 15:40:48 +00:00
Andrew Kingston 4aafb1ed9e Massively improve performance of hovering components 2023-12-14 15:19:23 +00:00
Andrew Kingston a244b34e53 Fix multi step settings rendering and improve multi step form block client rendering when inside builder 2023-12-14 14:33:43 +00:00
Andrew Kingston 08cd5bbb91 Refactor form block layout and add functional update and view multi step forms 2023-12-13 13:09:57 +00:00
Andrew Kingston ac0f034ff4 Fix multi step settings definition to allow rendering of other sections in the correct order 2023-12-13 12:01:16 +00:00
Andrew Kingston 235cfa3660 Mutate state when working with form steps to prevent latency issues 2023-12-13 10:24:26 +00:00
Andrew Kingston 1579fe36c7 Fix multiple issues with resetting state in both builder and client lib when updating multi step form config 2023-12-12 21:00:45 +00:00
Andrew Kingston 69ea28ad46 Clean up and improve multi step form block 2023-12-12 20:22:48 +00:00