Commit Graph

1084 Commits

Author SHA1 Message Date
Andrew Kingston 10258e1df8 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 8dd517dcb2 Add role setting to navigation links to allow easily customising which roles see which links 2022-06-09 14:28:02 +01:00
melohagan 08c8ba8d81
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 c873b42242 Lint 2022-06-07 15:19:51 +01:00
Mel O'Hagan 12ced8cba7 Added preventSelectRow prop to custom column 2022-06-07 14:40:56 +01:00
Andrew Kingston 081d29e0c4 Show empty screen placeholder with a CTA to add a component 2022-06-07 13:41:17 +01:00
Philipp Wirtenberger 31543964ff fix: pass `sort` parameter through the options picker 2022-06-07 09:49:19 +02:00
Andrew Kingston 17da8f192f Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-07 08:45:57 +01:00
Andrew Kingston f2e3b2efa8 Apply timezones patch from existing ignore-timezones branch 2022-06-07 08:31:00 +01:00
Dean 0c25ecbf21 Component Cypress tests and fixes 2022-05-31 22:57:33 +01:00
Dean dbbf7afcd0 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 f2f6bf779d Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-29 00:25:40 +01:00
Dean e786a0d122 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-28 18:31:48 +01:00
Martin McKeaveney 5953c0acc0
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 6b905da588 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-27 13:32:07 +01:00
Dean 15d95ed2b2 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-27 10:22:48 +01:00
Martin McKeaveney e5ade4024a
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 09f8675816 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-25 18:12:27 +01:00
meng xiong hiu 4788cb0a04
Expose option to limit amount of uploads in attatchment field 2022-05-25 21:15:23 +08:00
Andrew Kingston 433920f284 Enrich data fetch subscriptions with additional JSON schema fields 2022-05-24 10:23:23 +01:00
Dean 702b62f8e6 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 0455abc400 disable row selection within client table 2022-05-24 09:47:28 +01:00
Dean f82316561a Refactored the approach to builder focus. Extending the behaviour beyond form fields 2022-05-23 16:12:56 +01:00
Andrew Kingston d4a551f80a 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 6ea7912a73 Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-23 10:29:33 +01:00
Dean 9d79e6a554 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-20 09:09:50 +01:00
Andrew Kingston 702ebdedf8 Update navigation padding 2022-05-19 21:20:37 +01:00
Andrew Kingston 8d645ce8e1 Slightly update sizes and styles of indicators and navigation to look better 2022-05-19 21:16:26 +01:00
Andrew Kingston c2a40dc88e 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 b281e233b3 Scroll preview to the top to show navigation whenever editing navigation settings 2022-05-19 21:02:54 +01:00
Andrew Kingston f91c8f43fd Remove some log statements 2022-05-19 09:17:09 +01:00
Andrew Kingston 109ca7dbef Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-19 09:11:13 +01:00
Dean 93f90405cf 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 71fdb69cde
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 4256ee4702 Update preview indicator offsets 2022-05-17 14:34:54 +01:00
Andrew Kingston 976904686e Add icons to app preview selection indicators 2022-05-17 14:33:12 +01:00
Andrew Kingston 2b5b6ae282 Scroll to the selected component inside the app preview 2022-05-17 14:10:21 +01:00
Andrew Kingston 0133aabc46 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-17 12:59:15 +01:00
melohagan 53b1cdbba1
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 d9fb7297fa Simplify clickable class 2022-05-16 11:26:52 +01:00
Andrew Kingston a5dd74842b Update print styles to work with dev tools update 2022-05-12 10:44:36 +01:00
Andrew Kingston 5f7940d9a1 Render screenslot when showing legacy layouts and remove concept of preview type 2022-05-12 09:42:25 +01:00
Mel O'Hagan 7151f6df66 Containers support onClick 2022-05-11 14:03:08 +01:00
Andrew Kingston e25123eade Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-11 09:07:35 +01:00
Andrew Kingston d3cfdd8a2d Restore app preview border 2022-05-10 16:30:21 +01:00
Mel O'Hagan 973b04c413 Added MultiSelect Checkboxes 2022-05-10 15:16:13 +01:00
Andrew Kingston 3c276d053d Add screen width setting with backwards compatibility 2022-05-10 14:54:53 +01:00
Andrew Kingston 8bf3595015 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 9035660975 Use 'Screen' for the name when selecting the root screen component 2022-05-10 14:10:26 +01:00
Andrew Kingston 1078fa3f78 Remove border around client app preview 2022-05-10 13:34:10 +01:00
Kacper 0089402798 Allow to use select with radio buttons for boolean field type 2022-05-09 16:12:42 +02:00
Andrew Kingston ba8d8bfd1b Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-09 09:41:28 +01:00
Andrew Kingston b5264fd93d Hide dev tools when in screen peek modal 2022-05-06 14:09:35 +01:00
Andrew Kingston c96b268c2f Automatically go to navigation section when clicking navigation in preview 2022-05-06 13:59:16 +01:00
Andrew Kingston 3ada9a12c5 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 92337f9fa3 Fix duplicate component action in settings bar 2022-05-05 08:57:49 +01:00
Andrew Kingston 6dc75d45b4 Add missing component store to client library SDK 2022-05-05 08:57:36 +01:00
Michael Drury e6cb9917df
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 8b76693480 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 107c9e2dfc 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 ff6f02dda4 Add support for instant updating of navigation settings in client apps 2022-04-28 17:30:48 +01:00
Andrew Kingston 0143de5020 Deregister field validation when unmounting form fields 2022-04-28 16:35:38 +01:00
Andrew Kingston 3e8192552d 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 4e7c2c52a7 Fix issue loading app previews 2022-04-28 12:18:08 +01:00
Andrew Kingston 1d9b053efc Add link settings to new navigation tab 2022-04-27 17:50:01 +01:00
Andrew Kingston 17efdeb824 Fix toggle navigation for a screen not refrecting in the app preview 2022-04-27 13:28:17 +01:00
Andrew Kingston cfc684b199 Update client library to properly handle new screen navigation settings 2022-04-27 12:47:54 +01:00
Andrew Kingston 570484eedf Allow client library to render new screen structure without layouts 2022-04-27 12:30:35 +01:00
Andrew Kingston 76feddfaff Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-04-27 07:59:37 +01:00
Martin McKeaveney e01ef9bdfb merge with master 2022-04-26 10:21:45 +01:00
Rory Powell c5ec781057 Fix: You must pass a 'distinctId' (public forms) 2022-04-25 22:08:56 +01:00
Andrew Kingston 2436c8d6e8 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 c35906a831 Refactor routes and start updating core design UI into new components 2022-04-22 16:03:47 +01:00
Andrew Kingston 3eb4ed41cb
Merge pull request #5417 from Budibase/form-actions
Form actions
2022-04-22 10:47:57 +01:00
Mel O'Hagan d85e022182 Get latest RevId if not provided 2022-04-20 11:51:01 +01:00
Andrew Kingston 665904781b Fix sticky hover state for icons on mobile 2022-04-19 10:55:53 +01:00
Andrew Kingston 98eefb1dd2
Merge pull request #5272 from Budibase/cheeks-lab-day-devtools
DevTools
2022-04-14 12:57:01 +01:00
Andrew Kingston 17aba96dfa Fix typo 2022-04-14 10:12:49 +01:00
Andrew Kingston 892088702f Add on change action to S3 upload field 2022-04-14 10:04:38 +01:00
Andrew Kingston 67f94e0cae Add on change action to relationship field 2022-04-14 10:01:14 +01:00
Andrew Kingston f70cab8a6c Add on change action to options field 2022-04-14 09:54:49 +01:00
Andrew Kingston 0c83596a86 Add on change action to multi-select field 2022-04-14 09:51:41 +01:00
Andrew Kingston 417b034676 Add on change action to long form field 2022-04-14 09:49:13 +01:00
Andrew Kingston 5d2c337d5d Add on change action to string field 2022-04-14 09:47:27 +01:00
Andrew Kingston e7ca90cd6b Add on change action to JSON field 2022-04-14 09:47:00 +01:00
Andrew Kingston 3b71c40570 Add on change action to datetime field 2022-04-14 09:46:46 +01:00
Andrew Kingston 8e204ae0b8 Add on change action to boolean field 2022-04-14 09:46:36 +01:00
Andrew Kingston 9b56dcfdfe Add on change action to attachment field 2022-04-14 09:46:24 +01:00
Andrew Kingston 04b299750d Add button actions to update form field values 2022-04-14 09:46:07 +01:00
Mel O'Hagan adfb8d7c56 Only apply to small components (button, headline) 2022-04-13 15:53:26 +01:00
Andrew Kingston f05844192c 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 543578051e 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 43a8efc24d Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-04-07 12:04:13 +01:00
Mel O'Hagan 8d00566703 Move settings bar below element if at very top 2022-04-06 17:31:59 +01:00
Andrew Kingston d91f67ef34 Update spectrum card word wrapping again 2022-04-06 16:05:58 +01:00
Andrew Kingston b528c9fa08 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 c25ca0cafd Tidy up 2022-04-06 13:40:07 +01:00
Andrew Kingston c8e87cf24f Add label for global selected rows bindings in devtools 2022-04-06 13:30:38 +01:00
Andrew Kingston 7c91d9dceb Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-04-06 11:50:43 +01:00
Andrew Kingston fea89488e1 Don't show an error for the endpoint 2022-04-06 08:16:24 +01:00
Andrew Kingston d121aefbaa Reset buttion action output context on each invocation of the action 2022-04-05 14:00:44 +01:00
Andrew Kingston 4b21d4bba0 Merge branch 'develop' of github.com:Budibase/budibase into nord-theme 2022-04-04 12:19:29 +01:00
Andrew Kingston ae7117f744 Fix color and size of chart tooltips 2022-04-04 10:56:06 +01:00
Andrew Kingston 753878c0dd Update chart data labels to white 2022-04-04 09:14:56 +01:00
Andrew Kingston 8e46e4b514 Disable validation for search fields in cards block 2022-04-04 08:49:46 +01:00
Andrew Kingston c0eb27e8d1 Disable validation for search fields in table block 2022-04-04 08:49:16 +01:00
Andrew Kingston 91e35ef816 Add internal setting to fully disable form validation 2022-04-04 08:49:01 +01:00
Andrew Kingston 2e979846c4 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 a194bb7716 Remove button editing class which was used for testing 2022-03-30 09:37:00 +01:00
Andrew Kingston a304aae95c 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 0ee41ea10c Merge branch 'master' into merge-master 2022-03-25 13:10:37 +00:00
Andrew Kingston 9f3a0ce3c9
Merge pull request #5086 from Budibase/continue-if-button-action
'Continue if' button action
2022-03-25 12:29:19 +00:00
Andrew Kingston 78e78523e0 Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-25 12:00:17 +00:00
Dean 32b81a5542 Merge remote-tracking branch 'origin/develop' into feature/map-component 2022-03-25 11:31:45 +00:00
Andrew Kingston 3b632dea85 Fix bug which prevented last marker being removed from the map if deleted 2022-03-25 10:59:45 +00:00
Andrew Kingston ff327423e1 Add 'continue if' button action 2022-03-25 09:26:15 +00:00
Andrew Kingston ec726febf2 Update apex chart tooltips to work in dark themes 2022-03-23 14:21:23 +00:00
Andrew Kingston bd93f150b5 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 e7ff1c4ba9 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-03-23 10:48:49 +00:00
Andrew Kingston 3f75412fb0
Merge pull request #4987 from Budibase/scrollable-component-tree
Scrollable component tree
2022-03-23 10:46:55 +00:00
Andrew Kingston e1878dabc2 Make app dynamic filter component respsonsive 2022-03-22 18:33:41 +00:00
Andrew Kingston c586049043 Update pie chart to be reactive 2022-03-22 17:45:05 +00:00
Andrew Kingston 84cdfa5eac Update line chart to be reactive 2022-03-22 17:44:58 +00:00
Andrew Kingston e1aea10567 Update candlestick chart to be reactive 2022-03-22 17:44:45 +00:00
Andrew Kingston fbebc8aced Update bar chart to be reactive 2022-03-22 17:44:32 +00:00
Andrew Kingston c6cffa15ee Do not update form field value when default value changes to prevent endless loops 2022-03-22 17:28:04 +00:00
Martin McKeaveney 7e5306e1d6
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 733fe1fe3f Update spectrum card word wrapping to allow breaking text anywhere 2022-03-21 12:16:51 +00:00
Martin McKeaveney a6155f7b24
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 199db81ddc
Merge pull request #4821 from Budibase/copy-paste-improvements
Copy paste improvements + extras
2022-03-21 08:25:01 +00:00
Andrew Kingston 34c13db56d Don't attempt to invalidate related datasources when invalidating query datasources 2022-03-18 15:21:24 +00:00
Maurits Lourens 70301010d3 fetch the table which contains info about the primaryDisplay 2022-03-18 14:35:06 +01:00
Andrew Kingston 07be79ee19 Merge branch 'develop' of github.com:Budibase/budibase into feature/map-component 2022-03-16 15:31:10 +00:00
Andrew Kingston b3f1458d8f Update default height of map component 2022-03-16 15:03:13 +00:00
Andrew Kingston e4a8704870 Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-16 15:03:01 +00:00
Andrew Kingston 52c8742067 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 43f7d1607d linting 2022-03-16 10:33:38 +00:00
Peter Clement 96ea66f898 send export file from backend 2022-03-16 10:22:06 +00:00
Andrew Kingston 3fb71f91ef 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 9e96090333 Add map action for map click 2022-03-15 13:25:41 +00:00
Peter Clement 65e857609a fix button action export for csv 2022-03-15 12:03:16 +00:00
Andrew Kingston 1e78ff1463 Add nord theme 2022-03-15 11:20:06 +00:00
Andrew Kingston 2d33b1195e 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 0cb3e5d98d Convert marker popups to tooltips on hover 2022-03-14 11:45:26 +00:00
Dean 4d93d3b76c Minor code styling fix 2022-03-14 09:47:48 +00:00
Dean 3d4c155fb7 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 f760724519 Map refactored and dependency updates 2022-03-11 11:17:15 +00:00
Dean 60dd9b704e Added html escaping package sanitize-html to prevent injection via the map attribution field 2022-03-11 11:06:05 +00:00
Dean 7fede5bd72 Added fix to accomodate a cleared attribution field 2022-03-10 15:48:11 +00:00
Dean 482684c6e7 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