Commit Graph

1257 Commits

Author SHA1 Message Date
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 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 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
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
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 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 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 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 9f60df9ac2 Update apex chart tooltips to work in dark themes 2022-03-23 14:21:23 +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
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 d03dc54efd Update default height of map component 2022-03-16 15:03:13 +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
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
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
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
Andrew Kingston 4ef06ea6c1 Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 13:35:35 +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
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 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 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 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
Andrew Kingston 22bb99357a Remove lodash and sort dependencies out 2022-01-31 09:32:06 +00:00
Andrew Kingston 4b7fe15598 Add experimental support for caching the creation of HBS template functions 2022-01-29 18:53:21 +00:00
mike12345567 223b5a0e16 Fixing dynamic filter modal in client library to include static formula. 2022-01-26 17:49:02 +00:00
Martin McKeaveney 19d27c97a4 code review and merge with develop 2022-01-26 17:45:28 +01: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 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 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 86e0e8acc2 Fix DND throwing errors due to browser API updates 2022-01-20 11:52:29 +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
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
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
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
Andrew Kingston b3dba52d62 Update S3 upload with develop and fix preview URLs 2022-01-13 17:18:24 +00:00
Andrew Kingston 3f2b6db2b2 Merge branch 'develop' of github.com:Budibase/budibase into s3-upload 2022-01-13 17:17:30 +00:00
Rory Powell f055d392b5 Merge branch 'develop' into fix/return-url 2022-01-13 14:11:20 +00:00
Rory Powell b5250ac244 Fix return url using cookies 2022-01-13 14:07:49 +00:00
Andrew Kingston 159c951262 Add S3 presigned request generation and file upload capabilities 2022-01-12 14:59:33 +00:00
Andrew Kingston dfd95f9b83 Add initial work on new S3 upload component and button action 2022-01-11 14:01:21 +00:00
Andrew Kingston e2478e478e Add support for query param based pagination in REST queries 2022-01-05 09:16:10 +00:00
mike12345567 e32869b100 Fixing issue discovered by cypress test case and updating dynamic variable view to hide table when there are none. 2022-01-04 14:41:11 +00:00
Andrew Kingston db55074b0a Merge branch 'develop' of github.com:Budibase/budibase into rest-pagination 2022-01-04 14:34:09 +00:00
mike12345567 18ff7a9cfb Merge branch 'develop' of github.com:Budibase/budibase into feature/query-variables 2022-01-04 12:58:42 +00:00
Andrew Kingston 4cd8886e1a Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2022-01-04 09:48:44 +00:00
Andrew Kingston af00ed88ae Merge branch 'feature/query-variables' of github.com:Budibase/budibase into rest-pagination 2021-12-17 13:12:28 +00:00
Andrew Kingston 78a3f807a3 Lint 2021-12-17 10:43:27 +00:00
Andrew Kingston f90c6ec44d Remove old reference implementation of data provider component 2021-12-17 10:37:26 +00:00
Andrew Kingston 5c26f07d26 Add back in query extension capability to new data provider 2021-12-17 10:37:06 +00:00
Andrew Kingston 66d9dc9b1e Add client-side searching, sorting and limiting for incompatible datasources to new DataFetch model 2021-12-17 09:52:12 +00:00
Andrew Kingston 3a8e217bb7 Delay rendering blocks until the schema has been attempted to be loaded 2021-12-17 09:18:43 +00:00
Andrew Kingston 58e0daeb8c Remove initial render of components with undefined props by passing in initial props without triggering svelte invalidation 2021-12-17 09:18:07 +00:00
Andrew Kingston 86065084c1 Update core component handling to use svelte function to manually control props in order to avoid triggering additional reactive statements and improve performance 2021-12-17 08:22:40 +00:00
Andrew Kingston 63ec10d73f Add new core implementations for fetching data and schema from datasources 2021-12-17 08:22:04 +00:00
mike12345567 858ef084ad Finishing up front-end, getting variable creation and management up and working from within the query schema/header menus. 2021-12-15 19:20:19 +00:00
Andrew Kingston 26d89f75d5 Pass current state to peek modals when opening them via query param 2021-12-15 08:55:22 +00:00
Andrew Kingston 98cd12db5f Proxy state updates back from peek modals 2021-12-14 14:04:10 +00:00
Andrew Kingston d7720e2643 Expose whole form value as a data binding 2021-12-13 09:34:27 +00:00
Andrew Kingston dc7d22e5cb Add support for binding forms to deep json fields 2021-12-10 14:18:01 +00:00
Andrew Kingston 9708539631 Fix blocks not filtering properly on number fields 2021-12-09 19:36:53 +00:00
Andrew Kingston c97852d0ff Fix border radius rounding on hover and selection indicators in builder preview 2021-12-09 17:22:46 +00:00
Andrew Kingston 707ed7419d Reset field value to default value if default value changes 2021-12-09 14:51:19 +00:00
Andrew Kingston 7beaa80759 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-08 13:08:28 +00:00
Andrew Kingston 46cf642abd Add new tag component to client apps 2021-12-08 13:06:15 +00:00
Andrew Kingston 6b20d5cf46 Allow internal links to be opened in a new tab 2021-12-08 09:03:56 +00:00
Andrew Kingston cb1f870831 Key links by URL as the svelte-spa-router link svelte action does not update correctly 2021-12-08 08:35:19 +00:00
Andrew Kingston a5b4087f64 Enable support for handling shallow non-object arrays in JSON fields 2021-12-06 18:12:27 +00:00
Andrew Kingston d10d332b9f Update client side lucene searching to work with nested JSON fields and fix bug with flattening nested JSON schema 2021-12-06 12:04:22 +00:00
Andrew Kingston cd5d370e7b Allow using JSON field arrays as a data provider source and add data bindings for nested JSON fields 2021-12-06 11:41:17 +00:00
Andrew Kingston 1e38628a4b Add new form field component for JSON fields, JSON validation and update autoscreen generation 2021-12-03 09:20:45 +00:00
Andrew Kingston ba9d06df34 Merge branch 'feature/json-backend' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 13:41:58 +00:00
Andrew Kingston eca8423c6b Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 08:48:40 +00:00
Andrew Kingston d2ce037297 Expose static repeater context for row index 2021-11-30 08:47:21 +00:00
Andrew Kingston c81ca0502a Fix layout navigation not scrolling when required 2021-11-29 09:05:46 +00:00
Andrew Kingston 1b3317a114 Add devtools to app preview and add ability to preview apps as different roles 2021-11-26 13:25:02 +00:00
Andrew Kingston 63fac77ad1 Ensure horizontal cards in the card block don't exceed the width of the screen 2021-11-25 11:35:19 +00:00
Andrew Kingston fa9fc496f6 Remove text setting from dynamic filter component 2021-11-24 08:20:23 +00:00
Andrew Kingston 8d44e9aa20 Update dynamic filter component styles and remove lots of settings 2021-11-23 17:40:49 +00:00
Andrew Kingston 4ef99cd603 Add button variant, size and quiet settings to dynamic filter. Allow dyanmic filter button text to be edited inline 2021-11-22 14:48:34 +00:00
Andrew Kingston f12ab5aebd Removing log statement 2021-11-22 14:09:54 +00:00
Andrew Kingston ab7959a32c Fix issue with not correctly removing dynamic filters when clearing all filters 2021-11-22 13:42:09 +00:00
Andrew Kingston 9057b8e521 Update logic for determining whether to show empty state or not 2021-11-18 20:38:55 +00:00
Andrew Kingston bfe562c9ea Update editable components to trim whitespace when editing inline 2021-11-18 20:32:57 +00:00
Andrew Kingston a9a50545c9 Be more explicit about the boolean nature of component settings in the manifest and add back in a render key to fix toggling contenteditable attribute on dom elements 2021-11-18 20:32:42 +00:00
Andrew Kingston a1b2f9d57d Enable dynamic filter component to update data provider queries 2021-11-18 20:32:00 +00:00
Andrew Kingston b7b424b7f8 Add modal container to top level of client apps 2021-11-18 20:31:00 +00:00
Andrew Kingston 33e5e198b7 Refactor how extending data provider queries works to support multiple extensions per key 2021-11-18 18:41:37 +00:00
Andrew Kingston 8f981704d6 Merge branch 'cheeks-lab-day' of github.com:Budibase/budibase into multi-filter-component 2021-11-18 15:58:04 +00:00
Andrew Kingston e35fe3685f Fix default form step context not being a svelte store 2021-11-18 15:57:29 +00:00
Andrew Kingston 34a00df86b Add settings to dynamic filter to control button text and allowed filter fields 2021-11-18 15:43:51 +00:00
Andrew Kingston f77f7c1e5f Add dynamic filter component 2021-11-18 15:36:16 +00:00
Andrew Kingston cd5aaf69cb Remove log statement 2021-11-18 14:47:59 +00:00
Andrew Kingston 8e58cde6ec Fix bug with duplication of fields when re-registering existing fields 2021-11-18 14:43:02 +00:00
Andrew Kingston 9f30599ec1 Make form step number dynamic 2021-11-18 14:42:49 +00:00
Andrew Kingston 347a0d1d0f Fix crash when component definition is not found 2021-11-18 14:24:10 +00:00
Andrew Kingston 5f5ca5fdf7 Allow dynamic re-registration of form field components 2021-11-18 14:18:06 +00:00
Andrew Kingston 9bd01987af Fix issue with data provider query not updating 2021-11-16 17:55:24 +00:00
Andrew Kingston 9420ee2b5e Remove log statements 2021-11-16 17:52:14 +00:00
Andrew Kingston 76579e5968 Refactor some app components to remove dependency on static props 2021-11-16 17:52:00 +00:00
Andrew Kingston 427bb01e51 Update table to handle dynamic data provider prop 2021-11-16 17:51:05 +00:00
Andrew Kingston a2b9fb3434 Update forms to handle a dynamic schema prop 2021-11-16 17:42:27 +00:00
Andrew Kingston f61d89436b Optimise core memoization of client component props to improve performance significantly 2021-11-16 16:29:31 +00:00
Andrew Kingston 6ca6eb0d4b Refactor how client app actions programmatically mutate data provider queries to allow for correctly handling removal of query extensions 2021-11-16 16:28:48 +00:00
Andrew Kingston 5021f3df47 Ensure button is focused when starting to edit text 2021-11-16 13:22:31 +00:00
Andrew Kingston ce75b8c9a7 Disable drag and drop for components in the selected path when edit mode is enabled to fix firefox issue with text selection when draggable attribute is set 2021-11-16 13:17:34 +00:00
Andrew Kingston 96fdcb6d93 Remove focus style on contenteditable components in chrome 2021-11-16 11:47:03 +00:00
Andrew Kingston 07e455257c Prevent dragging of a component while being edited 2021-11-16 11:46:46 +00:00
Andrew Kingston 2adbaea026 Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Andrew Kingston 7a1b22ef5f Rename data block to repeater block 2021-11-15 18:07:51 +00:00
Andrew Kingston f47112e7de Be even more explicit about expecting an array data type for data provider rows 2021-11-15 12:26:13 +00:00
Andrew Kingston c922f4a7b9 Replace manual usage of square brackets with string-templates makePropSafe util 2021-11-12 15:28:08 +00:00
Andrew Kingston df455c2719 Add data block component 2021-11-12 15:19:25 +00:00
Andrew Kingston c4bbaa6617 Allow blocks which take children to work with DND 2021-11-12 15:18:55 +00:00
Andrew Kingston aaa448cca8 Update settings bar to account for new block settings structure 2021-11-12 14:48:53 +00:00
Andrew Kingston 3db35d3af9 Enable data providers to use array and attachment fields as their source 2021-11-12 13:42:55 +00:00
Andrew Kingston 862bf14268 Rename blocks to be shorter 2021-11-10 15:56:51 +00:00
Andrew Kingston 5302c85f49 Refactor all block link settings to be URLs rather than onclick handlers. Add settings for linking card titles in card list blocks 2021-11-10 15:52:36 +00:00
Andrew Kingston b72270c401 Merge pull request #3311 from Budibase/block-search-improvements
Improve block searching
2021-11-10 12:08:10 +00:00
Andrew Kingston 1ea8563046 Update block search so that string fields do a 'starts with' search rather than an exact match 2021-11-10 11:48:02 +00:00
mike12345567 f8e790bd2f Merge branch 'develop' of github.com:Budibase/budibase into feature/mssql-plus 2021-11-09 11:20:17 +00:00
Andrew Kingston 8e0b265815 Merge pull request #3249 from Budibase/blocks
Core blocks implementation + table with search block
2021-11-08 20:46:21 +00:00
mike12345567 b310918ec4 Fixing #3182 so that sorting is disabled for certain column types that we cannot use, as well as fixing some issues with MS-SQL plus tables. 2021-11-08 17:25:05 +00:00
Andrew Kingston 9883fdb623 Fix card list block empty state and update size 2021-11-08 16:40:45 +00:00
Andrew Kingston 37c2690a31 Fix card button text potentially showing as undefined 2021-11-08 14:51:13 +00:00
Andrew Kingston a7849eac7d Add card list with search block. Add concept of nested settings which can consume their own contexts and are not enriched at the top level 2021-11-08 14:35:58 +00:00
Andrew Kingston d5002d3dda Add ability to link rows in tables, and link rows in the table with search block 2021-11-05 12:38:33 +00:00
Martin McKeaveney 193d40bbf3 refactor switch into a key value handler object
tidy up - remove logs and comments

