Commit Graph

5128 Commits

Author SHA1 Message Date
Dean 36f8ae45fe Rejig the filtering behaviour in the builder around empty config. Empty filters wont cause errors on load and will clear when they are saved 2024-12-10 14:17:46 +00:00
Andrew Kingston 65f37e046e
Merge branch 'master' of github.com:Budibase/budibase into frontend-core-ts-2 2024-12-10 10:33:53 +00:00
Adria Navarro f6bbbd7b3f Merge branch 'master' into labday/monorepo-setup 2024-12-10 10:18:43 +01:00
Sam Rose 84d9f6816c
Enable a variety of useful looking lints. 2024-12-09 12:52:21 +00:00
Adria Navarro 9f72e285f7 Run dev without building types 2024-12-05 17:41:42 +01:00
Adria Navarro 9272e170be Run dev without building types 2024-12-05 17:41:42 +01:00
Adria Navarro f4f70220d2 Monorepo package versions to * 2024-12-05 17:41:42 +01:00
Andrew Kingston b329187591
Type table endpoints 2024-12-03 15:09:30 +00:00
Andrew Kingston 2d46939fb1
Type row endpoints 2024-12-03 11:50:23 +00:00
Andrew Kingston ea84af782d
Type row action endpoints 2024-12-03 10:37:15 +00:00
Andrew Kingston ac05ccd6a8
Type query endpoints 2024-12-03 09:59:08 +00:00
Andrew Kingston 152cc3811e
Fix import of frontend-core constants from client 2024-11-29 14:14:24 +00:00
Andrew Kingston 6b0b7fe731
Merge branch 'master' of github.com:Budibase/budibase into frontend-core-ts-2 2024-11-29 11:22:15 +00:00
Andrew Kingston 9c35a7758c
Update attachment endpoints to use TS 2024-11-27 10:26:17 +00:00
Andrew Kingston 0ac507f794
Remove postcss 2024-11-26 16:15:21 +00:00
Andrew Kingston d4c9e5140d
Remove old rollup config and update tsconfig 2024-11-26 16:13:02 +00:00
Andrew Kingston cfa6d487f8
Convert client to vite 2024-11-26 16:06:55 +00:00
Andrew Kingston fbcf452099
Merge branch 'master' into cheeks-lab-day-fields 2024-11-26 12:58:09 +00:00
Andrew Kingston e382512c3a
Merge branch 'master' into cheeks-lab-day-fields 2024-11-26 11:13:37 +00:00
Adria Navarro 233824dc78 Lint 2024-11-25 23:49:49 +01:00
Andrew Kingston bac448c29a
Merge branch 'master' into fix/block-native-searching 2024-11-18 16:39:35 +00:00
Andrew Kingston e972f4b95b
Fix block native search 2024-11-18 16:38:12 +00:00
Adria Navarro 4750e9faca Move atrament dependency 2024-11-18 14:10:34 +01:00
Andrew Kingston 25bfc65764
Always provide context from form fields regardless of standalone mode to ensure global bindings work when nesting inside a form 2024-11-08 12:15:12 +00:00
Andrew Kingston f08e528c99
Allow standalone mode for S3 upload fields 2024-11-08 11:21:41 +00:00
Andrew Kingston 9d6a150d4a
Allow standalone mode for user and user list fields 2024-11-08 11:12:17 +00:00
Andrew Kingston 59f9fbec84
Allow standalone mode for barcode scanner 2024-11-08 11:09:20 +00:00
Andrew Kingston a00bcea2f7
Memoise field registration to improve performance and avoid loops 2024-11-08 11:05:22 +00:00
Andrew Kingston c4b597488e
Allow standalone mode for most field types 2024-11-08 11:05:05 +00:00
Andrew Kingston a4ccdf3a15
Enable standalone mode for number fields 2024-11-07 16:33:54 +00:00
Andrew Kingston b4c2061ba9
Make the field setting on fields optional, and use the component name as a fallback 2024-11-07 16:29:19 +00:00
Andrew Kingston 26956f4f2e
Allow using fields without forms and enable standalone mode for text and options fields 2024-11-07 15:57:46 +00:00
Andrew Kingston b9ba76f639
Avoid creating new function every iteration of array.map 2024-10-31 12:33:07 +00:00
Andrew Kingston afbec934f3
Clean table data before using it as additional data context to better reflect usable structure 2024-10-31 12:28:52 +00:00
Andrew Kingston 67a988ae21
Automatically refresh datasources after executing row actions via a button action 2024-10-30 15:05:06 +00:00
Andrew Kingston 15ebfdf0e9
Fix settings added and removed by conditions not triggering component refresh 2024-10-30 14:56:11 +00:00
Andrew Kingston ff4d919083
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-30 09:29:24 +00:00
Michael Drury 8e0ebba099
Revert "Revert to state from 2.33.4." 2024-10-29 17:11:28 +00:00
Sam Rose fea668e6b6
Revert to state from 2.33.4. 2024-10-29 15:55:38 +00:00
melohagan 53854769ee
Fix relationship field filter on change (#14879)
Co-authored-by: Conor Webb <126772285+ConorWebb96@users.noreply.github.com>
2024-10-29 12:31:31 +00:00
Andrew Kingston fc3fcb5cbd
Lint 2024-10-29 11:48:16 +00:00
Andrew Kingston 7cce68f126
Provide fetchDatasourceDefinition via SDK 2024-10-29 11:44:03 +00:00
Andrew Kingston 32ad21de4f
Fix forms always requesting table schema and cache view definitions 2024-10-29 11:38:00 +00:00
Andrew Kingston 90fb36315f
Add client feature to ensure full backwards compatibility with themes 2024-10-24 10:06:04 +01:00
Andrew Kingston ab0f81824d
Update to use new shared-core location for theme utils 2024-10-24 09:35:55 +01:00
Andrew Kingston 247d57887a
Remove lightest and dark themes, use enums for themes, standardise naming 2024-10-24 09:07:36 +01:00
Andrew Kingston 07312b903b
Revert testing stuff 2024-10-23 09:58:49 +01:00
Andrew Kingston 4129169463
Lint 2024-10-22 15:40:53 +01:00
Andrew Kingston 3ae5ce9802
Use role display names for picking preview roles 2024-10-22 15:16:07 +01:00
Adria Navarro b4f5e35c1f
Merge branch 'master' into v3-ui 2024-10-22 10:29:24 +02:00
mikesealey 62b4deca95 updates filepath for Section in FieldGroup 2024-10-21 15:38:26 +01:00
mikesealey 01edb34b6e deprecates Section component 2024-10-21 15:16:45 +01:00
Andrew Kingston 46b9877455
Return default query 2024-10-16 15:15:23 +01:00
Andrew Kingston 0a1912e42c
Don't extend dataprovider queries when no extensions are in use 2024-10-16 11:56:52 +01:00
Martin McKeaveney 1d2d096ab0 PR comments 2024-10-15 10:05:03 +01:00
Andrew Kingston bb5b94f667
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-14 14:38:33 +01:00
Andrew Kingston 11f4c941e2
Add on click events for grid layout containers 2024-10-11 11:00:27 +01:00
Andrew Kingston edbb0b59f7
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-03 11:22:05 +01:00
Andrew Kingston bc96e61baf
Avoid mutating path array in-place 2024-10-02 12:57:10 +01:00
Andrew Kingston d09cbc4029
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-09-30 08:19:19 +01:00
Adria Navarro aa044b94cf Don't allow sort columns as display or sorting 2024-09-26 21:09:47 +02:00
Adria Navarro 4272b614e2 Cleanup 2024-09-25 12:49:51 +02:00
Adria Navarro 77587c8686 Add related columns 2024-09-25 12:49:51 +02:00
Andrew Kingston 5db3d84a8d
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-09-20 14:59:49 +01:00
Andrew Kingston f2f13bb84e
Fix conditions with empty values falsely evaluating to true 2024-09-19 09:25:25 +01:00
Dean e8f71f6ace Lint 2024-09-16 14:24:50 +01:00
Dean 22eafa892c PR feedback 2024-09-16 13:02:35 +01:00
Dean e0d2c70611 PR feedback 2024-09-16 12:46:21 +01:00
Dean ae8bd22253 Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-11 12:46:47 +01:00
Dean 11b146fcbf Updates to filter UI and API requests across budibase 2024-09-09 16:36:31 +01:00
Andrew Kingston 82a727ae88
Remove max limit on grid buttons 2024-09-09 11:36:52 +01:00
Andrew Kingston 028dc40a0d
Update form block autoscreens to render buttons at bottom and include quiet row action buttons 2024-09-09 11:35:43 +01:00
Andrew Kingston 5de81c624f
Expose refresh datasource action from form blocks and add row action button templates 2024-09-06 11:16:27 +01:00
Andrew Kingston 7121a0f157
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-06 08:57:08 +01:00
Andrew Kingston fa6ad0daec
Fix issue with enriching screen definitions causing bad component instances to be parsed 2024-09-06 08:46:09 +01:00
Andrew Kingston 1bbbeab25b
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-05 15:36:47 +01:00
Andrew Kingston a7cc670ab6
Restore mounted flag render blocker in grid containers 2024-09-05 15:26:35 +01:00
Andrew Kingston 8860acad73
Update grid layout to support placeholders, as well as grid screens 2024-09-05 15:15:28 +01:00
Andrew Kingston 6f8e669107
Improve new component DND for grids and add mobile support 2024-09-05 14:54:16 +01:00
Andrew Kingston 5e98580b60
Improve new component DND for both types of layout 2024-09-05 14:03:03 +01:00
Andrew Kingston b60923f929
Update collapsed button groups to support alignment 2024-09-04 11:12:26 +01:00
Andrew Kingston 232a2829d2
Add UI for controlling row actions on views, and add support for view row actions in button actions 2024-09-03 10:09:07 +01:00
Andrew Kingston 4b367bf505
Add row action button actions 2024-09-03 09:06:12 +01:00
Andrew Kingston b37a4cb0c9
Lint 2024-09-03 08:49:49 +01:00
Andrew Kingston 3b827c35a2
Add collapsed button option to multistep form block 2024-09-02 16:30:14 +01:00
Andrew Kingston 51cbced119
Add common collapsed button group and use it for row actions and client button groups. Add collapsed settings to grids and form blocks 2024-09-02 11:44:49 +01:00
Andrew Kingston d8b6d10dce
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-02 10:17:56 +01:00
Andrew Kingston e6f6760c2a
Add collapsable buttons to form block 2024-09-02 09:38:34 +01:00
Andrew Kingston fae897f468
Allow button groups to be collapsed 2024-09-02 09:31:19 +01:00
Martin McKeaveney 9924ad20e0 lint 2024-09-02 08:58:28 +01:00
Andrew Kingston c5e27b860f
Add row actions to tables in data section 2024-09-02 08:45:49 +01:00
Martin McKeaveney 8c769140bb adding conditional to prevent embedprovider handler firing 2024-08-28 16:56:51 +01:00
Martin McKeaveney 8e40e98b6a merge 2024-08-28 16:54:51 +01:00
Martin McKeaveney b3f51e2766 PR comments 2024-08-28 16:49:00 +01:00
Andrew Kingston 81e1138275
Lint 2024-08-23 14:45:45 +01:00
Andrew Kingston 0dd432f286
Add support for old views in new view nav bar 2024-08-23 13:34:36 +01:00
Martin McKeaveney 89051da102 use postMessage instead of window object 2024-08-19 18:01:56 +01:00
Andrew Kingston 48775b8397
Replace erroneous falsey comparisons with nullish comparisons 2024-08-15 11:44:31 +01:00
Andrew Kingston 916a7983d8
Fix potential undefined reference 2024-08-15 11:38:11 +01:00
Andrew Kingston 0252b02406
Update containers to use grid layout by default and ensure autoscreens use new layout prop 2024-08-15 11:36:02 +01:00
Andrew Kingston 39f7c28308
Revert max width nav to have reasonable padding 2024-08-15 11:25:57 +01:00
Andrew Kingston 991aff132f
Don't strip grid CSS variables from styles, allowing block ejection to reference them 2024-08-15 11:21:09 +01:00
Andrew Kingston 7ae21460f8
Update row explorer block to stretch by default, enabling a height setting of 100% to work 2024-08-15 10:40:54 +01:00
Andrew Kingston b575109fdc
Fix possibility of updating wrong component styles when dragging in grids if you are too fast or have a slow server 2024-08-15 10:04:47 +01:00
Andrew Kingston 0fc602dfc2
Lint 2024-08-15 09:38:56 +01:00
Andrew Kingston cab82d2a73
Update markdown viewer to vertically align to the top by default 2024-08-15 09:33:49 +01:00
Andrew Kingston 86628903cc
Remove console log 2024-08-14 16:58:01 +01:00
Andrew Kingston 2afe040332
Update scrolling to selected component so that it works when adding components 2024-08-14 16:36:19 +01:00
Andrew Kingston 919c4d95c5
Fix issue with side panel position 2024-08-14 15:24:48 +01:00
Andrew Kingston 33b68d6d54
Lint 2024-08-14 13:01:04 +01:00
Andrew Kingston fedb592b92
Fix issue where grid styles are not reapplied when component visibility changes 2024-08-14 12:56:45 +01:00
Andrew Kingston 84db937cba
Fix null refrence exception if definitions don't exist 2024-08-14 12:51:32 +01:00
Andrew Kingston a755fe7630
Allow quick duplicating via ctrl/cmd + drag 2024-08-14 11:21:59 +01:00
Andrew Kingston b62371d1be
Allow moving grid components using the label 2024-08-14 10:59:06 +01:00
Andrew Kingston f99ae6b96e
Ensure modals are rendered in the correct DOM position 2024-08-14 10:26:44 +01:00
Andrew Kingston 83e7b2d3e2
Move side panel into correct DOM position 2024-08-14 10:16:01 +01:00
Andrew Kingston d36fef5c86
Fix indicators around modals and side panels when used inside grids 2024-08-14 10:09:59 +01:00
Andrew Kingston 6baf784f4a
Ensure images are contained when used inside grids 2024-08-14 09:59:02 +01:00
Andrew Kingston 7a9730b120
Fix ephemeral styles not clearing properly 2024-08-14 09:24:03 +01:00
Andrew Kingston 0875d0c5e1
Only show empty rows in grid layouts when in the builder 2024-08-13 09:52:10 +01:00
Andrew Kingston 78953848bb
Fix variable name error in indicator sets 2024-08-13 09:19:16 +01:00
Andrew Kingston 73cc871a5e
Avoid name clashing 2024-08-13 09:14:42 +01:00
Andrew Kingston ead4be7b88
Add padding at bottom of grid for screen level grids 2024-08-13 09:09:53 +01:00
Andrew Kingston 96882e7eca
Improve performance of styleable util 2024-08-12 19:27:33 +01:00
Andrew Kingston d6f33b2191
Change how z-index is applied to the dragged element 2024-08-12 16:13:47 +01:00
Andrew Kingston 2f3a7018ae
More tidy up 2024-08-12 15:29:03 +01:00
Andrew Kingston 25ff092da2
Simplify some utils 2024-08-12 14:54:39 +01:00
Andrew Kingston d423d530e4
Rewrite settings bar updates to improve performance 2024-08-12 14:45:17 +01:00
Andrew Kingston 1f99ecc529
Fix missing reference 2024-08-12 14:03:31 +01:00
Andrew Kingston 47e4c668ec
Tidy up 2024-08-12 14:01:33 +01:00
Andrew Kingston 51db5ac9a9
Lint 2024-08-12 11:00:59 +01:00
Andrew Kingston aeb8a0f117
Allow grid containers to use their natural height as a min height 2024-08-12 10:48:38 +01:00
Andrew Kingston 9f951bab20
Revert indicator sets to use IntersectionObservers when multiple indicators are required 2024-08-12 10:24:14 +01:00
Andrew Kingston 5b8846208b
Prevent pointer events on non-dragged grid children to reduce hit test load 2024-08-12 09:55:45 +01:00
Andrew Kingston 304c244943
Tidy up and remove old code and simplify some selectors 2024-08-10 20:08:49 +01:00
Andrew Kingston 533a597a0b
Performance improvements 2024-08-10 18:52:24 +01:00
Andrew Kingston 34448cfca2
Fix dragging on tablet preview 2024-08-10 14:40:32 +01:00
Andrew Kingston 781a749a07
Update grid layout action to provide explicit values for all variables and simplify inheritance logic 2024-08-10 14:16:41 +01:00
Andrew Kingston a6fd2ceb47
Improve responsiveness of settings bar 2024-08-10 10:42:54 +01:00
Andrew Kingston 933942ef26
Make indicators more responsive 2024-08-09 22:20:25 +01:00
Andrew Kingston f87035aa9b
Simplify some DOM queries 2024-08-09 21:22:48 +01:00
Andrew Kingston 863fafa1d0
Simply and improve performance of indicators 2024-08-09 21:21:59 +01:00
Andrew Kingston 376192e85a
Improve performance of grid DND handler 2024-08-09 20:18:30 +01:00
Andrew Kingston 8aa0407236
Hide resize indicators when they don't fit 2024-08-09 19:09:32 +01:00
Andrew Kingston aaa33acc1c
Rework grid layouts to automatically grow as required 2024-08-09 18:04:23 +01:00
Andrew Kingston 46beead098
Update the style of edge anchors 2024-08-09 09:14:53 +01:00
Andrew Kingston 86061543dd
Slightly improve the look and behaviour of working with grid components 2024-08-09 08:52:03 +01:00
Andrew Kingston 8a022bb21e
Use single CSS variable for grid spacing to reduce duplication 2024-08-09 08:48:32 +01:00
Andrew Kingston cdc2092264
Only apply grid action when component is an immediate child of a grid container 2024-08-08 16:30:31 +01:00
Andrew Kingston 618b65e3fa
Use outline rather than pseudo elements for highlighting grid children 2024-08-08 16:23:55 +01:00