Commit Graph

455 Commits

Author SHA1 Message Date
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
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
meng xiong hiu e9d8229b37 Expose option to limit amount of uploads in attatchment field 2022-05-25 21:15:23 +08: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
Dean 253642ad1f Refactored the approach to builder focus. Extending the behaviour beyond form fields 2022-05-23 16:12:56 +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
Andrew Kingston 08a98b4b95 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-17 12:59:15 +01:00
Rory Powell 0d9147be77 Merge branch 'master' into merge-master 2022-05-17 08:35:29 +01:00
Martin McKeaveney d68b695d62 Merge pull request #5855 from Budibase/feature/fill-app-name-on-create
Feature/fill app name on create
2022-05-16 17:38:33 +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
Dean ef333f14d1 packages/bbui/src/Form/Core/TextField.svelte 2022-05-16 11:30:20 +01:00
Dean 2fe7581dd3 Merge remote-tracking branch 'origin/develop' into feature/fill-app-name-on-create 2022-05-16 09:08:33 +01:00
mike12345567 049bb5bd9c Addresses #5731 - offset the UTC offset in ISO strings to allow date only columns in external DBs to save the correct date when in a timezone differing from UTC. 2022-05-13 23:44:56 +12:00
Dean f78bcdacea App name autofill on create. Initial cypress tests added for importing an application file with a sample fixture 2022-05-12 17:04:05 +01:00
Andrew Kingston 68b20b69d4 Auto focus search input when adding component 2022-05-10 18:48:43 +01:00
Mel O'Hagan 6adb8fdc32 Added MultiSelect Checkboxes 2022-05-10 15:16:13 +01:00
Andrew Kingston 316d5d682f Improve role colours and ordering 2022-05-10 14:02:00 +01:00
Andrew Kingston 8de67e17f4 Allow status lights to be added to pickers 2022-05-10 13:32:09 +01:00
Mel O'Hagan 516d163ea2 Close picker on click of listbox 2022-05-10 13:16:21 +01:00
Andrew Kingston 8467e6109a Fix datepicker not working when toggling disabled state 2022-05-10 11:25:48 +01:00
Andrew Kingston 1f38cbbba9 Add theme slider and completed theme panel to new design UI 2022-05-09 09:39:44 +01:00
Andrew Kingston 084d93616b Update select option icons to use spectrum icons rather than images 2022-04-26 09:51:38 +01:00
Dean 1c010c0b5b Removed step that alters the picker date on change for time only fields 2022-04-04 14:55:43 +01:00
Dean 770afb6ef9 Removed unused variable 2022-04-04 12:13:13 +01:00
Dean b8f843ebb2 Fixes for date/time picker issue. 2022-04-04 11:51:52 +01:00
Andrew Kingston eae947e43f Don't show checkbox label if no label specified 2022-02-24 09:12:14 +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 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 587a260c2b Improve text area and long form height settings 2022-02-07 12:04:21 +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
mike12345567 984950b945 Adds alignment to long form and string fields as per #3374. 2022-02-03 19:13:56 +00:00
Andrew Kingston a0c3ee1c8b Add support for disabling rich text fields 2022-02-03 14:28:15 +00:00
Andrew Kingston 0005b05829 Add error border when rich text field fails validation 2022-02-03 14:08:30 +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 0b7dbebe5c Update markdown viewer and editor BBUI components 2022-02-02 21:22:49 +00:00
Andrew Kingston 0892a1db59 Add new rich text component to BBUI 2022-02-02 15:17: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
mike12345567 f9c7877e02 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-31 15:21:15 +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 e3258a0caf Add helpers into BBUI rather than frontend core and fix A11y issue 2022-01-20 10:14:39 +00:00
mike12345567 249b10a605 Adding in static/dynamic select, as well as the ability to set a tooltip on a select. 2022-01-19 18:33:58 +00:00
Maurits Lourens a4fea9ab3c add extensions prop to specify accepted file extensions 2022-01-18 17:17:31 +01:00
Andrew Kingston b3dba52d62 Update S3 upload with develop and fix preview URLs 2022-01-13 17:18:24 +00:00
Peter Clement 841feac5fa Merge pull request #3737 from Budibase/feature/home-screen-redesign
Home Screen Redesign
2021-12-15 09:47:03 +00:00
Peter Clement feacfb922f re-add status lights for app row 2021-12-09 10:10:16 +00:00
Peter Clement 14213006e0 add option to change icon / colour 2021-12-08 18:51:24 +00:00
Rory Powell 8df37dae85 Merge branch 'develop' into feature/rest-redesign 2021-12-08 12:36:12 +00:00
Rory Powell 379b8cecc0 Merge branch 'master' into develop 2021-12-08 12:07:06 +00:00
Andrew Kingston b8b66b0c07 Remove unnecessary optional chaining 2021-12-08 09:47:43 +00:00
Andrew Kingston a90cfc3e73 Coerce picker option labels to string to fix bug when using autocomplete with numeric labels 2021-12-08 09:45:50 +00:00
mike12345567 5936fe0f5f Adding all response capabilities. 2021-12-06 17:39:51 +00:00
mike12345567 e064237981 Adding in last components of UI that were missing. 2021-12-03 18:39:05 +00:00
mike12345567 740abf8445 Adding radio group of body types. 2021-12-02 17:53:14 +00:00
Rory Powell 9d5866e747 Fix datasource selection after import and add maxmimum files support to dropzone 2021-12-02 16:51:13 +00:00
mike12345567 a0c3b0b8ce Updating key value store to allow adding an activity toggle. 2021-12-02 11:53:51 +00:00
Rory Powell 71ba024974 WIP: Rest API import 2021-11-25 17:14:07 +00:00
Andrew Kingston 24a700f391 Add readonly prop to combobox 2021-11-23 16:40:31 +00:00
mike12345567 ea0000df51 Updating UI to have a table/column deletion check which makes sure the user understands what they are doing, also disabling external table deletion. 2021-11-22 15:26:24 +00:00
Andrew Kingston 86731ee5d4 Broadcast specific events for picking or typing to update the value in a combobox 2021-11-10 11:23:35 +00:00
Andrew Kingston 294dd232bc Revert changes to medium sized checkbox 2021-11-03 16:17:45 +00:00
Andrew Kingston 08de9c0b45 Fix spectrum bug with larger checkboxes 2021-11-03 11:02:59 +00:00
Andrew Kingston 979801be4e Remove log statement in datepicker 2021-10-21 13:52:30 +01:00
Andrew Kingston 906f171ef2 Scope picker transition to avoid weird behaviour when unmounting 2021-10-21 13:36:33 +01:00
Andrew Kingston 7924a69016 Fix usage of binding values to datepickers 2021-10-19 14:04:12 +01:00
Andrew Kingston 50154ece31 Add date parsing to core date picker and ensure values are always broadcast as ISO strings 2021-10-18 17:11:12 +01:00
Andrew Kingston b45777bd66 Update svelte-flatpickr and disable flatpickr attempting to use native datepickers on mobile, to fix mobile support 2021-10-04 14:50:02 +01:00
Andrew Kingston 1b3cd1a2a4 Add inputmode attribute for number inputs 2021-10-01 11:15:15 +01:00
Maurits Lourens 19f5a9c51e set appendTo to undefined, because FlatPicker checks for !== undefined 2021-09-17 15:06:53 +02: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 cb46e763d3 Making picker sorting optional and default to off. Sort by default for client apps 2021-08-20 10:03:21 +01:00
Andrew Kingston c945fc650d Add stepper component to bbui for numeric values 2021-08-18 11:32:39 +01:00
Maurits Lourens eb383f68bc implement review comments 2021-08-17 19:57:11 +02:00
Maurits Lourens 6aaf73788d implement review comments 2021-08-17 15:13:57 +02:00
Maurits Lourens 62f7676cdf add autocomplete component and make it optional for optionsField and relationshipField 2021-08-16 23:31:51 +02:00
Andrew Kingston 73def04951 Merge pull request #2344 from Budibase/ak-fixes
Fixes and features for various issues
2021-08-16 09:04:13 +01:00
Keviin Åberg Kultalahti f6218d8e0b Merge branch 'master' into develop 2021-08-13 14:41:49 +02:00
Andrew Kingston 4275ceef33 Make dropzone file name a link to the file 2021-08-12 11:49:48 +01:00
Andrew Kingston cb55139cea Sort picker options alphabetically 2021-08-12 10:09:38 +01:00
Andrew Kingston 0c5a34dacb Ensure checkbox always has a size class 2021-08-11 15:21:35 +01:00
Martin McKeaveney e2a86f160b fix date sorting 2021-08-10 17:41:11 +01:00
Martin McKeaveney 9053a84718 fix date sorting 2021-08-10 17:41:01 +01:00
Maurits Lourens 9fb73b4eba add sizes to boolean field and checkbox component 2021-08-03 20:54:32 +02:00
Maurits Lourens 5221cd8362 fix lint issue 2021-07-28 00:06:03 +02:00
Maurits Lourens 101ca5f01e fix cypress test 2021-07-27 23:48:06 +02:00
Andrew Kingston f91115fc0f Set default getOptionIcon prop in core Picker to avoid crash 2021-07-21 14:35:55 +01:00
Andrew Kingston 1effdc0e8f Set default getOptionIcon prop to avoid crash when using core select, like in client apps 2021-07-21 14:35:37 +01:00
Rory Powell 239e39e5ed Merge branch 'develop' into feature/oidc-support 2021-07-15 14:05:30 +01:00
Peter Clement b31be35307 Add UUID to each oidc config to distinguish each provider 2021-07-13 17:32:08 +01:00
Martin McKeaveney bebfe4c6e1 merge with master 2021-07-11 18:07:46 +01:00
Kyle Harrison 2d451bb3a9 apply fixes for common spelling mistakes 2021-07-09 17:54:49 +01:00
Peter Clement 7138070e4c Fix bug where OIDC icon was not being displayed due to misconfiguration 2021-07-09 14:18:03 +01:00
Rory Powell 73c8dcf71b Merge branch 'develop' into feature/oidc-support 2021-07-08 20:15:16 +01:00
Peter Clement cff2a9ad7d Fix for icon upload issue 2021-07-07 16:18:18 +01:00
Peter Clement 37b1200051 Allow user uploaded icons in oidc config 2021-07-07 13:41:09 +01:00
Andrew Kingston 4ac7accdcb Fix font family issue with date pickers 2021-07-05 10:24:44 +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 4b9a863c68 Add color picker component and tidy up style options 2021-06-23 09:54:31 +01:00
Andrew Kingston d3dad2ddab Fix combobox sometimes showing a value of 'undefined' 2021-06-17 12:19:05 +01:00
Andrew Kingston 38e064fa0f Fix all eslint issues 2021-06-15 19:36:56 +01:00
Andrew Kingston 58c2ce4959 Fix radio group opacity on firefox on ubuntu 2021-06-07 09:41:27 +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 3c5696199a Remove Inter font fully and replace with Source Sans Pro, fix favicon import path 2021-05-25 09:41:23 +01:00
Andrew Kingston 7ed13d2b4c Allow enter keypress to submit login form 2021-05-21 13:27:27 +01:00
Andrew Kingston 6a92e7304b Allow dropzone to preview images before being uploaded 2021-05-18 18:47:39 +01:00
Andrew Kingston 222afc6884 Add ability for BBUI text fields to update on change and default to true 2021-05-18 08:37:07 +01:00
Andrew Kingston b195ef1549 Fix issue with switches and checkboxes on firefox on linux 2021-05-18 08:20:46 +01:00
Andrew Kingston 4db2ee1843 Allow data provider filtering using dates and date ranges, and allow filtering using a value or binding for any type 2021-05-11 18:33:25 +01:00
Andrew Kingston e661fe8cf2 Merge branch 'next' of github.com:Budibase/budibase into lab-day-search 2021-05-11 10:47:52 +01:00
Andrew Kingston df607e78eb Add non-gallery option to dropzeon and update create app modal 2021-05-10 11:53:32 +01:00
Andrew Kingston 6702eed782 Add quiet prop to BBUI select 2021-05-06 13:57:36 +01:00
mike12345567 e5f3b3956c Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +01:00
Martin McKeaveney 4086d39535 merge with next 2021-05-04 11:49:34 +01:00
Martin McKeaveney 8ecb70a8f7 merge with next 2021-05-04 11:40:59 +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
Martin McKeaveney 72ed644803 merge 2021-05-04 09:55:14 +01:00
Andrew Kingston 0c457e4eaf Fix combobox disabled state and remove unnecessary props 2021-04-29 15:24:59 +01:00
Andrew Kingston 9c903feed0 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +01:00
Andrew Kingston 1fb6cd0b4b Add dropzone component and update builder and standard components 2021-04-22 10:10:42 +01:00
Andrew Kingston 06b438d585 Add datepicker, centralise icon management and update builder styles 2021-04-20 20:06:27 +01:00
Andrew Kingston 14cf5c0669 Add search component and update screen list panel 2021-04-20 14:24:14 +01:00
Andrew Kingston fde47ad61c Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui-forms 2021-04-20 14:06:33 +01:00
Andrew Kingston e41c6e33e0 Update all form components to update bound values before firing onchange events 2021-04-20 12:49:02 +01:00
Andrew Kingston d268064164 Update all backend table popovers to use spectrum and fix multiple bugs 2021-04-20 12:20:03 +01:00
Andrew Kingston 9482112d6b Update entire builder backend UI to work with new spectrum components and fix multiple issues 2021-04-20 11:53:19 +01:00
Andrew Kingston 51c8609736 Add caret position function to text area and fix issue with design transitions and custom styles 2021-04-19 15:07:25 +01:00
Andrew Kingston 3a15047007 Update button actions to use new spectrum components 2021-04-19 14:40:51 +01:00
Andrew Kingston 90bcd87d24 Update all design panel settings and styles to use new spectrum components 2021-04-19 14:04:07 +01:00
Andrew Kingston eeac45d3e7 Add combobox component 2021-04-19 12:05:11 +01:00
Andrew Kingston 9663c62d2e Add switch and fix modal titles 2021-04-16 17:12:22 +01:00
Andrew Kingston ac4e0b6986 Standardise text area updates 2021-04-16 16:11:11 +01:00
Andrew Kingston 2ab62dc935 Replace RichText editor with spectrum text area 2021-04-16 16:00:10 +01:00
Andrew Kingston 431abb53ce Add radio group spectrum component and update builder 2021-04-16 14:30:33 +01:00
Andrew Kingston ff9824011a Fix crash when non iterable options property given to picker 2021-04-16 13:08:06 +01:00
Andrew Kingston 106b7b9ebd Use BBUI checkbox in standard components 2021-04-16 11:32:41 +01:00
Andrew Kingston b14e993846 Improve select determination of field text 2021-04-16 11:32:24 +01:00
Andrew Kingston 84da746bb7 Improve multiselect determintation of pretty labels 2021-04-16 11:32:05 +01:00
Andrew Kingston 064c2d8551 Add spectrum checkbox component 2021-04-16 11:05:53 +01:00
Andrew Kingston 698bf90007 Extract value and label props from select options which are objects by default 2021-04-16 11:04:50 +01:00
Andrew Kingston ad6fb672f1 Fix table height when no rows exist and fixed row count specified 2021-04-16 11:03:44 +01:00
Andrew Kingston 47183460b7 Don't render field label components unless a label exists 2021-04-16 09:39:29 +01:00
Andrew Kingston 57f4ebd897 Fix placeholder text 2021-04-16 09:39:09 +01:00
Andrew Kingston 966d842d7c Allow selects to support no placeholder option 2021-04-16 09:01:21 +01:00
Andrew Kingston 591d1c0fc5 Change BBUI to single bundle export and clean up some form components 2021-04-15 19:28:08 +01:00
Andrew Kingston d779fbbea4 Add pretty labels to multiselect and fix stale props issue 2021-04-15 14:05:59 +01:00
Andrew Kingston dd7bf3fd68 Fix multiselect 2021-04-15 12:14:51 +01:00
Andrew Kingston 10fe99346f Improve modal layout, improve modal button spacing, use rollup for building to expose multple BBUI entrypoints 2021-04-15 11:50:56 +01:00
Andrew Kingston 44ad38fdf8 Add BBUI to monorepo and use vite for builder, client lib and standard components 2021-03-31 16:14:56 +01:00
Andrew Kingston 64cd1aca32 Add BBUI package to monorepo 2021-03-31 10:59:07 +01:00