Commit Graph

2271 Commits

Author SHA1 Message Date
Andrew Kingston 4f1220dd26 Restore client date range picker component 2024-04-23 11:54:44 +01:00
Gerard Burns 53553d8dd6 linting 2024-04-22 14:34:20 +01:00
Gerard Burns 248764ce98 cleanup 2024-04-22 14:34:20 +01:00
Gerard Burns 0249912154 remove old chart inputs 2024-04-22 14:34:20 +01:00
Gerard Burns 498a562b07 lines for dates 2024-04-22 14:34:20 +01:00
Gerard Burns d7f9b1f5ee better date parsing for candlestick 2024-04-22 14:34:20 +01:00
Gerard Burns e4386ed781 rekmove builder 2024-04-22 14:34:19 +01:00
Gerard Burns 199005fc38 chart clean up 2024-04-22 14:34:19 +01:00
Gerard Burns 46ae350370 think all charts and blocks are good 2024-04-22 14:34:19 +01:00
Gerard Burns 3f433bb710 histogram 2024-04-22 14:34:19 +01:00
Gerard Burns 500a733cec buckets 2024-04-22 14:34:19 +01:00
Gerard Burns 1a196b78e6 Refactor 2024-04-22 14:34:19 +01:00
Gerard Burns 415b109f23 candlestick 2024-04-22 14:34:19 +01:00
Gerard Burns 6176381f5b donut 2024-04-22 14:34:19 +01:00
Gerard Burns 337214d48c pie 2024-04-22 14:34:19 +01:00
Gerard Burns 78bb19967f wip 2024-04-22 14:34:19 +01:00
Gerard Burns 3ec5bbaa09 wip 2024-04-22 14:34:19 +01:00
Gerard Burns 441595dd6d line chart 2024-04-22 14:34:19 +01:00
Gerard Burns 5751e92bbd refactor line area 2024-04-22 14:34:19 +01:00
Gerard Burns f5345fd4f3 dont hide chart errors 2024-04-22 14:34:19 +01:00
Gerard Burns b75d054cdd bar chart working? 2024-04-22 14:34:19 +01:00
Gerard Burns 257fde1481 Datetime working now on bar charts i thjink 2024-04-22 14:34:19 +01:00
Gerard Burns 8d77bb016f refactor of bar done i think 2024-04-22 14:34:19 +01:00
Gerard Burns 1a1a417d94 hmm 2024-04-22 14:34:19 +01:00
Gerard Burns 7890b4e6cb wip 2024-04-22 14:34:19 +01:00
Gerard Burns 4b52508625 validation issue half working, fixing some bugs with context menu 2024-04-22 14:34:19 +01:00
Gerard Burns 56f7dd33c7 wip 2024-04-22 14:34:19 +01:00
Gerard Burns a806bd87bf wip 2024-04-22 14:34:19 +01:00
Gerard Burns d506e0724e refactor 2024-04-22 14:34:18 +01:00
Gerard Burns fcca165a2e wip 2024-04-22 14:34:18 +01:00
Gerard Burns ab40e3babd wip 2024-04-22 14:33:10 +01:00
Andrew Kingston a70560015c
Merge branch 'master' into borderless-grid 2024-04-19 16:25:58 +01:00
Mike Sealey 2d3fcae2e9
Merge branch 'master' into revert-13487-revert-13463-BUDI-8157 2024-04-19 16:11:54 +01:00
mikesealey 4c0d3ed5f3 runs the closeSidePanel function when navigating away using a button-action 2024-04-19 14:45:57 +01:00
mikesealey 11702538cb pulls inline code into separate handleClickLink function to deal with closing side panel when navigating away 2024-04-19 12:08:05 +01:00
mikesealey 237bc70758 removes console.log() 2024-04-19 10:58:25 +01:00
mikesealey 80a6afd54f closes side panel when navigating away regardless of ignoreClicksOutside 2024-04-19 10:41:39 +01:00
mikesealey 088c210de8 sets ignoreClickOutside to each side panel 2024-04-18 12:11:45 +01:00
Dean ce176496d2 Removed attachment delete behaviour as it has been removed from the frontend entirely 2024-04-18 11:21:37 +01:00
Dean a0ccc09be9 Bug fixes for default flag and modal title 2024-04-18 10:53:55 +01:00
mikesealey 6c38d32549 reinstates actions running when sidepanel closes 2024-04-18 10:08:48 +01:00
Dean 04d3226185 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-18 09:08:16 +01:00
Andrew Kingston 426b69287f
Merge branch 'master' into borderless-grid 2024-04-17 16:29:44 +01:00
Andrew Kingston 6fa4eeb5c6
Merge branch 'master' into fix-client-loading-issues 2024-04-17 16:28:12 +01:00
mikesealey ad10679115 saving progress based on review reccomendations 2024-04-17 16:27:23 +01:00
Andrew Kingston 2ffa523ace Restore render blocker around client apps until data is ready 2024-04-17 16:26:18 +01:00
Adria Navarro ffa1e64e9e
Merge branch 'master' into budi-8166/search-filter-operators-dont-have-options-for-some-types 2024-04-17 10:25:19 +02:00
Dean 0e4cda458d Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-17 09:07:17 +01:00
Adria Navarro 122ea9fa60
Merge branch 'master' into BUDI-8143/dont-delete-attachments-directly-from-the-frontend 2024-04-17 09:57:32 +02:00
Andrew Kingston 128596cd41 Ensure normal spectrum colors are used for nested links in top navs 2024-04-16 10:41:11 +01:00
Andrew Kingston cac86272a9
Merge branch 'master' into borderless-grid 2024-04-16 08:56:14 +01:00
Dean eed8deca35 Fix to ensure signature action button is disabled in the builder and preview, if configured 2024-04-15 18:18:15 +01:00
Dean 7f5c2b59e3 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-15 18:15:07 +01:00
Michael Drury 359355b58d
Revert "Revert "adds sidepanel open and close actions, and gives the user the option to disable click-outside closure of sidepanel"" 2024-04-15 13:46:49 +01:00
Michael Drury 4e4dfefede
Revert "adds sidepanel open and close actions, and gives the user the option to disable click-outside closure of sidepanel" 2024-04-15 13:41:32 +01:00
Andrew Kingston 7152f957c8
Merge branch 'master' into feature/signature-field-and-component 2024-04-15 10:24:00 +01:00
Mike Sealey 4fa06252d6
Merge branch 'master' into BUDI-8157 2024-04-12 16:08:16 +01:00
mikesealey 1632c9d7a8 removes unused function 2024-04-12 14:33:46 +01:00
mikesealey 0514641f04 removes unecessary on-sidepanel-open actions feature. 2024-04-12 13:24:21 +01:00
Adria Navarro 64d66b1154 Merge branch 'master' into BUDI-8143/dont-delete-attachments-directly-from-the-frontend 2024-04-12 13:37:45 +02:00
Adria Navarro 068c8b8c66 Remove from frontend 2024-04-12 13:11:16 +02:00
Adria Navarro e4e3efb975
Merge branch 'master' into budi-8166/search-filter-operators-dont-have-options-for-some-types 2024-04-12 13:09:54 +02:00
Andrew Kingston 770cba6fdd
Merge branch 'master' into new-datepicker 2024-04-12 12:04:09 +01:00
Adria Navarro adaf555616 Handle errors 2024-04-12 12:52:02 +02:00
mikesealey 859bda0a51 removes unecessary side-panel-open actions 2024-04-12 09:24:12 +01:00
Adria Navarro 88961986ae Fix messaging 2024-04-12 09:59:15 +02:00
Adria Navarro db9809207e Fix client 2024-04-12 09:13:16 +02:00
Dean 20c4bee20a Fix for missing attachment validation 2024-04-11 17:37:12 +01:00
Michael Drury d3c9d835d6
Merge branch 'master' into BUDI-8157 2024-04-11 16:07:39 +01:00
mikesealey a7ec49613c fixes typo, removes unused variables 2024-04-11 15:42:19 +01:00
Andrew Kingston f82766d167
Merge branch 'master' into borderless-grid 2024-04-11 15:27:16 +01:00
Adria Navarro 1f77b09eed Handle drawers 2024-04-11 16:22:16 +02:00
Dean f3e9030c3a Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-11 15:07:20 +01:00
Dean 9c7fed9eb8 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-11 15:06:59 +01:00
mikesealey 3201eb5953 adds sidepanel open and close actions, and gives the user the option to disable click-outside closure of sidepanel 2024-04-11 12:53:32 +01:00
Adria Navarro c4c261ccbd
Merge branch 'master' into BUDI-8082/download-files-using-a-button-action 2024-04-11 08:37:06 +02:00
Andrew Kingston 15e9936d9d Update backups to use single date picker instead of range 2024-04-10 16:45:11 +01:00
Andrew Kingston e0f02941b9
Merge branch 'master' into nested-nav-links 2024-04-10 14:19:26 +01:00
Adria Navarro 465fde2460 Merge branch 'master' into BUDI-8082/download-files-using-a-button-action 2024-04-10 14:31:37 +02:00
Adria Navarro b4063fae01 Merge branch 'master' into revert-13398-revert-13356-BUDI-8122/single-attachment-column-type 2024-04-10 12:42:03 +02:00
deanhannigan 6a3b52f3a8
Merge branch 'master' into feature/signature-field-and-component 2024-04-10 10:51:20 +01:00
Dean 8210bcc0a6 Lint 2024-04-10 09:28:36 +01:00
Dean 06db50147e PR Feedback 2024-04-10 09:20:54 +01:00
Andrew Kingston bf6bd127ca
Merge branch 'master' into feature/signature-field-and-component 2024-04-10 09:08:35 +01:00
Adria Navarro f69056c9fe PR comments 2024-04-10 10:07:07 +02:00
Adria Navarro 5b6c3d0c96 Merge branch 'master' into revert-13398-revert-13356-BUDI-8122/single-attachment-column-type 2024-04-10 09:01:36 +02:00
Dean 76488e1aa1 Allow heights down to 120px for Table 2024-04-09 15:22:16 +01:00
Andrew Kingston df2612b626 Improve nav item text overflow handling 2024-04-09 12:12:11 +01:00
Andrew Kingston ffdb8ee1b6 Account for mobile support with top navs 2024-04-09 12:04:12 +01:00
Dean e922f08bb5 Merge remote-tracking branch 'origin/master' into feature/screen-deselect 2024-04-09 09:40:05 +01:00
deanhannigan 9ac344f292
Merge branch 'master' into nested-nav-links 2024-04-09 09:04:09 +01:00
Andrew Kingston 9a1fd59e25
Merge branch 'master' into borderless-grid 2024-04-09 08:55:39 +01:00
Andrew Kingston 08de8f48dd Rename borderless to quiet 2024-04-09 08:50:17 +01:00
deanhannigan 79df0f9292
Merge branch 'master' into data-provider-auto-refresh 2024-04-08 17:11:23 +01:00
Dean eae257dde4 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-08 17:08:48 +01:00
Andrew Kingston 09ac326b6a
Merge branch 'master' into new-table-selected-rows 2024-04-08 16:51:02 +01:00
Andrew Kingston cfcda49c80 Fix data export for legacy configs 2024-04-08 16:39:55 +01:00
Andrew Kingston 8e7e2ddb99 Clarify wording 2024-04-08 16:19:06 +01:00
Andrew Kingston 53bbaac751 Update export data action to work with new table component 2024-04-08 16:17:22 +01:00
Andrew Kingston e1a9762d21 Always allow selecting rows in grids in apps, and add binding for grid selected rows 2024-04-08 09:33:02 +01:00
Dean e80a87f519 Feedback updates 2024-04-05 15:59:28 +01:00
Dean 203d6484ea Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-05 14:15:47 +01:00
Dean 1e5506b8c3 Full support for signature field type and some feedback changes 2024-04-05 12:50:09 +01:00
Andrew Kingston e1109ff5aa
Merge branch 'master' into fix/screen-load-actions 2024-04-05 09:52:52 +01:00
Adria Navarro 151ea235f1 Handle empty attachments 2024-04-04 21:28:06 +02:00
Adria Navarro 9e773c7c18 Select table on config 2024-04-04 21:27:22 +02:00
Adria Navarro c7c652825b Lint 2024-04-04 21:27:22 +02:00
Adria Navarro fb8163193c Notificaiton on error 2024-04-04 21:27:22 +02:00
Adria Navarro c1e78a099b Lint 2024-04-04 21:27:22 +02:00
Adria Navarro cd9d99c1df Notification on error 2024-04-04 21:27:22 +02:00
Adria Navarro 7e7f31b967 Allow downloading attachment 2024-04-04 21:27:21 +02:00
Adria Navarro 12f9b47954 Implement download by url 2024-04-04 21:27:21 +02:00
Adria Navarro 19caf3cddf Copy 2024-04-04 21:27:21 +02:00
Andrew Kingston af0e9cf4d3 Merge branch 'master' of github.com:Budibase/budibase into data-provider-auto-refresh 2024-04-04 11:04:44 +01:00
Dean 1fefce211d Merge remote-tracking branch 'origin/master' into feature/screen-deselect 2024-04-04 09:22:55 +01:00
Dean 4d1a18b28b PR feedback 2024-04-04 09:09:02 +01:00
Michael Drury 5437188385
Revert "Revert "Single attachment column type"" 2024-04-03 16:05:18 +01:00
Michael Drury 1cfe4da027
Revert "Single attachment column type" 2024-04-03 16:01:45 +01:00
Adria Navarro 9438662603
Merge branch 'master' into BUDI-8122/single-attachment-column-type 2024-04-03 16:07:11 +02:00
Adria Navarro dc91aba52c authStore undefined check 2024-04-03 15:37:00 +02:00
Andrew Kingston 745a3a7ed4 Fix race conditions when running screen load actions 2024-04-03 14:34:43 +01:00
Andrew Kingston 7076b574fc Merge branch 'master' of github.com:Budibase/budibase into data-provider-auto-refresh 2024-04-03 12:04:50 +01:00
Adria Navarro aabee4d90e Rename ATTACHMENT to ATTACHMENTS 2024-04-03 12:54:21 +02:00
Adria Navarro a8c3011071 Rename FieldType.ATTACHMENT to FieldType.ATTACHMENTS 2024-04-03 12:54:20 +02:00
Adria Navarro b99a51d48b Rename 2024-04-03 12:53:55 +02:00
Adria Navarro 5df68cfca7 Extract mapper 2024-04-03 12:53:55 +02:00
Adria Navarro 21597a44c9 SingleAttachmentField component 2024-04-03 12:53:55 +02:00
Adria Navarro ac5bae0e23 Lint 2024-04-03 12:53:55 +02:00
Adria Navarro 47ab920bd1 Fix 2024-04-03 12:53:55 +02:00
Adria Navarro d74af11230 Handle deletions 2024-04-03 12:53:55 +02:00
Adria Navarro b660e7e286 Handle display/set single attachment in form 2024-04-03 12:53:55 +02:00
Adria Navarro f41da36995 Display single attachment in form 2024-04-03 12:53:55 +02:00
Adria Navarro 7d88548255 More types 2024-04-03 12:53:55 +02:00
Adria Navarro edd3ce8f0f More types 2024-04-03 12:13:33 +02:00
Dean aa7fe8f1b5 PR feedback 2024-04-03 09:11:56 +01:00
Dean 1c71b38569 PR feedback 2024-04-02 09:22:42 +01:00
Dean ff5c7ceda8 Merge remote-tracking branch 'origin/master' into feature/screen-deselect 2024-04-02 09:14:22 +01:00
Andrew Kingston 98c91a005d Filter out invalid links and sublinks 2024-03-28 18:22:27 +00:00
Andrew Kingston 75d4be94b5 Hide dropdown menu when clicking link 2024-03-28 18:20:19 +00:00
Andrew Kingston 5779a519af Fix issue when no sublinks 2024-03-28 18:00:45 +00:00
Andrew Kingston 284f7fe3cc Add client support for nav item updates 2024-03-28 17:58:32 +00:00
Dean d23df69553 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-03-28 10:39:40 +00:00
Andrew Kingston 003b0b8698 Merge branch 'master' of github.com:Budibase/budibase into nested-nav-links 2024-03-27 11:31:26 +00:00
Andrew Kingston 9fe027b3db Initial work on nested nav links 2024-03-27 09:30:11 +00:00
Dean ee3462648d Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-03-26 12:07:10 +00:00
Andrew Kingston 6c9127427c Fix issues with colours in app skeletons 2024-03-26 10:43:56 +00:00
Gerard Burns d9033b2636
Un-revert Skeleton Loader PR (#13180)
* wip

* wip

* wip

* client versions init

* wip

* wip

* wip

* wip

* wip

* linting

* remove log

* comment client version script

* lint

* skeleton loader type fix

* fix types

* lint

* fix types again

* fix manifest not being served locally

* remove preinstalled old client version

* add constant for dev client version

* linting

* Dean PR Feedback

* linting

* pr feedback

* wip

* wip

* clientVersions empty array

* delete from git

* empty array again

* fix tests

* pr feedback

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-03-25 16:39:42 +00:00
Dean a773c167d5 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-03-22 15:26:23 +00:00
Dean 6b5938aef6 Merging 2024-03-22 15:26:05 +00:00
Andrew Kingston 0acc8ffff6 Merge branch 'master' into cheeks-fixes 2024-03-22 12:16:30 +00:00
Andrew Kingston a64738fa25 Provide live eval context from legacy table components 2024-03-22 12:14:59 +00:00
Andrew Kingston 732c715498 Add snippets into context when transforming column values legacy tables 2024-03-22 12:09:55 +00:00
Andrew Kingston 1e6e4213af Merge branch 'master' of github.com:Budibase/budibase into cheeks-fixes 2024-03-22 09:13:39 +00:00
Andrew Kingston d3535a255d Respect ordering of options when using a data provider options source 2024-03-21 16:24:35 +00:00
Dean 7d1c9b1337 Fix for settings definition cache getting overwritten when both table and gridblock are on the same screen 2024-03-21 14:30:18 +00:00
Andrew Kingston 07f8e1981a Improve client indicators by properly caching all properties to avoid inconsistent and stale states 2024-03-21 13:22:03 +00:00
Dean 5066f54525 Fix import for provider 2024-03-21 11:37:47 +00:00
Dean b214e15068 PR feedback move deprecated components 2024-03-21 11:31:31 +00:00
Andrew Kingston 91bb7cd796 Merge branch 'master' of github.com:Budibase/budibase into cheeks-fixes 2024-03-21 11:03:16 +00:00
Andrew Kingston e7dd137b28 Add memo and derivedMemo into SDK 2024-03-21 09:14:01 +00:00
Martin McKeaveney ec11d4f4b5
Merge branch 'master' into tableblock-event-context 2024-03-21 08:52:20 +00:00
Andrew Kingston 5acfc3143d Multiple performance improvements to component selection and hovering 2024-03-20 17:01:23 +00:00
Andrew Kingston c58ac5810e Simplify reactive logic 2024-03-20 15:53:53 +00:00
Andrew Kingston 9149828c7c Improve performance of multistep form block even more and fix missing params 2024-03-20 15:50:23 +00:00
Andrew Kingston 65b4b6c35d Improve performance of table block 2024-03-20 15:46:15 +00:00
Andrew Kingston fdde7f8895 Improve performance of multistep form block 2024-03-20 15:46:07 +00:00
Andrew Kingston 80cc83d2f0 Fix huge amount of wasted renders by observing entire component context when generating form block fields 2024-03-20 15:42:28 +00:00
melohagan e4e6447cf6
Use clickoutside library to stop mouseup closing side panel (#13193)
* Use clickoutside library to stop mouseup closing side panel

* Revert "Use clickoutside library to stop mouseup closing side panel"

This reverts commit fbe574812e.

* Use mousedown

* Add allowedType for clickoutside event

* Remove contextmenu listener

---------

Co-authored-by: Martin McKeaveney <martin@budibase.com>
2024-03-20 15:16:19 +00:00
Andrew Kingston 362705793c Add event context for live eval to table blocks 2024-03-19 16:21:46 +00:00
Conor Webb 35e1114fac
Added a setting to allow the title's text alignment to be changed (#13235)
* Added setting to allow title text alignment to be set and changed

* Switched out for icons instead of a select as per feedback.

* Edited right icon to display the correct icon.

* Updated to use the paragrah alignment component icons.

* Added button list component

* Reworked template to use BarButtonList over ActionButton component

* Updated selectedArray name to alignmentOptions provides better meaning
2024-03-19 16:13:28 +00:00
Andrew Kingston 7d931e7154 Update multi-step form block default state to fix all fields being hidden 2024-03-19 15:12:33 +00:00
Dean 308897d972 Allow view deselect when clicking on empty area. Screen is no longer highlighted 2024-03-19 14:11:55 +00:00
Dean a5da7946db Merge remote-tracking branch 'origin/master' into feature/screen-deselect 2024-03-19 10:23:54 +00:00
Dean ea25800663 Debugging 2024-03-15 15:13:16 +00:00
Adria Navarro bb4b24219b
Merge branch 'master' into BUDI-8084/single-attachment-column-setting 2024-03-15 12:53:11 +01:00
Andrew Kingston b6eab42c18 Merge branch 'cheeks-lab-day-binding-eval' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-14 16:24:16 +00:00
Andrew Kingston 542a1111c6
Merge branch 'master' into cheeks-lab-day-binding-eval 2024-03-14 16:22:03 +00:00
Andrew Kingston b3cf3fa636 Improve how snippets are handled in client apps 2024-03-14 16:16:24 +00:00
Adria Navarro 8995a5170b
Merge branch 'master' into BUDI-8084/single-attachment-column-setting 2024-03-14 16:01:00 +01:00
Adria Navarro fdf83fd65d Limit attachment on forms 2024-03-14 13:50:01 +01:00
Adria Navarro 6ca25d400a DRY 2024-03-14 13:32:54 +01:00
Sam Rose c8f37e16e5
CSS tweaks. 2024-03-14 10:23:42 +00:00
Sam Rose fcd7ee10f1
Create app user facing maintenance page. 2024-03-14 09:57:00 +00:00
Sam Rose a78704bca8
Working on maintenance screen for app users. 2024-03-11 16:55:02 +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 bb953d3bc4 Shorten duplicate key value 2024-03-11 13:32:27 +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
Conor Webb aa0389e8bd
Added text colour option to tag component via manifest (#13215)
* Added new colour select textColor to tag component manifest

* Intergrated textColor into tag component

* Reverted default text colour to white, avoids issues with the internal use

* Updated conditional colour set
2024-03-08 08:58:03 +00:00
Andrew Kingston d4a657bbfe Pass snippets from builder to client when inside the builder preview to ensure new snippets can be evaluated 2024-03-07 08:25:31 +00:00
Andrew Kingston 4d271ccb53 Add real snippet saving and fix snippet evaluation in client apps 2024-03-06 19:07:16 +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 84fb0dd9de Add local state manipulation of snippets 2024-03-06 13:33:00 +00:00
Andrew Kingston 428fdfcc0a Handle errors when stringifying component context in case there somehow is a cyclical reference which is unserialisable 2024-03-05 12:10:50 +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 8694b8d772
Relationship picker incorrectly renders selections (#13175)
* Ensure _id is decoded for external search

* Fetch initial value for 'Update' type forms

* test didn't run locally - might run on github workflow

* Tested and appears to be as before

* Null-pointer fix

* undo type change

* update modules

* add test

* update modules
2024-03-05 09:03:19 +00:00
Andrew Kingston d056b51c72 Lint 2024-03-04 09:58:40 +00:00
Andrew Kingston 3a002b3c3d Rename autorefresh setting and ensure functional in all blocks + DP 2024-03-04 09:46:10 +00:00
Andrew Kingston 051f997047 Add auto-refresh setting to data providers and all blocks 2024-03-04 09:34:58 +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
Gerard Burns 5ec4e90c6d
Revert "App Preview Skeleton (#12898)" (#13159)
This reverts commit 9a9b745795.
2024-02-29 12:51:56 +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 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 ab96d6ee01 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-02-14 16:25:01 +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 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
Peter Clement 58fedd10f5 fix issue with automation not triggering when no fields existed 2024-01-26 09:21:13 +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 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
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 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 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 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
Andrew Kingston ee452f75fe Fix error when trying to scroll to an invalid field 2023-12-08 16:52:34 +00:00
Andrew Kingston 9da641f848 Standardise field help text and error icon size and colors 2023-12-08 16:42:30 +00:00
Andrew Kingston 173a76dc52 Improve setting rendering and add dynamic section title 2023-12-08 16:10:56 +00:00
Andrew Kingston 3430b7b2ac Merge branch 'master' of github.com:Budibase/budibase into feature/multistep-form-block 2023-12-08 14:40:45 +00:00
Andrew Kingston 223a315801 Update multi step form block to use core button config generation 2023-12-08 14:39:47 +00:00
Andrew Kingston 5a8c12c91b Move multi step button config into frontend core and fix button config setting layout 2023-12-08 14:15:23 +00:00
Andrew Kingston ed403fd79d WIP 2023-12-08 13:45:51 +00:00
Gerard Burns 56cb92aa34
Hover component tree preview (#12465)
* wip

* wip

* linting

* remove console log

* highlighting a selected component in nav

* PR feeddback

* wip

* pr feedback

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2023-12-08 09:41:12 +00:00
Andrew Kingston 2637a95b3d Remove unused icon 2023-12-07 13:29:10 +00:00
Andrew Kingston 0220a16bc3 Remove placeholders prompting users to add components inside other components 2023-12-07 13:27:09 +00:00
Michael Drury bc5563d776
Revert "Revert "Add Buttongroup configuration support to Formblock/Tableblock"" 2023-12-07 10:24:46 +00:00
Michael Drury a6fc56c764
Revert "Add Buttongroup configuration support to Formblock/Tableblock" 2023-12-07 10:17:36 +00:00