Commit Graph

615 Commits

Author SHA1 Message Date
Peter Clement 87d001b66f Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-02-22 15:17:38 +00:00
Andrew Kingston 6110674e71 Fix button A11y issue again after being lost in merge 2022-02-22 12:35:11 +00:00
Andrew Kingston 8b08ef428d Update documentation of table cell schema options 2022-02-21 16:06:38 +00:00
Andrew Kingston ebae07ac7e Update width of table code renderer cells 2022-02-21 16:03:40 +00:00
Andrew Kingston d016db95dd Improve table column width handling when custom widths are applied 2022-02-21 14:47:01 +00:00
Andrew Kingston 6e5f2c15c0 Add custom svelte transition to drawer and add local parameter to prevent bad transitions 2022-02-21 13:41:57 +00:00
Andrew Kingston 7236ae80e5 Allow bindings for table cell values and break out cell settings into its own drawer component 2022-02-21 13:19:29 +00:00
Tobias Speicher 491bcb86ed Replace deprecated String.prototype.substr()
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-02-20 15:28:39 +01:00
Andrew Kingston 2bc3e96ec7 Update table hover to use a pseudo element to support hover color with customised cell backgrounds 2022-02-18 20:28:59 +00:00
Andrew Kingston db9c1b2b05 Add support for alignment, text color and background color in tables and improve padding compatibility with table sizes 2022-02-18 20:14:56 +00:00
Andrew Kingston a3ff47c48f Support aligning a color picker popover to the right 2022-02-18 20:14:31 +00:00
Andrew Kingston 84a475764e Move table overflow layer to fix sticky header not working 2022-02-18 14:40:08 +00:00
Andrew Kingston 5e98b01d4e Fix table loading states and remove virtual table rendering 2022-02-18 14:12:29 +00:00
Andrew Kingston 268d06a120 Ensure table height is exactly perfect for row count regardless of scrollbars 2022-02-18 13:33:34 +00:00
Andrew Kingston 9e8742b710 Fix table height calculation not being exact 2022-02-18 13:27:36 +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
Andrew Kingston dceebb0fc9 Completely rewrite BBUI table with divs and with support for custom column widths 2022-02-18 11:58:18 +00:00
mike12345567 f0b02cf9a9 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-16 15:30:48 +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
Rory Powell ae36401def Revert on click changes to SideNavigation/Item 2022-02-16 11:59:22 +00:00
Rory Powell dbfc46c67d Add on-click to SideNavigation item 2022-02-16 10:03:59 +00:00
mike12345567 db45086105 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-02-15 16:54:21 +00:00
Andrew Kingston 5d25f80916 Update button tooltip to remove wrapper div and place tooltip inside button element 2022-02-15 12:01:50 +00:00
Andrew Kingston 78458d549d Add on:focus handler to button to fix A11y issue 2022-02-15 09:31:55 +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
mike12345567 ee34ddaaf5 Fixing an issue with button tooltip addition, some buttons lost their full width sizing. 2022-02-14 16:49:56 +00:00
mike12345567 c1bd5b8329 Fixing issue #4337, allows internal tables to search by the _id or _rev properties in automation query block. 2022-02-14 14:57:06 +00:00
mike12345567 126499f383 Fix for #4440, fixing validation of API endpoints. 2022-02-12 10:35:10 +00:00
Peter Clement d45c107db7 add row selection functionality to tables 2022-02-11 11:55:35 +00:00
Andrew Kingston a0c703288c Fix button layout in drawers 2022-02-10 11:46:57 +00:00
Michael Drury 45a965b041 Adding basic endpoints for API keys. 2022-02-09 23:16:24 +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 6199f06ea9 Updating the tooltip button to have an info icon like the labels on the right instead. 2022-02-08 17:17:00 +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
mike12345567 36bd285093 Merge branch 'develop' of github.com:Budibase/budibase into fix/feb-fixes 2022-02-08 12:28:27 +00:00
Andrew Kingston d90ccc26c7 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-08 08:12:37 +00:00
mike12345567 007a1240d5 Fix for both #4167, allow saving but warn if never sent and #4165 save the query name when clicking name save icon. 2022-02-07 18:47:10 +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 fe495345f8 Update auto dismissal of notifications 2022-02-07 15:24:46 +00:00
Andrew Kingston dd07f3516f Remove automatic dismissal of error notifications and instead allow only manual dismissal, and also enable pointer events so errors can be copied 2022-02-07 15:15:28 +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 587a260c2b Improve text area and long form height settings 2022-02-07 12:04:21 +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 03b3049572 Fix copy to clipboard not working without a secure context and add better notifications 2022-02-04 08:50:36 +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 aacd8b01c6 Update rich text field height to be set dynamically 2022-02-03 10:46:41 +00:00
Andrew Kingston 392aaa30d0 Add custom styles for HRs, tables and link colors in rich text editor and preview 2022-02-03 09:46:30 +00:00
Andrew Kingston f347bafe62 Add custom styles for code blocks and block quotes in rich text editor and preview 2022-02-03 09:32:01 +00:00
Andrew Kingston e8f8d6ead9 Properly trim markdown viewer component 2022-02-03 09:06:52 +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 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 fcd79ed70a Merge branch 'client-bundle-size-reduction' into experimental-hbs-caching 2022-01-31 18:58:19 +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 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
Andrew Kingston 9d4f18f1ce Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-19 13:54:39 +00:00
Maurits Lourens a4fea9ab3c add extensions prop to specify accepted file extensions 2022-01-18 17:17:31 +01:00
Andrew Kingston 0201841b90 Add initial work on frontend-core refactor 2022-01-18 09:39:19 +00:00
Andrew Kingston b3dba52d62 Update S3 upload with develop and fix preview URLs 2022-01-13 17:18:24 +00:00
Rory Powell 36f42d0426 Bump z-index to always be on top 2022-01-10 11:50:08 +00:00
Rory Powell b1ef2e3988 Fix auth dropdown z-index 2022-01-05 10:29:40 -05: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
Rory Powell 5890f5d4dc Add bold and code cell renderers 2021-12-21 14:08:09 -05:00
Andrew Kingston 69a8376d17 Update home screen UI to work better on mobile and make spacing more consistent 2021-12-15 15:54:33 +00:00
Andrew Kingston d06cc93757 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-15 13:36:10 +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
Rory Powell 17ba5d7c88 Merge branch 'develop' into feature/query-auth 2021-12-14 09:52:16 +00:00
mike12345567 a7743c8481 Fixing bug in tabs where double clicks cause tab switching, new headers enabled by default, disabled headers rather than enabled, get requests can have bodies. 2021-12-13 11:24:13 +00:00
Rory Powell 9fa4fe6c76 Merge branch 'feature/rest-redesign' into feature/query-auth 2021-12-11 21:43:03 +00:00
Rory Powell 77d17e143d Auth config forms 2021-12-11 09:59:09 +00:00
Andrew Kingston 2decf236a4 Update deepSet helper to create parent keys of a deep path if one does not exist 2021-12-10 15:27:04 +00:00
Andrew Kingston dc7d22e5cb Add support for binding forms to deep json fields 2021-12-10 14:18:01 +00:00
mike12345567 f5b1e255d5 Making it so that schema always shows up for future work towards global variables and making it so that tabs selected can be bound to. 2021-12-09 18:41:07 +00:00
mike12345567 4cd28fa7c4 Adding http verbs instead of icons for REST requests. 2021-12-09 13:08:16 +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
mike12345567 82fd691ec7 Adding bindings to rest API, adding in spaceship placeholder, updating the look of some other components, cleaning up some whitespace. 2021-12-08 17:58:30 +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
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
Andrew Kingston b1c2308b8b Remove infuriating behaviour of drawer closing on escape keypress 2021-12-07 13:58:34 +00:00
Andrew Kingston 135fc61159 Coerce picker option labels to strings to fix bug when using autocomplete on numeric label types 2021-12-06 18:22:19 +00:00
mike12345567 5936fe0f5f Adding all response capabilities. 2021-12-06 17:39:51 +00:00
Andrew Kingston 7b20aa31d1 Flatten JSON schema in apps to allow filtering and display of nested values 2021-12-06 12:37:50 +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
mike12345567 4e9d60b446 First major part of the REST query resdesign. 2021-12-01 17:55:57 +00:00
mike12345567 6a7d899935 Adding some extra padding to action buttons to line them up better, changing over everything in datasources to tables (where possible). 2021-11-30 19:05:36 +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
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
mike12345567 9be833d5e1 Updating inline alert component to handle newlines as different elements, putting out error with new lines. 2021-11-22 10:37:58 +00:00
Rory Powell 4235aba7a2 Merge pull request #3354 from Budibase/rory/fixes-platform-url
Fixes for google sso, cloud email url and cloud logo updates
2021-11-16 13:46:06 +00:00
mike12345567 d9d5391a40 Some UI work, as well as moving SQL to using a proper bulk insert method and fixing an issue found with csv parsing and removing of invalid columns. 2021-11-12 19:24:56 +00:00
mike12345567 af5e196b4c Adding all required controls for data import to internal tables, just need to implement external table data import. 2021-11-12 18:26:57 +00:00
Rory Powell 6af8ab2dc0 Fixes for google sso, cloud email url and cloud logo updates 2021-11-12 13:31:55 +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
mike12345567 b1143e1957 Addressing review comments. 2021-10-27 14:55:09 +01:00
mike12345567 ac1d6ee23e Fixing #2820 - SQL system no longer includes tables without a primary key constraint and it displays an error to handle this. 2021-10-26 20:03:54 +01: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 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 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
Peter Clement faa64b9516 add internal renderer back 2021-10-18 15:08:57 +01:00
Peter Clement eb957bc94f Potential fix for issues with updating and saving rows and columns 2021-10-17 21:23:30 +01:00
mike12345567 bded4a5b56 Merge branch 'develop' of github.com:Budibase/budibase into js-binding-drawer 2021-10-13 16:48:36 +01:00
Peter Clement 6366abae7e remove uneeded log 2021-10-13 14:14:08 +01:00
Peter Clement ec50621733 refactor new autocolumn functionality 2021-10-13 11:39:36 +01:00
Peter Clement 194eddbda4 some tidy up 2021-10-13 09:29:01 +01:00
Peter Clement e2ae8b8437 add ability to copy _rev and _id from data tab 2021-10-12 17:32:15 +01:00
Andrew Kingston e521596c9c Fix bug rendering tabs inside a component which uses a svelte transition 2021-10-11 11:34:19 +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
Andrew Kingston 38b32d78a8 Merge pull request #2790 from Budibase/data-ui-pagination
Data UI pagination and searching
2021-09-30 11:13:47 +01:00
Andrew Kingston c5f0a2b34b Fix table crash when data is null 2021-09-29 15:25:44 +01:00
Peter Clement dad6412271 trigger internal table modal on modal cancel 2021-09-27 09:59:56 +01:00
Andrew Kingston 05cfd87613 Broadcast a sort event from BBUI table, and add prop to disable table sorting of data 2021-09-23 16:08:09 +01:00
Maurits Lourens 19f5a9c51e set appendTo to undefined, because FlatPicker checks for !== undefined 2021-09-17 15:06:53 +02:00
Andrew Kingston 00b12463f6 Merge pull request #2606 from Budibase/responsive-portal
Responsive portal
2021-09-16 17:28:21 +01:00
Andrew Kingston 9ad2114859 Fix loading circle bug 2021-09-16 16:53:34 +01:00
mike12345567 d76e3beac9 Removing console logs created during automation rework. 2021-09-16 16:24:32 +01:00
Andrew Kingston 368ada4a77 Merge branch 'develop' of github.com:Budibase/budibase into responsive-portal 2021-09-16 16:06:41 +01:00
Peter Clement ab2fd51dc2 fix debounce / store test data bug 2021-09-16 14:48:55 +01:00
Peter Clement a871a3a44f fix label not being rendered correctly 2021-09-16 12:15:32 +01:00
Peter Clement 3b66a14a6f Update icons 2021-09-15 00:49:44 +01:00