Commit Graph

1244 Commits

Author SHA1 Message Date
Andrew Kingston 2914f99e67 Improve determination of default values and logic around showing highlighted settings 2022-06-14 15:29:27 +01:00
Andrew Kingston d89047b2ab Revert focus specific logic in other components and simplify 2022-06-13 16:11:12 +01:00
Andrew Kingston e097f82b5d Update client library so that component placeholders are always shown when required settings are missing 2022-06-13 12:09:29 +01:00
Rory Powell 4dc5cfc5a7 Merge branch 'release' into merge-release 2022-06-13 11:45:18 +01:00
Martin McKeaveney ccbe1c12a5 Merge pull request #6184 from actus-ag/feature/optiontype-sort-order
feat: toggle for sort order in options type field
2022-06-13 10:44:21 +01:00
Andrew Kingston c6dbd52c88 Show devtools even in client app error states, to fix being locked out when changing to a public preview 2022-06-09 15:55:59 +01:00
Andrew Kingston 12961806ff Invalidate cached API responses when bad response statuses are recevied and invalidate entire API cache when switching role 2022-06-09 15:33:41 +01:00
Rory Powell 396a07cac5 Merge branch 'release' into feature/event-backfill 2022-06-09 15:21:49 +01:00
Andrew Kingston 9d26b06958 Improve logic around dev tools roles and its usages. Ensure dev tools roles are never used in builder preview 2022-06-09 15:03:43 +01:00
Andrew Kingston 3d1c5111e9 Add role setting to navigation links to allow easily customising which roles see which links 2022-06-09 14:28:02 +01:00
melohagan 9898bf4116 Merge pull request #6220 from Budibase/bug/sev3/select-row-with-button
Don't allow row selection for buttons in rows
2022-06-08 09:18:01 +01:00
Andrew Kingston 7940d4997a Lint 2022-06-07 15:19:51 +01:00
Mel O'Hagan 59cfb66428 Added preventSelectRow prop to custom column 2022-06-07 14:40:56 +01:00
Andrew Kingston 6e83c96236 Show empty screen placeholder with a CTA to add a component 2022-06-07 13:41:17 +01:00
Philipp Wirtenberger 7daf8ca00b fix: pass `sort` parameter through the options picker 2022-06-07 09:49:19 +02:00
Andrew Kingston d059433f1f Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-07 08:45:57 +01:00
Andrew Kingston 72397530ec Apply timezones patch from existing ignore-timezones branch 2022-06-07 08:31:00 +01:00
Dean 692039cd34 Component Cypress tests and fixes 2022-05-31 22:57:33 +01:00
Dean f1111fffca Updated approach to focus behaviour. Placeholder now updates to direct the user to the next required field they haven't entered 2022-05-30 12:57:10 +01:00
Rory Powell 2a00f6498d Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-29 00:25:40 +01:00
Dean b06235efc0 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-28 18:31:48 +01:00
Martin McKeaveney a0a7537e1d Merge pull request #6043 from Budibase/fix/json-schema
Enrich data fetch subscriptions with additional JSON schema fields
2022-05-27 14:34:28 +01:00
Andrew Kingston 2f324023d9 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-27 13:32:07 +01:00
Dean 372ff3b8fe Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-27 10:22:48 +01:00
Martin McKeaveney 54f7e7fa28 Merge pull request #6058 from HMXHIU/feature/attachmentLimit
Expose option to limit amount of uploads in attatchment field
2022-05-26 21:18:53 +01:00
mike12345567 8bc0142a37 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-25 18:12:27 +01:00
meng xiong hiu e9d8229b37 Expose option to limit amount of uploads in attatchment field 2022-05-25 21:15:23 +08:00
Andrew Kingston d84150d26f Enrich data fetch subscriptions with additional JSON schema fields 2022-05-24 10:23:23 +01:00
Dean 663a4ee7c7 Expanding the focus behaviour to more component types in the builder. Minor fix for cypress test 2022-05-24 09:58:05 +01:00
Peter Clement f90050fb53 disable row selection within client table 2022-05-24 09:47:28 +01:00
Dean 253642ad1f Refactored the approach to builder focus. Extending the behaviour beyond form fields 2022-05-23 16:12:56 +01:00
Andrew Kingston fd532a88d5 Improve performance when determining client component icons and update layout to allow for a better visual selection of the navigation section 2022-05-23 12:22:42 +01:00
Rory Powell 4841c84861 Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-23 10:29:33 +01:00
Dean c3c388b01a Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-20 09:09:50 +01:00
Andrew Kingston 12858c2b0f Update navigation padding 2022-05-19 21:20:37 +01:00
Andrew Kingston 2ff85212eb Slightly update sizes and styles of indicators and navigation to look better 2022-05-19 21:16:26 +01:00
Andrew Kingston 0484a8a976 Allow indicator to be shown for hovering and selecting navigation section, including title and icon 2022-05-19 21:03:20 +01:00
Andrew Kingston 5289dcec1d Scroll preview to the top to show navigation whenever editing navigation settings 2022-05-19 21:02:54 +01:00
Andrew Kingston 27788626ec Remove some log statements 2022-05-19 09:17:09 +01:00
Andrew Kingston 6f6d7da70f Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-19 09:11:13 +01:00
Dean 4c25248de8 Builder focus behaviour added to guide users when adding form elements. Refactored the component tests 2022-05-17 15:09:13 +01:00
Martin McKeaveney c69df439a4 Merge pull request #5787 from Upgreydd/convert_text_to_boolean_for_custom_schema_in_select
Allow to use select for boolean field type
2022-05-17 14:45:18 +01:00
Andrew Kingston 3c8558e1a0 Update preview indicator offsets 2022-05-17 14:34:54 +01:00
Andrew Kingston 8cdbb690eb Add icons to app preview selection indicators 2022-05-17 14:33:12 +01:00
Andrew Kingston ff47e8acd3 Scroll to the selected component inside the app preview 2022-05-17 14:10:21 +01:00
Andrew Kingston 08a98b4b95 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-17 12:59:15 +01:00
melohagan 76640f65f1 Merge pull request #5800 from Budibase/bug/sev3/misc-picker-fixes
Misc Picker Fixes
2022-05-16 12:03:22 +01:00
Mel O'Hagan 3ba4772210 Simplify clickable class 2022-05-16 11:26:52 +01:00
Andrew Kingston 1005d58ed3 Update print styles to work with dev tools update 2022-05-12 10:44:36 +01:00
Andrew Kingston 550511d404 Render screenslot when showing legacy layouts and remove concept of preview type 2022-05-12 09:42:25 +01:00
Mel O'Hagan 844463b312 Containers support onClick 2022-05-11 14:03:08 +01:00
Andrew Kingston 876cb4784d Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-11 09:07:35 +01:00
Andrew Kingston c8d454c9d9 Restore app preview border 2022-05-10 16:30:21 +01:00
Mel O'Hagan 6adb8fdc32 Added MultiSelect Checkboxes 2022-05-10 15:16:13 +01:00
Andrew Kingston 78b5e7707d Add screen width setting with backwards compatibility 2022-05-10 14:54:53 +01:00
Andrew Kingston 6922852d01 Update layouts to support legacy page widths while allowing new screens to determine their own width 2022-05-10 14:37:00 +01:00
Andrew Kingston f66f3b7935 Use 'Screen' for the name when selecting the root screen component 2022-05-10 14:10:26 +01:00
Andrew Kingston a8e4dca331 Remove border around client app preview 2022-05-10 13:34:10 +01:00
Kacper 45522f456e Allow to use select with radio buttons for boolean field type 2022-05-09 16:12:42 +02:00
Andrew Kingston b89203cd45 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-09 09:41:28 +01:00
Andrew Kingston 28fcf18559 Hide dev tools when in screen peek modal 2022-05-06 14:09:35 +01:00
Andrew Kingston 85a619c6ea Automatically go to navigation section when clicking navigation in preview 2022-05-06 13:59:16 +01:00
Andrew Kingston eb4d8d5e52 Add full navigation settings panel in new design UI. Remove navigation theme settings from theme panel 2022-05-06 13:51:27 +01:00
Andrew Kingston cc08c263c8 Fix duplicate component action in settings bar 2022-05-05 08:57:49 +01:00
Andrew Kingston d8c7fadd46 Add missing component store to client library SDK 2022-05-05 08:57:36 +01:00
Michael Drury 67e1d0a0e3 Merge pull request #5637 from Budibase/fix/conditional-form-validation
Deregister field validation when unmounting form fields
2022-05-04 13:31:17 +01:00
mike12345567 cfd53b2f93 Fix for form issue #5669 - when in an empty state didn't correctly handle null stores. 2022-05-03 15:29:17 +01:00
mike12345567 d090f2a8aa Fix for #5553 - when importing for SQL databases attempt to manage date and time only column times, handle these when displaying in tables and when filtering. 2022-05-03 14:11:06 +01:00
Andrew Kingston 1db3ae2974 Add support for instant updating of navigation settings in client apps 2022-04-28 17:30:48 +01:00
Andrew Kingston 45439ac3aa Deregister field validation when unmounting form fields 2022-04-28 16:35:38 +01:00
Andrew Kingston afa5f5e6cd Move some role logic to frontend core and enable client library to preferentially route to home screens 2022-04-28 15:13:33 +01:00
Andrew Kingston d94b30cb1e Fix issue loading app previews 2022-04-28 12:18:08 +01:00
Andrew Kingston 2736954438 Add link settings to new navigation tab 2022-04-27 17:50:01 +01:00
Andrew Kingston 14bd507566 Fix toggle navigation for a screen not refrecting in the app preview 2022-04-27 13:28:17 +01:00
Andrew Kingston 84d5d69aa8 Update client library to properly handle new screen navigation settings 2022-04-27 12:47:54 +01:00
Andrew Kingston 840ff254d1 Allow client library to render new screen structure without layouts 2022-04-27 12:30:35 +01:00
Andrew Kingston b42161bfd5 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-04-27 07:59:37 +01:00
Rory Powell 3e1a7987a3 BB logo on free plan 2022-04-26 11:28:31 +01:00
Martin McKeaveney 9ca4dacbaa merge with master 2022-04-26 10:21:45 +01:00
Rory Powell c94d8516c5 Fix: You must pass a 'distinctId' (public forms) 2022-04-25 22:08:56 +01:00
Andrew Kingston d269354d6f Merge branch 'feature/new-app-publish-workflow' of github.com:Budibase/budibase into new-design-ui-dirty 2022-04-25 13:42:23 +01:00
Andrew Kingston 03be935e6c Refactor routes and start updating core design UI into new components 2022-04-22 16:03:47 +01:00
Andrew Kingston 754aa82cec Merge pull request #5417 from Budibase/form-actions
Form actions
2022-04-22 10:47:57 +01:00
Mel O'Hagan 9b5ad2dacc Get latest RevId if not provided 2022-04-20 11:51:01 +01:00
Andrew Kingston 943ae42b27 Fix sticky hover state for icons on mobile 2022-04-19 10:55:53 +01:00
Andrew Kingston f6eef900ad Merge pull request #5272 from Budibase/cheeks-lab-day-devtools
DevTools
2022-04-14 12:57:01 +01:00
Andrew Kingston 3875cb02f0 Fix typo 2022-04-14 10:12:49 +01:00
Andrew Kingston 8ab79c3cbb Add on change action to S3 upload field 2022-04-14 10:04:38 +01:00
Andrew Kingston b3ca4357b2 Add on change action to relationship field 2022-04-14 10:01:14 +01:00
Andrew Kingston 02178d3f2b Add on change action to options field 2022-04-14 09:54:49 +01:00
Andrew Kingston bd7c009537 Add on change action to multi-select field 2022-04-14 09:51:41 +01:00
Andrew Kingston bd313c7204 Add on change action to long form field 2022-04-14 09:49:13 +01:00
Andrew Kingston b886fe95c2 Add on change action to string field 2022-04-14 09:47:27 +01:00
Andrew Kingston 0957b3195a Add on change action to JSON field 2022-04-14 09:47:00 +01:00
Andrew Kingston bbaec2e50f Add on change action to datetime field 2022-04-14 09:46:46 +01:00
Andrew Kingston ede7f684c4 Add on change action to boolean field 2022-04-14 09:46:36 +01:00
Andrew Kingston 8b3cf851b8 Add on change action to attachment field 2022-04-14 09:46:24 +01:00
Andrew Kingston 9545b3af1b Add button actions to update form field values 2022-04-14 09:46:07 +01:00
Mel O'Hagan bf4b2f65d8 Only apply to small components (button, headline) 2022-04-13 15:53:26 +01:00
Andrew Kingston cb90b872f5 Ensure existing invalid datasource definitions are also fixed by checking data source type before fetching table definitions 2022-04-13 10:28:55 +01:00
Andrew Kingston adc6008c4c Ensure existing invalid datasource definitions are also fixed by checking data source type before fetching table definitions 2022-04-13 10:27:32 +01:00
Andrew Kingston c6d1757f7d Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-04-07 12:04:13 +01:00
Mel O'Hagan eb4206cc55 Move settings bar below element if at very top 2022-04-06 17:31:59 +01:00
Andrew Kingston 257bfb046d Update spectrum card word wrapping again 2022-04-06 16:05:58 +01:00
Andrew Kingston 923973f1ab Account for builder preview 2px offset when rendering indicator sets so that indicators are accurate for devtools 2022-04-06 14:32:25 +01:00
Andrew Kingston 34a0c77d73 Tidy up 2022-04-06 13:40:07 +01:00
Andrew Kingston f7d5456e72 Add label for global selected rows bindings in devtools 2022-04-06 13:30:38 +01:00
Andrew Kingston c2d61d8ebc Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-04-06 11:50:43 +01:00
Andrew Kingston 3c3be66786 Don't show an error for the endpoint 2022-04-06 08:16:24 +01:00
Andrew Kingston 5b423a21ee Reset buttion action output context on each invocation of the action 2022-04-05 14:00:44 +01:00
Andrew Kingston 0427b9dc7f Merge branch 'develop' of github.com:Budibase/budibase into nord-theme 2022-04-04 12:19:29 +01:00
Andrew Kingston 3e4ab1cc64 Fix color and size of chart tooltips 2022-04-04 10:56:06 +01:00
Andrew Kingston e51bd54fce Update chart data labels to white 2022-04-04 09:14:56 +01:00
Andrew Kingston a1e3318c1e Disable validation for search fields in cards block 2022-04-04 08:49:46 +01:00
Andrew Kingston 474e89fa5f Disable validation for search fields in table block 2022-04-04 08:49:16 +01:00
Andrew Kingston 967c9efc3a Add internal setting to fully disable form validation 2022-04-04 08:49:01 +01:00
Andrew Kingston 4c22ff4dce Manually pull in new state context on each button action enrichment to keep aware of state changes during button action execution 2022-04-01 18:36:41 +01:00
Andrew Kingston d08d9d1248 Add form block and form block plus components 2022-04-01 12:51:23 +01:00
Andrew Kingston 04d8e1417b Remove button editing class which was used for testing 2022-03-30 09:37:00 +01:00
Andrew Kingston 444072ecac Only save textContent of editable fields to fix HTML being inserted, and fully remount component when toggling editing to fix chrome issues 2022-03-30 09:32:19 +01:00
Rory Powell 69b2b38aea Merge branch 'master' into merge-master 2022-03-25 13:10:37 +00:00
Andrew Kingston 4d82b49c0e Merge pull request #5086 from Budibase/continue-if-button-action
'Continue if' button action
2022-03-25 12:29:19 +00:00
Andrew Kingston bedbf4bcae Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-25 12:00:17 +00:00
Dean 962f53e36f Merge remote-tracking branch 'origin/develop' into feature/map-component 2022-03-25 11:31:45 +00:00
Andrew Kingston eb582e6c80 Fix bug which prevented last marker being removed from the map if deleted 2022-03-25 10:59:45 +00:00
Andrew Kingston 4b55e8c85e Add 'continue if' button action 2022-03-25 09:26:15 +00:00
Andrew Kingston 9f60df9ac2 Update apex chart tooltips to work in dark themes 2022-03-23 14:21:23 +00:00
Andrew Kingston bd487fa988 Use global self endpoint in client apps to differentiate between not being logged in and not having access to an app 2022-03-23 11:41:51 +00:00
Andrew Kingston 3817de254e Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-03-23 10:48:49 +00:00
Andrew Kingston 38be4979f3 Merge pull request #4987 from Budibase/scrollable-component-tree
Scrollable component tree
2022-03-23 10:46:55 +00:00
Andrew Kingston 1e8ef54956 Make app dynamic filter component respsonsive 2022-03-22 18:33:41 +00:00
Andrew Kingston 644fd0da87 Update pie chart to be reactive 2022-03-22 17:45:05 +00:00
Andrew Kingston ede871dac2 Update line chart to be reactive 2022-03-22 17:44:58 +00:00
Andrew Kingston cff11d4b8b Update candlestick chart to be reactive 2022-03-22 17:44:45 +00:00
Andrew Kingston bbc161c481 Update bar chart to be reactive 2022-03-22 17:44:32 +00:00
Andrew Kingston e4dfb5b269 Do not update form field value when default value changes to prevent endless loops 2022-03-22 17:28:04 +00:00
Martin McKeaveney b51191fef9 Merge pull request #4950 from mslourens/enforce_display_column_validation
fetch the table which contains info about the primaryDisplay
2022-03-22 08:31:48 +00:00
Andrew Kingston 61e077bf0a Update spectrum card word wrapping to allow breaking text anywhere 2022-03-21 12:16:51 +00:00
Martin McKeaveney 35facc8cb1 Merge pull request #4872 from Budibase/add-print-styles
Add css print styles to ensure multi-page print is possible
2022-03-21 08:34:55 +00:00
Martin McKeaveney cf9105c9dc Merge pull request #4821 from Budibase/copy-paste-improvements
Copy paste improvements + extras
2022-03-21 08:25:01 +00:00
Andrew Kingston 80adf9be14 Don't attempt to invalidate related datasources when invalidating query datasources 2022-03-18 15:21:24 +00:00
Maurits Lourens 8cd921f834 fetch the table which contains info about the primaryDisplay 2022-03-18 14:35:06 +01:00
Andrew Kingston de318ec9e2 Merge branch 'develop' of github.com:Budibase/budibase into feature/map-component 2022-03-16 15:31:10 +00:00
Andrew Kingston d03dc54efd Update default height of map component 2022-03-16 15:03:13 +00:00
Andrew Kingston 44bc4f4f43 Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-16 15:03:01 +00:00
Andrew Kingston ced26dfa64 Improve map actions, tidy up some parts of the map component and ensure settings update properly 2022-03-16 14:53:12 +00:00
Peter Clement fcfce77d5d linting 2022-03-16 10:33:38 +00:00
Peter Clement a2c3257515 send export file from backend 2022-03-16 10:22:06 +00:00
Andrew Kingston b3840f0ae0 Fix duplicate handlers for map click setting and update map to only zoom to markers once 2022-03-15 13:54:32 +00:00
Andrew Kingston fcb3ce4da3 Add map action for map click 2022-03-15 13:25:41 +00:00
Peter Clement 54ec5ea2dc fix button action export for csv 2022-03-15 12:03:16 +00:00
Andrew Kingston 3acea6b148 Add nord theme 2022-03-15 11:20:06 +00:00
Andrew Kingston 9500203515 Add event context to button actions to allow passing in params at run time and add corresponding data bindings 2022-03-15 11:16:51 +00:00
Andrew Kingston 4d01063383 Convert marker popups to tooltips on hover 2022-03-14 11:45:26 +00:00
Dean 7f5270ab5b Minor code styling fix 2022-03-14 09:47:48 +00:00
Dean 24de79a38b Added link target to the list of allowed attributes for any links used in map attribution 2022-03-14 09:25:41 +00:00
Dean 318214fd72 Map refactored and dependency updates 2022-03-11 11:17:15 +00:00
Dean 39468c98c0 Added html escaping package sanitize-html to prevent injection via the map attribution field 2022-03-11 11:06:05 +00:00
Dean b5a36de5bd Added fix to accomodate a cleared attribution field 2022-03-10 15:48:11 +00:00
Dean b196ca10af Added the default location behaviour back in. Added in a Map Attribution field for users who alter their tile url. Some refactoring based on feedback 2022-03-10 12:48:49 +00:00
Andrew Kingston c4a3502187 Add comment for consistency 2022-03-10 11:56:31 +00:00
Andrew Kingston 42cbdcd923 Add css print styles to ensure multi-page print is possible 2022-03-10 11:54:15 +00:00
Dean c672a439c0 Merge remote-tracking branch 'origin/develop' into feature/map-component 2022-03-09 11:02:53 +00:00
Andrew Kingston f335c2635b Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 17:58:12 +00:00
Dean b67b34928a Initial Commit for Issue/3819. World map component added and a small change to the Component draggable behaviour to accomodate it. 2022-03-08 16:41:21 +00:00
Peter Clement 38ba2509d7 Merge remote-tracking branch 'origin/develop' into feature/export-from-client 2022-03-08 13:56:56 +00:00
Andrew Kingston 4ef06ea6c1 Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 13:35:35 +00:00
Peter Clement 064aee5e2e Update how button action for exporting works 2022-03-08 12:58:05 +00:00
Martin McKeaveney 14cffcd6ff merge 2022-03-08 12:40:41 +01:00
Martin McKeaveney 975eb0b99e merge from master 2022-03-08 12:34:27 +01:00
Andrew Kingston e84e4f9899 Add duplicate action to settings bar 2022-03-07 14:05:26 +00:00
Peter Clement ed2c210db8 Add button action allowing for export of client row selection 2022-03-07 12:06:11 +00:00
Andrew Kingston bed09f5f6c Fix loading state in S3 upload component and show error if possible 2022-03-07 09:57:15 +00:00
Andrew Kingston e58fa37b6e Merge pull request #4750 from Budibase/fix/option-picker-values
Fixes for 409s and option picker values
2022-03-03 12:37:59 +00:00
Peter Clement 6095b5cb87 Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-03-01 10:37:26 +00:00
Rory Powell 8f1b638f3b Merge branch 'master' into merge-master 2022-03-01 10:04:23 +00:00
Andrew Kingston 1d38486bb7 Update more option picker logic to only hide nullish rather than falsey values when using a dynamic options source 2022-03-01 10:00:08 +00:00
Andrew Kingston 9535bc7c24 Update option picker logic to only hide nullish rather than falsey values when using a dynamic options source 2022-03-01 09:51:48 +00:00
Andrew Kingston 3ba195960b Add error notification if executing a query in a button action fails 2022-02-25 21:29:02 +00:00
Andrew Kingston eb27ac368a Fix incorrect syntax for showing a notification while executing custom queries 2022-02-25 21:26:08 +00:00
Andrew Kingston a3f45a0dac Merge branch 'develop' of github.com:Budibase/budibase into feature/table-row-selection 2022-02-25 13:49:24 +00:00
Andrew Kingston 00b2fc29e0 Fix route choice when using devtools role preview and fix devtools role ID not being passed down in context 2022-02-25 13:26:11 +00:00
Andrew Kingston 755e12a24d Add full featured component settings and bindings devtools tabs 2022-02-24 21:48:54 +00:00
Andrew Kingston 969e6531d5 Make copy to clipboard an exported utility 2022-02-24 21:48:23 +00:00
Andrew Kingston c944d1fdf5 Update devtools with new features 2022-02-24 15:36:21 +00:00
Andrew Kingston b8809d33b9 Ensure dev tools never shows in builder preview 2022-02-24 14:15:36 +00:00
Andrew Kingston 0fcfa43790 Fix className autocorrect and make client load time optional 2022-02-24 14:14:55 +00:00
Andrew Kingston 66715b8290 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-02-24 14:03:29 +00:00
Andrew Kingston fd76551909 Key client app layout rendering by builder store asset type to ensure preview is always remounted properly 2022-02-24 12:26:31 +00:00
Andrew Kingston 6573835c13 Fix missing prop from table block and add fixed context provider ID for tables inside table blocks to support row selection bindings 2022-02-24 09:16:35 +00:00
Andrew Kingston d888831b4a Fix table selection defaulting to true, reset selected rows when unmounting tables, remove position absolute on row selection text 2022-02-24 09:15:37 +00:00
Andrew Kingston 8f93227dad Merge branch 'table-cell-config' of github.com:Budibase/budibase into feature/table-row-selection 2022-02-23 12:10:03 +00:00
Peter Clement dffdcd882f add ability to select rows from different tables and provide bindings 2022-02-22 15:18:08 +00:00
Andrew Kingston 988afc2dac Add compact setting to table block 2022-02-21 15:45:39 +00:00
Andrew Kingston 86acb3fea3 Update client table component to be more generic about passing table customisation options 2022-02-18 20:29:20 +00:00
Andrew Kingston a3ee95f4e9 Ensure child component column in tables always uses auto width 2022-02-18 14:58:49 +00:00
Andrew Kingston 35f95d2fb3 Fix issue when columns are not defined for a table 2022-02-18 13:22:04 +00:00
Andrew Kingston 9f92ee2d0b Add compact setting to table 2022-02-18 13:08:18 +00:00
Andrew Kingston f45715d61b Only autosort columns when custom columns are not specified 2022-02-18 12:35:39 +00:00
Peter Clement 340c9480c2 add row selection numbers 2022-02-16 15:00:18 +00:00
Peter Clement 1dd909c8c2 Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-02-16 14:35:42 +00:00
Andrew Kingston 2972927a18 Merge branch 'develop' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-14 17:58:42 +00:00
Peter Clement 5a88c89baf changing bindings key 2022-02-11 15:37:43 +00:00
Peter Clement d45c107db7 add row selection functionality to tables 2022-02-11 11:55:35 +00:00
Andrew Kingston 5f72066dde Update table component to use new settings component and support new column config setting structure 2022-02-10 16:42:15 +00:00
Andrew Kingston 0e59be9375 Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-09 15:18:44 +00:00
Michael Drury 1cc32e42c0 Merge branch 'develop' into frontend-core 2022-02-09 14:42:05 +00:00
mike12345567 d13985af3f Fix for #3758 - updating the datetime cell renderer and form component to be capable of display time only formats, as well as adding an option to only select the time component for a date time form field. 2022-02-08 16:15:08 +00:00
Andrew Kingston d90ccc26c7 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-08 08:12:37 +00:00
Andrew Kingston 6a3333cb19 Merge pull request #4372 from Budibase/dont-dismiss-error-notifications
Remove automatic dismissal of error notifications
2022-02-07 16:47:15 +00:00
Andrew Kingston 85b6943853 Prevent notifications in client apps from being automatically dismissed 2022-02-07 15:25:03 +00:00
Andrew Kingston 353b67d0eb Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-07 14:46:05 +00:00
Andrew Kingston 2969f2d24c Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-07 14:45:14 +00:00
Andrew Kingston 6245d605e8 Update rich text editor fullscreen and side-by-side modes to work on desktop and mobile properly with any type of layout navigation 2022-02-07 12:49:33 +00:00
Andrew Kingston 2975e4a8f7 Add format setting on long form fields to allow choice between rich text and plain text, and default to automatically determining from the schema 2022-02-07 12:12:02 +00:00
Andrew Kingston a76508c76e Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-07 09:50:17 +00:00
Andrew Kingston 48ce006ac3 Hide some icons on mobile to avoid fullscreen mobile icon wrapping in rich text editor 2022-02-04 14:25:20 +00:00
Andrew Kingston 90514af833 Merge branch 'develop' of github.com:Budibase/budibase into feature/real-rich-text 2022-02-04 13:53:01 +00:00
Andrew Kingston a3eef9f534 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-04 09:23:32 +00:00
Andrew Kingston a2a3b276d0 Add default value for relationship fields 2022-02-04 08:50:56 +00:00
mike12345567 984950b945 Adds alignment to long form and string fields as per #3374. 2022-02-03 19:13:56 +00:00
Andrew Kingston 160849d0f5 Support a customisable offset for fullscreen mode for rich text editors 2022-02-03 11:53:51 +00:00
Andrew Kingston aacd8b01c6 Update rich text field height to be set dynamically 2022-02-03 10:46:41 +00:00
Andrew Kingston 815b6213cf Update client app long form text component to be rich text and add new markdown viewer component 2022-02-02 21:23:28 +00:00
Andrew Kingston 14eca1b461 Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-01 16:49:59 +00:00
Andrew Kingston de12e0dc79 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:46:00 +00:00
Andrew Kingston eb1edcd1cc Simply and improve core client library logic 2022-02-01 16:32:37 +00:00
Andrew Kingston 27c2b62223 Remove log statements 2022-02-01 11:55:31 +00:00
Andrew Kingston 249520bdb2 Merge pull request #4228 from pueding/fix/query-pagination-on-production
Fix not showing pagination of query on production
2022-01-31 19:06:00 +00:00
Andrew Kingston 21a771ff70 Merge in client bundle size reductions 2022-01-31 19:02:59 +00:00
Andrew Kingston fcd79ed70a Merge branch 'client-bundle-size-reduction' into experimental-hbs-caching 2022-01-31 18:58:19 +00:00
Andrew Kingston caf8991d92 Cache the determination of client component settings and simplify initialisationlogic 2022-01-31 18:54:04 +00:00
mike12345567 f9c7877e02 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-31 15:21:15 +00:00
Hwansoo 241d04ed38 fix: check if fields exists 2022-02-01 00:03:25 +09:00
Andrew Kingston e5ca73a5d9 Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-01-31 10:34:04 +00:00
Andrew Kingston 9b1754ad70 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-31 09:40:33 +00:00
Andrew Kingston 22bb99357a Remove lodash and sort dependencies out 2022-01-31 09:32:06 +00:00
Rory Powell 0089fb06d9 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
Andrew Kingston 4b7fe15598 Add experimental support for caching the creation of HBS template functions 2022-01-29 18:53:21 +00:00
Hwansoo 35671cb120 Fix not showing pagination of query on production 2022-01-28 01:31:10 +09:00
mike12345567 223b5a0e16 Fixing dynamic filter modal in client library to include static formula. 2022-01-26 17:49:02 +00:00
Andrew Kingston 0b5d26b28b Enable caching in client library 2022-01-26 17:45:35 +00:00
Martin McKeaveney 19d27c97a4 code review and merge with develop 2022-01-26 17:45:28 +01:00
Rory Powell ffcf5354eb Add CSRF Token 2022-01-25 22:54:50 +00:00
Andrew Kingston 29f47198c6 Remove built-in patch functionality from core API client and instead manually patch client library API endpoints 2022-01-25 19:22:43 +00:00
mike12345567 ff6c81f265 Getting client side block search fields working with searching formulas. 2022-01-25 18:28:55 +00:00
Andrew Kingston bd04d627d2 Add missing API client documentation and fix S3 upload endpoints to make them consistent 2022-01-25 16:54:55 +00:00
Andrew Kingston 9a813dbb29 Lint 2022-01-25 15:49:35 +00:00
Andrew Kingston 7b32543537 Use core CookieUtils in client library 2022-01-25 15:28:14 +00:00
Andrew Kingston 604788a244 Fix issue with multiple enrichments before components mount without affecting other components 2022-01-25 11:22:26 +00:00
Andrew Kingston 57aa63a2d6 Don't render the active client app screen until the router is loaded to avoid a wasted render 2022-01-25 11:21:42 +00:00
Andrew Kingston d5ef915f39 Fix filtering no datetime fields in blocks 2022-01-25 08:42:07 +00:00
Andrew Kingston 7656887c1a Fix rare issue which could occur when enriching component props twice before an initial render has taken place 2022-01-24 19:25:19 +00:00
Andrew Kingston 591dafc336 Don't show a notification when failing an API request due to analytics failures 2022-01-24 19:14:57 +00:00
Andrew Kingston b33a2aa662 Improve API error logging to differentiate between builder and client sources 2022-01-24 16:40:55 +00:00
Andrew Kingston 30fa72665a Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-24 15:46:54 +00:00
Andrew Kingston b0defa8176 Merge pull request #4030 from Budibase/s3-upload
S3 file upload component
2022-01-24 15:41:46 +00:00
Andrew Kingston a9d4e6a64e Fix rare issue which could occur when enriching component props twice before an initial render has taken place 2022-01-21 13:32:56 +00:00
Andrew Kingston f100ae42fd Add more work on API refactor in builder 2022-01-21 09:10:59 +00:00
Andrew Kingston 2394f7faee Fix data fetch for nested providers, JSON arrays or array fields not working 2022-01-20 19:25:21 +00:00
Andrew Kingston 858d7b4b5a Revert changes to MultiFieldSelect 2022-01-20 19:24:57 +00:00
Andrew Kingston 3c50a83de7 Derive safe array-like value as the default value for multi-select fields 2022-01-20 19:24:28 +00:00
Andrew Kingston b0d24d7c07 Merge pull request #4086 from Budibase/ak-fixes
Fixes for multi-selects and data fetching
2022-01-20 18:39:40 +00:00
Andrew Kingston d3a4e34b3f Don't show a notification if there is no error message 2022-01-20 13:37:20 +00:00
Andrew Kingston 86e0e8acc2 Fix DND throwing errors due to browser API updates 2022-01-20 11:52:29 +00:00
Andrew Kingston d494e53786 Remove static functions from data fetch models 2022-01-20 11:50:18 +00:00
Andrew Kingston a3d6af7b9f Update usage of fetch client app route endpoint 2022-01-20 11:30:51 +00:00
Andrew Kingston c7e98623bc Update usage of DataFetching in client apps 2022-01-20 11:29:30 +00:00
Andrew Kingston 1ec3a91cae Update usages of utils and helpers in the builder 2022-01-20 11:19:37 +00:00
Andrew Kingston aab7adce03 Update remaining dependency issues in client 2022-01-20 10:16:13 +00:00
Andrew Kingston 5fad127f94 Update remaining usage of API in client library 2022-01-20 09:57:57 +00:00
Andrew Kingston 6e58820b45 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-20 09:43:23 +00:00
Andrew Kingston 6694bdc651 Add core API implementation and update most of client library to use it 2022-01-20 09:40:53 +00:00
Andrew Kingston 937518228d Merge pull request #4105 from Budibase/fix/log-out-action
Fix log out action
2022-01-19 14:54:20 +00:00
Maurits Lourens f5732abe55 #3397 - select radio buttons alignment setting 2022-01-19 15:23:41 +01:00
Andrew Kingston 9d4f18f1ce Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-19 13:54:39 +00:00
Andrew Kingston 8be7018543 Rename return URL to redirect URL in log out action 2022-01-19 12:50:07 +00:00
Andrew Kingston baee67d2e8 Lint 2022-01-19 11:32:56 +00:00
Andrew Kingston f6396649b5 Update log out handling to work better, and add support for navigating to a return URL 2022-01-19 11:22:27 +00:00
Martin McKeaveney 3d5a3e7902 Merge pull request #4088 from mslourens/attachment_field_extensions
add extensions prop to specify accepted file extensions
2022-01-19 10:33:10 +01:00
Andrew Kingston 8bf91e6f21 Merge pull request #4084 from bastiaanterhorst/multi-options-default-fix
Update MultiFieldSelect to accept a defaultValue
2022-01-19 08:54:39 +00:00
Bastiaan Terhorst 5b58bd9be6 set defaultValue in Field component 2022-01-19 09:19:49 +01:00
Andrew Kingston 603d38ad78 Merge pull request #4033 from Budibase/fix/dynamic-validators
Fix dynamic validators not correctly validating form components
2022-01-18 19:20:27 +00:00
Maurits Lourens a4fea9ab3c add extensions prop to specify accepted file extensions 2022-01-18 17:17:31 +01:00
Bastiaan Terhorst 7ed18caa31 also set defaultValue 2022-01-18 16:48:08 +01:00
Andrew Kingston 37a8d213e6 Fix data fetch for nested providers, JSON arrays or array fields not working 2022-01-18 15:34:10 +00:00
Bastiaan Terhorst d2ffc2e920 Update MultiFieldSelect to accept a defaultValue
This changes the multi select control to accept defaultValues. As these are passed in as strings (flattened arrays in the form of "1, 2, 3") they need to be split into an array to be accepted by the control.
2022-01-18 15:04:40 +01:00
Michael Drury 7cf78f8c8b Merge pull request #4073 from Budibase/feature/sql-relationship-filtering
SQL relationship filtering
2022-01-18 13:10:58 +00:00
Andrew Kingston 0201841b90 Add initial work on frontend-core refactor 2022-01-18 09:39:19 +00:00
Maurits Lourens 68986fba3a fix schema constraint mapping to validation rule 2022-01-17 23:23:36 +01:00
mike12345567 cde801d99b Adding dynamic filter capabilities, also updating search field select in builder to make sure it removes banned search field types. 2022-01-17 16:48:49 +00:00
Andrew Kingston 54ce8d8386 Merge branch 'feature/sql-relationship-filtering' of github.com:Budibase/budibase into feature/sql-relationship-filtering 2022-01-17 14:04:19 +00:00
Andrew Kingston 0502e62e1c Add optional enrichment of relationship fields when determining datasource schema and update block filters to properly reference relationship fields 2022-01-17 14:03:47 +00:00
mike12345567 29fbfe7b95 Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationship-filtering 2022-01-17 13:34:16 +00:00
mike12345567 aae2dc86d3 Getting client partially working, having an issue with search fields not updating for a table block. 2022-01-14 17:42:14 +00:00
Andrew Kingston 283c4a5d9f Remove log 2022-01-14 16:47:50 +00:00
Andrew Kingston 4dfb74f512 Add public URL of uploaded file to button action outputs when uploading files to S3 2022-01-14 10:40:38 +00:00
Andrew Kingston 5b40ef2422 Fix issue where error was always reset when a component was re-registered 2022-01-14 09:58:23 +00:00
Andrew Kingston 0b0618aa84 Lint and fix size of S3 upload component overlay 2022-01-14 09:20:20 +00:00
Andrew Kingston 73f2c9bd35 Improve error handling when uploading files to S3 2022-01-14 08:39:24 +00:00