update windowed modals to use postMessage
2021-11-04 17:21:17 +01:00
Andrew Kingston adda702588 Add button to table with search block and support defining multiple settings sections in component manifest entries 2021-11-04 11:30:43 +00:00
Andrew Kingston 4019eeaa26 Fix picker width in table with search block and enable autosizing of other search components 2021-11-03 15:53:45 +00:00
Andrew Kingston 512ed5aa2a Add support for tables updating server-side sorting 2021-11-03 15:26:15 +00:00
Andrew Kingston d054d496be Allow table with search block to render correct components for all relevant field types 2021-11-03 11:58:06 +00:00
Andrew Kingston fcf87956de Standardise fetching schema from client apps to fix issues with determing schema for certain data sources 2021-11-03 11:57:47 +00:00
Andrew Kingston 76c0f24977 Simplify some block logic 2021-11-02 12:58:38 +00:00
Andrew Kingston e43aba075e Comment some parts of blocks implementation for clarity 2021-11-02 08:58:50 +00:00
Andrew Kingston 0f1d9c4de3 Add title setting to table with search block and fix import paths 2021-11-02 08:51:48 +00:00
Andrew Kingston 38eacb5a10 Remove old files and tidy up 2021-11-02 08:47:19 +00:00
Andrew Kingston e6ffccaff7 Add generic block structure with support for writing blocks like normal svelte components rather than a JSON builder 2021-11-02 08:45:27 +00:00
Andrew Kingston e9dd47b562 Add initial structure of table with search block 2021-11-01 17:18:38 +00:00
Andrew Kingston 04bbbd7873 Add in-preview editing for all field labels 2021-10-28 16:31:22 +01:00
Andrew Kingston c48a56b997 Fix issue editing components in the preview when nested inside another draggable component 2021-10-28 15:52:07 +01:00
Andrew Kingston 387831b799 Add in-preview editing of buttons and add settings bar for buttons 2021-10-28 15:29:48 +01:00
Andrew Kingston 234f53d37a Focus contenteditable node when starting editing a component in the preview 2021-10-28 13:28:43 +01:00
Andrew Kingston 7910b6a40f Add in-preview editing of link text and improve placeholder usage when combined with in-preview editing 2021-10-28 13:20:04 +01:00
Andrew Kingston de163567f5 Move keyboard handling into client library so that component deletion via keyboard can reference client app state 2021-10-28 13:00:55 +01:00
Andrew Kingston b522726afc Allow in-preview editing of paragraphs and headings 2021-10-28 12:43:31 +01:00
Andrew Kingston 25bafc15d2 Use explicity onDestroy calls rather than an onMount return value to ensure callbacks are actually executed to fix data provider cleanup issues 2021-10-27 14:24:36 +01:00
Andrew Kingston 54aad2ff1e Update field disabled state when disabled prop changes 2021-10-26 11:05:48 +01:00
Andrew Kingston 555742ead1 Merge pull request #3083 from Budibase/fix/date-sorting
Fix date format of dates created with Flatpickr (the date picker in apps)
2021-10-20 13:20:26 +01:00
Andrew Kingston 950e056e1c Give flatpickr its own root component in client apps to avoid it hijacking key events on the whole page 2021-10-19 15:11:14 +01:00
Andrew Kingston 9deb9be1cd Remove date parsing from client date picker as it has moved to the core date picker 2021-10-18 17:12:02 +01:00
Rory Powell 956a826b8c Merge branch 'develop' into options-text-columns 2021-10-18 11:25:35 +01:00
Rory Powell 346f1d652b Allow options picker to be used on text columns 2021-10-14 16:36:45 +01:00
Andrew Kingston 06c46dd3a7 Fix issue with button roundness when using other sizes than medium 2021-10-14 10:43:17 +01:00
Martin McKeaveney 1d55b5ece2 adding made in budibase tag 2021-10-07 20:57:50 +01:00
Andrew Kingston fe35d08422 Fix drag and drop indicator positioning when not using desktop preview 2021-10-06 13:59:25 +01:00
Andrew Kingston f6a18ca550 Fix padding being added to empty layouts in mobile view 2021-10-06 13:33:37 +01:00
Martin McKeaveney 6f5567b4b6 merge with develop 2021-09-30 16:05:06 +01:00
Martin McKeaveney 13a07a5e51 end user ping for client apps 2021-09-30 15:03:57 +01:00
Martin McKeaveney 8c65d45c23 Merge branch 'develop' into dnd 2021-09-30 14:56:23 +01:00
Andrew Kingston ec7cf96fd9 Move all lucene logic into central builder helpers file 2021-09-27 12:59:49 +01:00
Andrew Kingston 0297b3de3f Simplify some DND style rules 2021-09-21 08:47:43 +01:00
Andrew Kingston eeb0617d2b Enable left/right side targetting for DND 2021-09-21 08:36:02 +01:00
Andrew Kingston dc3df10c58 Reduce DND snap to edge threshold to prevent unwanted target spamming on the edges of the parent component 2021-09-20 16:11:42 +01:00
Andrew Kingston 495c20f851 Simplify client app component re-render keying 2021-09-20 15:41:20 +01:00
Andrew Kingston 9febe391bb Refactor DND labels to before and after rather then above and below 2021-09-20 15:35:27 +01:00
Andrew Kingston 488ec4d988 Refactor client app data tags to be classnames and simplify logic 2021-09-20 15:34:51 +01:00
Andrew Kingston 10f754a9ad Remove preview specific data tags from components when running real apps 2021-09-20 12:16:23 +01:00
Andrew Kingston 9ca0aeae8e Fix spectrum button not being able to be dragged 2021-09-20 12:14:40 +01:00
Andrew Kingston e19d17c4f5 Prevent DND targetting either above or below the screen/layout, and fix bug determinging whether a drop target is valid 2021-09-20 09:12:35 +01:00
Andrew Kingston 8cf3971b47 Only allow dropping inside empty components that accept children to massively reduce the amount of unwanted drop targets due to parent container components 2021-09-20 08:26:44 +01:00
Andrew Kingston f0dde4a4a4 Fix a few possible crashes by dragging in certain ways, and display on screen when an invalid drop target is hovered over 2021-09-20 08:06:01 +01:00
Andrew Kingston 54bf420ef8 Apply grab cursor when hovering over a draggable component 2021-09-17 14:30:54 +01:00
Andrew Kingston 7eeb215e51 Refactor to use generic flag for dragging and hide settings bar when dragging 2021-09-17 14:17:50 +01:00
Andrew Kingston cb04b3fa7d Ensure hover indicator is correctly hidden when using DND and improve DND labels 2021-09-16 16:02:45 +01:00
Andrew Kingston 601a4935a9 Ensure transitions work properly when showing and hiding DND candidate positions 2021-09-16 15:49:58 +01:00
Andrew Kingston 46867b8a19 Add labels to DND to describe where the component will be dropped 2021-09-16 15:08:42 +01:00
Andrew Kingston bdc86e4c22 Add above/below dnd and support for dropping above/below components which also allow dropping inside 2021-09-16 14:28:44 +01:00
Andrew Kingston 5c37238c8a Fix progress circle never animating because of wrong default prop 2021-09-16 14:11:05 +01:00
Andrew Kingston 97800563c4 Prevent dragging the screen or layout components, and prevent dragging any layout components when previewing a screen 2021-09-16 07:52:49 +01:00
Andrew Kingston 0ce0f5c823 Add initial DND implementation with working functionality for dropping inside components 2021-09-16 07:28:59 +01:00
Andrew Kingston 87aa4b18b1 Merge pull request #2597 from Budibase/fix-left-nav
Small fixes for navigation bar
2021-09-13 15:04:47 +01:00
Andrew Kingston a50cb91934 Merge pull request #2584 from Budibase/horizontal-bar-chart
Add horizontal bar chart setting
2021-09-13 11:41:26 +01:00
Andrew Kingston 796c65bf5c Fix 1px offset with left nav bar 2021-09-10 16:36:59 +01:00
Andrew Kingston cc0c0104fe Fix custom theme integration with date time field 2021-09-10 16:36:43 +01:00
Andrew Kingston 2820b6adef Fix left navigation in layouts when on a tablet sized resolution 2021-09-10 15:13:48 +01:00
Andrew Kingston 5dcdb2dcb8 Update validation so that 'minimum' and 'minimum length' contraints both accept null values 2021-09-10 14:30:10 +01:00
Andrew Kingston b7ef51e6f5 Add horizontal bar chart setting 2021-09-09 19:28:37 +01:00
Andrew Kingston a1615055c3 Rename client app wrapper divs for clarity 2021-09-08 10:28:19 +01:00
Andrew Kingston 5d305bb8e7 Use correct component to determine device size 2021-09-08 10:22:48 +01:00
Andrew Kingston a6106ac0e1 Fix issue with endless scrolling when previewing a mobile device 2021-09-08 10:22:34 +01:00
Andrew Kingston 8572224688 Revert preview border to 1px and fix exact size of preview on different devices 2021-09-08 09:51:08 +01:00
Andrew Kingston 4d06d682d8 Add support for correct mobile and tablet previews 2021-09-08 09:40:25 +01:00
Andrew Kingston e1d102c0c3 Update position of indicators in preview to clip better 2021-09-08 09:40:02 +01:00
Andrew Kingston 363998a2af Fix button theming and add nav text theming 2021-09-06 16:23:12 +01:00
Andrew Kingston d1e3dda05f Add custom theme options for button roundedness and header color 2021-09-03 15:28:35 +01:00
Andrew Kingston 8ab0fc2d7f Ensure defaults are set for custom theming and fix a few inconsistencies 2021-09-03 14:43:21 +01:00
Andrew Kingston 3ee1d3e8e4 Add custom theming to icons 2021-09-03 11:53:25 +01:00
Andrew Kingston e7d1ed3114 Add custom theming for primary color and primary hover color to form components 2021-09-03 11:50:09 +01:00
Andrew Kingston 04a26f3344 Hide state action in old apps and add working basic implementation of theming 2021-09-02 11:38:41 +01:00
Andrew Kingston 551eb629b4 Merge branch 'develop' of github.com:Budibase/budibase into custom-theming 2021-09-01 16:10:36 +01:00
Andrew Kingston 047cd4ea88 Merge standard-components into the client library 2021-09-01 11:41:48 +01:00
Andrew Kingston 9369e8b375 Add client app state and button actions to control it 2021-08-26 11:28:44 +01:00
Andrew Kingston 796dc24b06 Show component hidden by conditional UI if they would otherwise hide the selected component 2021-08-23 14:01:57 +01:00
Andrew Kingston 08171c1e68 Fix dependency loop in client stores 2021-08-20 09:27:38 +01:00
Andrew Kingston 2f05450d79 Ensure client preview indicator doesn't crash when encountering incorrect node types 2021-08-19 12:52:13 +01:00
Andrew Kingston 473f18d510 Tidy up device bindings provider 2021-08-13 11:34:11 +01:00
Andrew Kingston 47ca925003 Add global data bindings for mobile and tablet device sizes 2021-08-13 11:24:47 +01:00
Martin McKeaveney df927e3feb merge with master 2021-08-04 13:20:11 +01:00
Andrew Kingston e88e1da2af Fix going full-screen when opening an external link in a modal 2021-08-03 12:22:06 +01:00
Andrew Kingston 2eba603ad8 Darken modal underlay and add actions above screen modal to allow entering full screen or closing 2021-08-03 12:02:20 +01:00
Andrew Kingston 33431a5edc Rename visual actions from 'peek' to just 'open' screen in modal 2021-08-02 15:50:59 +01:00
Andrew Kingston def7f7a949 Add action to close peek modal and proxy notifications from the iframe 2021-08-02 15:12:38 +01:00
Andrew Kingston 8e82a0efd9 Revert to a cleaner modal with no title or buttons for screen peeking 2021-07-30 18:16:37 +01:00
Andrew Kingston 952c27058a Make full screen button quiet in peek modals 2021-07-30 14:13:43 +01:00
Andrew Kingston e5418deb89 Add initial work on peeking screens, only show one notification at a time, use spectrum notifications 2021-07-30 14:01:01 +01:00
Andrew Kingston 10d64456a2 Add back in client app border only when inside builder preview 2021-07-30 10:06:16 +01:00
Martin McKeaveney 5c51d3bd80 remove border around app 2021-07-28 22:50:27 +01:00
Andrew Kingston 73643793c9 Simplify logic for determine default visibility for a conditional UI component 2021-07-26 13:16:45 +01:00
Andrew Kingston 204de7c4d3 Add initial work on dynamically updating any setting via conditional UI 2021-07-22 19:19:37 +01:00
Andrew Kingston 5e5332cd4f Add initial work on evaluation of conditional UI conditions in client library 2021-07-21 14:03:49 +01:00
Andrew Kingston 9542910a41 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 11:48:38 +01:00
Andrew Kingston ab4e71c1a4 Improve handling of permission issues and routing issues, and add an error fallback message 2021-07-07 11:29:35 +01:00
Andrew Kingston 07ea6469fd Add error handling to builder preview and loading indicator 2021-07-07 11:10:23 +01:00
Andrew Kingston 3e63c276dd Update colors of selection and hover indicators in client apps 2021-07-05 09:37:06 +01:00
Andrew Kingston ca032aa6fe Update colours of selection indicators 2021-06-30 21:23:55 +01:00
Andrew Kingston a41b376999 Fetch and use app theme in real client apps 2021-06-30 20:35:02 +01:00
Andrew Kingston 3b23d55685 Add custom scrollbars to client apps 2021-06-30 19:57:31 +01:00
Andrew Kingston ccb48a642f Set light as default app theme 2021-06-30 19:41:09 +01:00
Andrew Kingston 9b9bda1fb4 Add error handling to builder preview and loading indicator 2021-06-30 19:37:03 +01:00
Andrew Kingston 6bfcb3fc2b Add better theme compatibility to color picker and client app components 2021-06-30 08:30:57 +01:00
Andrew Kingston f2be9501d3 Add global app theme picker and use it in client preview 2021-06-28 12:55:11 +01:00
Andrew Kingston be2ec9b427 Aggressively optimise client library to prevent handlebars enrichment where possible 2021-06-25 15:04:27 +01:00
Andrew Kingston 5fb09deb48 Be more explicit about hiding overflow at the top levels of an app 2021-06-24 12:14:19 +01:00
Andrew Kingston 098131099d Add new typography settings, add new settings bar dropdowns, add settings bar to text components 2021-06-23 14:21:37 +01:00
Andrew Kingston 785f724dda Use action name as confirmation modal title 2021-06-21 10:46:55 +01:00
Andrew Kingston 1879fbeee3 Add support for confirmable action handling by client library 2021-06-21 09:56:46 +01:00
Andrew Kingston be03bbe5bc Remove transition setting from components 2021-06-18 12:41:15 +01:00
Andrew Kingston 1890dfed29 Adjuts top position of settings bar when no room 2021-06-17 16:23:17 +01:00
Andrew Kingston 5a6a40a80c Key client layout component to ensure fully remounting when swapping layouts in the builder preview 2021-06-17 13:20:29 +01:00
Andrew Kingston ad28ea4855 Move scrolling to layout level and provide opinionated defaults 2021-06-14 18:24:02 +01:00
Andrew Kingston 4a3c480b26 Prevent hovering over layout components when editing screens 2021-06-11 13:34:37 +01:00
Andrew Kingston 63c3310a8f Move HoverIndicator mouseleave handler to body element for better detection rates 2021-06-11 13:17:38 +01:00
Andrew Kingston ca88e2abe1 Allow user styles to override placeholder styles 2021-06-11 09:14:22 +01:00
Andrew Kingston f76898d80e Add manifest option to prevent showing component empty states 2021-06-11 08:49:06 +01:00
Andrew Kingston 7e8e482f8f Improve component empty states and fix selection indicator lockup bug. Fix data provider not exporting loaded context 2021-06-11 08:45:58 +01:00
Andrew Kingston 79993bafda Add placeholders and empty states automatically as required to any empty client components 2021-06-11 08:05:49 +01:00
Andrew Kingston 65d6216d33 Refactor client component structure, fix select bar z index, add titles to container bar settings 2021-06-10 18:42:41 +01:00
Andrew Kingston da72a079ae Use IntersectionObservers to determine visibility of selected and hovered components 2021-06-10 15:13:51 +01:00
Andrew Kingston fc80979653 Fix indicator border radius style when flipped 2021-06-10 09:20:17 +01:00
Andrew Kingston 8576166d03 Hugely improve performance of selection and highlight indicators in builder preview 2021-06-10 09:05:08 +01:00
Andrew Kingston 4138103f68 Improve client app overflow and selection indicators 2021-06-08 15:16:37 +01:00
Andrew Kingston 65e7453fbf Render builder preview selection indicators via top level component instead of via styleable healper. Add indiciator on hover and add name to indicator 2021-06-08 14:19:03 +01:00
Andrew Kingston c41f57861c Make settings bar spectrum compatible 2021-06-08 08:14:50 +01:00
Andrew Kingston 888f6cf398 Move settings bar into client library and allow configuration from manifest.json 2021-06-08 08:00:54 +01:00
Andrew Kingston a22fd8a0a1 Improve client performance and add action to control data provider queries 2021-06-01 14:59:42 +01:00
Andrew Kingston 6c960dd9e2 Replace font-weight 500 with 600 as source sans pro does not have a 500 weight, and update autoscreens and templates to use source sans pro 2021-05-25 10:11:41 +01:00
Andrew Kingston 74a8eb4c1a Redirect to login from client apps when required 2021-05-20 14:47:17 +01:00
Andrew Kingston 81e9f5b860 Wrap whole client app in spectrum classes to reduce dependency on spectrum wrapper around any spectrum components in client app 2021-05-13 16:32:52 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston c010eeb314 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
Andrew Kingston 6e29423d4d Add data provider component and refactor component setting types 2021-03-16 13:54:34 +00:00
mike12345567 68735f1b4f Formatting. 2021-03-10 17:56:16 +00:00
Kevin Åberg Kultalahti ef84e2abcb Merge pull request #1232 from Budibase/feature/standard-components-transitions
Adds transition setting in the design panel on container component
2021-03-03 13:12:48 +01:00
Keviin Åberg Kultalahti 839ca7f8ba removes unneeded styles and html in Screen component 2021-03-01 16:56:28 +01:00
Keviin Åberg Kultalahti ba7cc5c479 screens can now select a transition rather than only use fade 2021-03-01 16:53:37 +01:00
Keviin Åberg Kultalahti cda7c7f4c1 moves the transition setting to the design panel 2021-03-01 16:46:05 +01:00
Andrew Kingston d27dff0261 Make user data source refreshable in client apps 2021-02-26 14:04:31 +00:00
Andrew Kingston ec94aaa90b Merge branch 'develop' of github.com:Budibase/budibase into url-context 2021-02-16 15:35:05 +00:00
Andrew Kingston 2e9122ca81 Fix reactive store derivation overriding actions 2021-02-10 19:42:56 +00:00
Andrew Kingston 3ffe00fe2f Make URL params available to client apps via context 2021-02-10 15:49:23 +00:00
Andrew Kingston 2c125bc671 Ensure client data contexts are correctly updated if a parent context is updated 2021-02-09 12:41:21 +00:00
Andrew Kingston c0555745e1 Automatically refresh data when related data changes 2021-02-05 16:16:41 +00:00
Andrew Kingston 6bdde675a2 Add button action to refresh a datasource 2021-02-05 12:54:36 +00:00
Andrew Kingston 5846e2ef7c Change how client provides the current user so that the whole app is actually wrapped in a provider which provides the current user 2021-02-05 11:44:33 +00:00
Andrew Kingston 9c0e417408 Add custom component actions. Simplify client context. Add form validation action 2021-02-01 18:51:22 +00:00
Andrew Kingston e0b6e78f72 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-29 16:59:24 +00:00
Andrew Kingston a4de9668ed Add attachment field to forms 2021-01-29 13:22:38 +00:00
Andrew Kingston 9d870dbccc Add current user bindings, and current user relationships as data sources 2021-01-28 14:29:35 +00:00
Andrew Kingston b8fb2ba43c Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-27 18:28:17 +00:00
Martin McKeaveney 0f18ee70ef actions fix 2021-01-27 17:29:30 +00:00
Andrew Kingston 6631fe2af8 Update builder preview to be interactive and improve builder preview experience 2021-01-27 15:52:12 +00:00
Andrew Kingston 5bec329581 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-26 09:11:43 +00:00
Andrew Kingston fb9eed625c Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-25 11:19:29 +00:00
Keviin Åberg Kultalahti 2a9ae62834 switches context to use sdk instead of it's own context 2021-01-25 08:43:28 +01:00
Keviin Åberg Kultalahti 67afb1678f adds smooth removal of notifications using animate:flip 2021-01-22 13:05:52 +01:00
Keviin Åberg Kultalahti 91e88d2025 removes unused context in Component 2021-01-22 12:47:43 +01:00
Keviin Åberg Kultalahti bafd229716 minor fixes 2021-01-22 12:44:23 +01:00
Keviin Åberg Kultalahti e411ac5b3d Merge branch 'master' into feature/client-feedback-component 2021-01-22 12:34:16 +01:00
Keviin Åberg Kultalahti 0e1142b3cc adds notification toast capability to the client 2021-01-22 12:31:56 +01:00
Keviin Åberg Kultalahti 65652e1c14 finishes notificationStore 2021-01-22 12:21:44 +01:00
Andrew Kingston 343687cbab Stop component crashing if children don't exist 2021-01-22 11:08:42 +00:00
Andrew Kingston 4188761ea6 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-22 11:07:27 +00:00
mike12345567 db5ce51c67 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-22 10:49:03 +00:00
Keviin Åberg Kultalahti ca9f979105 first pass at custom store to handle notifications 2021-01-22 11:37:34 +01:00
Keviin Åberg Kultalahti 260213e468 switch name 2021-01-22 10:42:15 +01:00
Keviin Åberg Kultalahti e3b4ef81ae adds dummy errorStore to client lib 2021-01-22 10:24:43 +01:00
Andrew Kingston 9978d0707d Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:31:45 +00:00
Andrew Kingston ce6d89bc5c Only update components when their props actually change 2021-01-21 10:41:30 +00:00
Andrew Kingston 976517e028 Update client library to handle async enrichment 2021-01-20 13:49:41 +00:00
kevmodrome 84450d0323 adds a empty state for no components added in the repeater 2021-01-19 15:21:23 +01:00
Andrew Kingston 9b035df33e WIP component management and definition refactor 2021-01-12 20:00:35 +00:00
Andrew Kingston a40bf95c41 Enable selecting components from the builder preview and apply any custom styles 2021-01-06 10:13:30 +00:00
Andrew Kingston 84e1f54fa0 Improve navigation when logging in and out, remove need to hard reload the page and replace with smooth transitions 2020-12-11 14:24:19 +00:00
Andrew Kingston 13a137ecd1 Update client app to work with layouts when running inside builder preview 2020-12-02 18:10:46 +00:00
Martin McKeaveney 13824dcf09 merge 2020-12-02 14:15:07 +00:00
Andrew Kingston ce2bff5bab Move selection highlighting in builder preview in to client library and replace handlebars with mustache again 2020-12-02 13:49:24 +00:00
Martin McKeaveney 33c40063af layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
Andrew Kingston a54dd9509f Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
Andrew Kingston 48a5a50e85 Optimise builder preview speed and performance and fix components not updating when changing props 2020-11-30 12:11:50 +00:00
mike12345567 55aecdd850 Some further work after testing, really need to get the backlink of screens to layouts functional. 2020-11-27 16:36:31 +00:00
Andrew Kingston c962ea9ad9 Fix charts not correctly using data context 2020-11-25 18:43:58 +00:00
Andrew Kingston 07229858c8 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +00:00
Andrew Kingston 1e857f101a Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
Andrew Kingston 199c3409c9 Simplify data contexts 2020-11-24 11:28:31 +00:00
Andrew Kingston be4106eae4 Add component data binding and simplify context sharing 2020-11-24 11:02:10 +00:00
Andrew Kingston 18a0f3888b Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
Andrew Kingston b3cd81d832 Fix builder preview 2020-11-23 11:29:24 +00:00
Andrew Kingston 093d7f95b9 Tidy up data binding 2020-11-20 10:49:39 +00:00
Andrew Kingston 1b0fa94dff Add support for full depth data binding 2020-11-20 09:50:10 +00:00
Andrew Kingston 9c30ab2df3 Fetch app definition and routes from the server 2020-11-19 18:39:22 +00:00
Andrew Kingston 3dcd9d32e2 Fix fetching of relationship data in lists 2020-11-19 13:50:20 +00:00
Andrew Kingston e9fc20696b Fix data binding after file rename 2020-11-19 09:31:49 +00:00
Andrew Kingston 261ae68907 Add data binding enrichment 2020-11-19 09:24:58 +00:00
Andrew Kingston 1a8d781c8c Refactor entire SDK into client lib and enable svelte context sharing between client and components 2020-11-18 19:18:18 +00:00
Andrew Kingston 65610fde3c Remove log statements 2020-11-17 12:09:02 +00:00
Andrew Kingston e11656fa24 Add lots of new work on client library rewrite 2020-11-17 12:08:24 +00:00
Andrew Kingston 3a981ac256 Add initial new routing and svelte client app generation 2020-11-13 15:42:32 +00:00