Commit Graph

547 Commits

Author SHA1 Message Date
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 def6054b26 Add datepicked data binding and fix mustache rendering for non string values 2020-11-24 11:13:26 +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
Martin McKeaveney cee26fb0b6 map fulfilled promises 2020-11-23 16:42:28 +00:00
Martin McKeaveney bfab74d11f make datagrid less janky 2020-11-23 16:17:09 +00:00
Andrew Kingston 999b2ffb19 Add actual component for screenslot placeholder 2020-11-23 14:27:45 +00:00
Andrew Kingston c8b1259964 Fix chart styling 2020-11-23 11:29:34 +00:00
Andrew Kingston b3cd81d832 Fix builder preview 2020-11-23 11:29:24 +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 c2d09ea7ab Fix data source fetching for relationships in all other files 2020-11-19 13:52:11 +00:00
Andrew Kingston 3dcd9d32e2 Fix fetching of relationship data in lists 2020-11-19 13:50:20 +00:00
Andrew Kingston 261ae68907 Add data binding enrichment 2020-11-19 09:24:58 +00:00
Andrew Kingston a739ab811f Fix grid height 2020-11-19 08:59:54 +00:00
Andrew Kingston d220fe8fc0 Remove deprecated components and fix card styling 2020-11-18 21:13:13 +00:00
Andrew Kingston cdb8ff3563 Update all components to be renderable and styleable 2020-11-18 21:06:12 +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 7a3f9d61d2 Add work on data context in components 2020-11-18 11:24:01 +00:00
Andrew Kingston fef561ffe4 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-18 11:23:06 +00:00
Andrew Kingston b70de4938f Fix screen slot placeholder component display 2020-11-17 14:06:43 +00:00
Andrew Kingston b01ec8da0f Fix selected component border in builder preview 2020-11-17 12:20:40 +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
Martin McKeaveney 6906b43667 show quota errors when deployments fail 2020-11-13 14:32:47 +00:00
kevmodrome 36e902fd30 sets everything up to be used with a longform type in the Form component 2020-11-13 11:31:00 +01:00
kevmodrome e9f3307864 adds non-working RichText component 2020-11-13 11:12:38 +01:00
Andrew Kingston 66ef0b9d3d Fix log out not working 2020-11-12 12:27:53 +00:00
Andrew Kingston da17e1d900 Replace all manual API interaction with SDK 2020-11-12 12:24:45 +00:00
Andrew Kingston 299dcbab3d Add majority of API interactions to SDK 2020-11-12 09:07:09 +00:00
Andrew Kingston 921cae0cbc Tidy up standard components 2020-11-11 14:26:33 +00:00
mike12345567 928c306769 Fixing #848 - standard components was not using the same API calls consistently which was breaking some things like charts. For now just make it consistent by updating it to make calls the same way as client lib does but the SDK will eventually replace all this and solve these problems. 2020-11-10 15:09:54 +00:00
Andrew Kingston 951f5e1db5 Add colour palette options for charts 2020-11-05 13:37:28 +00:00
Andrew Kingston 2cf7f66d9b Ensure candlestick chart works with either our own date formats as well as timestamps 2020-11-05 13:27:29 +00:00
Andrew Kingston 80685864f6 Fix lint 2020-11-04 15:59:26 +00:00
Andrew Kingston 5a1624c29d Fix warning when no data source and increase robustness of charts 2020-11-04 15:56:57 +00:00
Andrew Kingston 8fde781a95 Separate chart loading state from error state 2020-11-04 15:43:43 +00:00
Andrew Kingston 9a4fc35bba Add candlestick chart 2020-11-04 15:21:11 +00:00
Andrew Kingston eb446a06af Improve chart robustness even more 2020-11-04 14:21:48 +00:00
Andrew Kingston b47589cdad Improve robustness of pie and donut charts 2020-11-04 13:08:59 +00:00
Andrew Kingston e7eab46435 Add support for dates and increase robustness 2020-11-04 12:43:56 +00:00
Andrew Kingston e17b17170a Merge branch 'master' of github.com:Budibase/budibase into apex-charts 2020-11-04 09:02:56 +00:00
Andrew Kingston 5a213ba343 Fix legends not being centered and use common chart component 2020-11-03 16:14:57 +00:00
Andrew Kingston e50d5a7ebb Add area chart and unit formatting 2020-11-03 14:32:21 +00:00
Michael Drury 19bcecf9f3 Linting and fixing client test case, have to mock getAppId as the location will never be set during testing. 2020-11-03 14:30:20 +00:00
Michael Drury ac73b5c4aa Further work towards the re-implementation of auth, changing how the appId is determined, now it mainly will use a header, and a cookie which will be written to store the current status of appId. 2020-11-03 13:45:49 +00:00
Andrew Kingston 665546f095 Add pie and donut charts 2020-11-03 11:50:55 +00:00
Andrew Kingston c9cc3d5aba Remove log statement 2020-11-03 10:03:19 +00:00
Andrew Kingston 790ab4a2b9 Add stacked option to bar chart 2020-11-03 09:48:35 +00:00
Andrew Kingston 4f5d12468d Add line chart and enable multiple data series for all charts 2020-11-03 09:43:45 +00:00
Michael Drury 871e9b123e Some further work, logout and preview appear to be working much better now. 2020-11-02 22:46:31 +00:00
Andrew Kingston fee942f4ec Add bar chart with initial apex charts config 2020-11-02 15:32:37 +00:00
Andrew Kingston 1a8da28c09 Merge ag-grid backend UI and update styles 2020-10-28 15:20:56 +00:00
Andrew Kingston add4162000 Format with prettier 2020-10-27 15:28:13 +00:00
Andrew Kingston fae4037a65 Remove bunch of unused components and tidy up unused references 2020-10-27 09:10:20 +00:00
Martin McKeaveney eb1192ebc0 more ag grid styling 2020-10-23 17:38:10 +01:00
Andrew Kingston 7e74889131 Allow binding images to attachment types 2020-10-20 12:23:52 +01:00
Martin McKeaveney 9ed321a797 Merge pull request #744 from Budibase/fix-issues
Fix Calculation View Issues In App Components
2020-10-17 12:16:27 +01:00
Michael Shanks 8b51742901 stop multiple creates on save record 2020-10-16 22:46:15 +01:00
Martin McKeaveney 055e93ed7e Merge branch 'master' of github.com:Budibase/budibase into fix-issues 2020-10-16 21:41:58 +01:00
Michael Shanks 7ab1e9c6fb Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-16 21:39:51 +01:00
Martin McKeaveney 01a8d0096b Merge branch 'master' of github.com:Budibase/budibase into fix-issues 2020-10-16 17:18:11 +01:00
Michael Shanks 7382da4a60 removes unused components 2020-10-16 16:04:49 +01:00
Andrew Kingston 19bfa87859 Fix link 2020-10-16 16:00:26 +01:00
Andrew Kingston dc789336b0 Fix login component with login app names 2020-10-16 15:32:02 +01:00
Martin McKeaveney 348c94e487 allow calculation views to be used in context components again 2020-10-16 15:26:08 +01:00
Andrew Kingston 4aa9e2d179 Add new DetailScreenSelect component for selecting only detail screens and update detail linking in grids 2020-10-16 15:16:29 +01:00
mike12345567 734b9e744c Linting. 2020-10-16 13:50:18 +01:00
Andrew Kingston 1a21306dd2 Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 12:57:29 +01:00
Andrew Kingston ccb4392a67 Make detail column sticky and left orientated and fix crash with options inside grid 2020-10-16 12:55:20 +01:00
Michael Drury 711c044fd0 Merge pull request #733 from Budibase/bug/casing-table-fix
Fixing column casing issues
2020-10-16 12:22:30 +01:00
Kevin Åberg Kultalahti e9f97f3445 Merge branch 'master' into feature/remove-add-row-button-in-grid-component 2020-10-16 11:14:26 +02:00
Andrew Kingston ce4eba430c Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 10:00:22 +01:00
mike12345567 79832e5d4c linting 2020-10-16 09:54:35 +01:00
mike12345567 82a9bbb478 Merge branch 'master' of github.com:Budibase/budibase into bug/casing-table-fix 2020-10-16 09:53:38 +01:00
Kevin Åberg Kultalahti 845f0de365 Merge branch 'master' into feature/add-edit-button-custom-renderer-for-grid-component 2020-10-16 10:37:22 +02:00
mike12345567 906316f191 Removing the pretty function on DataGrids to match the backend. 2020-10-16 09:33:17 +01:00
Andrew Kingston 89bba530be Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 08:39:06 +01:00
Andrew Kingston dedabb8645 Adjust button styles in line with new designs 2020-10-16 08:35:15 +01:00
Andrew Kingston 7a910c6478 Adjust form styles in line with new designs 2020-10-16 08:34:56 +01:00
Andrew Kingston e871b45a28 Change Text component display to inline-block to text-transform works 2020-10-16 08:34:17 +01:00
kevmodrome e91d3ba283 change color to grey 2020-10-15 20:56:58 +02:00
kevmodrome 8804dc903e url now takes the same format as in other components 2020-10-15 20:10:06 +02:00
kevmodrome 4d7c214a16 lint fixes 2020-10-15 20:06:26 +02:00
kevmodrome 71acc10e9c minor fixes 2020-10-15 20:05:55 +02:00
kevmodrome 5f83cfc9c5 adds detail link column to grid component 2020-10-15 19:59:46 +02:00
mike12345567 7d0231cb75 Formatting. 2020-10-15 18:11:36 +01:00
kevmodrome a31b30da7d starts work on adding view details link to grid component 2020-10-15 18:54:08 +02:00
Martin McKeaveney 71a7482dda lint 2020-10-15 17:05:09 +01:00
Andrew Kingston 6ea9809b12 Improve login component logo styles 2020-10-15 16:37:50 +01:00
kevmodrome ee4e1718d5 fixes jumpy behaviour when selecting rows 2020-10-15 16:24:03 +02:00
kevmodrome 1bffa76194 removes add row button on grid component 2020-10-15 16:15:28 +02:00
Martin McKeaveney 9e1a6c1069 merge 2020-10-15 15:12:54 +01:00
kevmodrome cd8fc32a20 Merge branch 'feature/add-delete-button-to-attachments' of github.com:Budibase/budibase into feature/add-delete-button-to-attachments 2020-10-15 15:59:03 +02:00
kevmodrome 7e9cf7d01e adds stopPropagation modifier to delete file button 2020-10-15 15:58:21 +02:00
Kevin Åberg Kultalahti b930af4669 Merge branch 'master' into feature/add-delete-button-to-attachments 2020-10-15 15:54:43 +02:00
kevmodrome f0cea0ef0e adjust button size 2020-10-15 15:51:50 +02:00
kevmodrome 29df40ee51 removes commented out code 2020-10-15 15:46:24 +02:00
Martin McKeaveney a34a59880e merge from master 2020-10-15 14:41:29 +01:00
kevmodrome 86bbf252b3 lint fix 2020-10-15 15:36:20 +02:00
kevmodrome 9f33cf4e6e adds file deletion button as well as confirmation modals to delete rows and delete image buttons 2020-10-15 15:35:27 +02:00
mike12345567 dfe2d4069e Merge branch 'master' of github.com:Budibase/budibase into bug/fixing-more-bugs 2020-10-15 13:55:13 +01:00
mike12345567 e70c0f32c7 Some changes for authentication and getting rid of allScreens component of store as it was causing confusion and breakages. 2020-10-15 13:52:56 +01:00
Andrew Kingston 726e07cb3a Remove old param 2020-10-15 12:22:34 +01:00
Andrew Kingston edc11bf7bb Use named export for tableCache 2020-10-15 12:21:30 +01:00
Andrew Kingston 9d8cbaedbb Improve grid relationship handling of null or empty values 2020-10-15 12:16:32 +01:00
Martin McKeaveney f0f9015819 more filtering updates 2020-10-15 12:09:41 +01:00
Andrew Kingston 98d066ac33 Prevent editing relationship columns 2020-10-15 11:55:06 +01:00
Andrew Kingston 48a26348a2 Add more opinionated styling to relationship display in grid 2020-10-15 11:54:34 +01:00
Andrew Kingston 0b5f516485 Add support for rendering real relationships inside grid 2020-10-15 11:08:56 +01:00
Martin McKeaveney a23440c740 adding sum and count functionality, preventing user from doing bad filters 2020-10-15 10:48:57 +01:00
Andrew Kingston d5630760cc Rename usages of primary display column to just display column 2020-10-14 20:38:32 +01:00
Andrew Kingston 532b72d070 Fix logout functionality 2020-10-14 20:28:02 +01:00
Andrew Kingston 55447f282d Add log out functionality 2020-10-14 20:12:41 +01:00
Andrew Kingston f9e6b3e5b4 Updating login component form error style slightly 2020-10-14 20:12:27 +01:00
Andrew Kingston 64c1183b16 Merge branch 'master' of github.com:Budibase/budibase into screen-updates 2020-10-14 19:40:45 +01:00
Martin McKeaveney 535c9febd5 fix for appid referer split 2020-10-14 17:30:00 +01:00
Andrew Kingston 3de238c66a Merge branch 'master' of github.com:Budibase/budibase into screen-updates 2020-10-14 17:09:50 +01:00
Andrew Kingston c5381a4766 Update Login component 2020-10-14 17:06:20 +01:00
Andrew Kingston 62091ce744 Update navigation component 2020-10-14 17:06:02 +01:00
Martin McKeaveney 8132c77f8c don't show login component on logged in page, fix auth for app assets 2020-10-14 16:47:53 +01:00
Martin McKeaveney 802b05815d lint 2020-10-14 15:13:22 +01:00
Martin McKeaveney 4823e66fe9 merge 2020-10-14 15:08:54 +01:00
Martin McKeaveney 79b50dc0b7 lint 2020-10-14 13:21:43 +01:00
Andrew Kingston 2fc44f03d0 Remove console.log statements 2020-10-14 10:06:33 +01:00
Andrew Kingston d2ac13a253 Fix grid not allowing adding rows due to model -> table rename 2020-10-14 09:53:27 +01:00
Andrew Kingston 3efac56f5d Fix errors being thrown when nesting certain components without picking a datasource 2020-10-14 09:39:49 +01:00
Andrew Kingston cf28ba24a3 Fix errors being thrown by grid and table 2020-10-14 09:34:23 +01:00
Andrew Kingston 7e162960f0 Improve grid and table rendering of any type of datasource 2020-10-14 09:23:20 +01:00
Martin McKeaveney 72746c6e07 fixing funky svelte prettier issue 2020-10-13 21:37:55 +01:00
Martin McKeaveney cb5c09d439 simplify user authentication, remove anon user, fix login cookie issues 2020-10-13 21:33:56 +01:00
Andrew Kingston 4ac83afb62 Fix data table and grid rendering views 2020-10-13 19:58:36 +01:00
Martin McKeaveney 14af18d27b fix issues from eslint plugin prettier 2020-10-13 16:33:45 +01:00
Martin McKeaveney 2b3b41e778 bulk deletes on grid 2020-10-13 16:17:07 +01:00
Martin McKeaveney 55527784ed Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 12:52:55 +01:00
Michael Drury b5671e467f Merge pull request #687 from Budibase/endpoint-renaming
Major update - renaming model to table and record to row
2020-10-13 12:17:54 +01:00
kevmodrome 2a8aebeb16 fixes height issue with grid component 2020-10-13 12:15:44 +02:00
Martin McKeaveney fa6880f291 Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 10:59:31 +01:00
Martin McKeaveney 7d8cb16824 prevent duplicate table names 2020-10-13 10:59:24 +01:00
mike12345567 a622d3c2f1 Fixing problem where something injected [object Object] into the source code? 2020-10-13 10:35:10 +01:00
mike12345567 9a38294449 Formatting codebase. 2020-10-13 10:04:29 +01:00
mike12345567 5e9d32824c Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:08 +01:00
Andrew Kingston ba616a7b36 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-13 09:24:13 +01:00
Andrew Kingston c76dccb66c Add relationships as possible datasource for grid 2020-10-13 09:22:47 +01:00
kevmodrome 010a59d8cb adds pagination option 2020-10-13 09:51:01 +02:00
kevmodrome 5963314b6c adds height option to grid component 2020-10-13 09:13:56 +02:00
Andrew Kingston d7ab7c6ec9 Fix grid crash when there are no related rows in a link field 2020-10-13 08:12:03 +01:00
Andrew Kingston ae63877d67 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 21:35:51 +01:00
mike12345567 416a7598c6 Updating data grid components which had model/record still defined in them. 2020-10-12 21:31:58 +01:00
Martin McKeaveney 20301cb883 merge with new grid 2020-10-12 20:25:15 +01:00
kevmodrome 9923266c51 fix editable header column not hiding when grid is un-editable 2020-10-12 20:44:40 +02:00
Andrew Kingston 9f3eef5b8c Fix crash when no linked records in DataTable 2020-10-12 18:47:25 +01:00
kevmodrome 3cd2cdb722 lint fixes 2020-10-12 18:54:18 +02:00
kevmodrome b0bd9ae135 sets correct editable values on fields 2020-10-12 18:42:47 +02:00
Andrew Kingston 3c8502187f Fix relational data in client apps and use count for link fields in client apps 2020-10-12 14:21:15 +01:00
Andrew Kingston 959aa3ff60 Fix linked record selector rendering in client apps 2020-10-12 14:19:54 +01:00
mike12345567 cfd4d9d34d Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +01:00
kevmodrome d6136ec233 merge master 2020-10-12 12:58:20 +02:00
kevmodrome ac6c4869a1 merge master 2020-10-12 12:56:27 +02:00
Andrew Kingston 0ac8a33210 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 11:26:04 +01:00
Andrew Kingston 0f80428a23 Fix falsey table values not being rendered 2020-10-12 11:02:03 +01:00
Michael Shanks f5086990dd fix: New & Detail not displaying components when no model selected 2020-10-12 10:51:20 +01:00
kevmodrome 5bafa97c40 turns off some functionality and adds theme options 2020-10-12 11:44:43 +02:00
Michael Shanks 7c01959da1 merge from master 2020-10-11 20:34:13 +01:00
mike12345567 5d49d529e3 Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing. 2020-10-09 19:10:28 +01:00
mike12345567 fdaa69ee7f Renaming Model -> Table across the entire system, this is an unstable update and has not been tested fully yet. 2020-10-09 18:49:23 +01:00
Michael Shanks 127ce3b59d renaming Record > Row 2020-10-09 17:12:55 +01:00
kevmodrome ad5103786d re-enable event 2020-10-09 13:48:36 +02:00
Andrew Kingston 4b1549a04e Fix issue displaying linked records in a table 2020-10-09 12:42:56 +01:00
Andrew Kingston 4ef8929462 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-09 12:34:25 +01:00
Andrew Kingston 009d04a0a5 Add relationships as data source 2020-10-09 12:24:18 +01:00
kevmodrome 420c94dd00 Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-09 13:08:03 +02:00
Michael Shanks 67845b1c82 auto create screens with new table 2020-10-09 11:58:46 +01:00
kevmodrome a117a18d0f adds editable setting 2020-10-09 12:42:16 +02:00
kevmodrome a061d1d5b1 move important stuff up top 2020-10-09 11:43:35 +02:00
kevmodrome 2e3d8d9c16 refactor and clean up 2020-10-09 11:35:52 +02:00
kevmodrome 9ab83a08a6 adds options type support to grid component 2020-10-09 11:23:42 +02:00
Michael Shanks 4a13be8cf8 merge from master 2020-10-08 22:11:45 +01:00
Michael Shanks 2e76e1f0f4 Save Record Action 2020-10-08 22:06:44 +01:00
Martin McKeaveney 8dd32c6f6b fixing optional chaining operator in standard components 2020-10-08 20:31:13 +01:00
kevmodrome 38e42c0e9e fix optional chaining error and adds guard for no model selected. 2020-10-08 17:45:47 +02:00
Michael Shanks 027819bae0 merge from master - including fixes 2020-10-08 16:15:12 +01:00
kevmodrome 93de461272 add dateRenderer 2020-10-08 16:23:13 +02:00
kevmodrome e43dc488e4 move renderer map to separate file 2020-10-08 15:34:47 +02:00
kevmodrome 480a73997d merge master 2020-10-08 14:37:57 +02:00
Andrew Kingston 9a8c659b79 Unify DataForm and DataFormWide by using single component with BBUI styles 2020-10-08 10:42:53 +01:00
Michael Shanks ae0069fa5d RecordDetail & NewRecord now baseComponents 2020-10-07 22:30:51 +01:00
kevmodrome 6c173ac6b3 fixes editable cell bug 2020-10-07 10:06:23 +02:00
Andrew Kingston 1fb5804d32 Add support for displaying linked record counts in List and RecordDetail 2020-10-06 18:01:23 +01:00
Andrew Kingston e15e86b9e1 Add linked records to dataforms and use BBUI components and pretty errors 2020-10-06 16:46:23 +01:00
Andrew Kingston 7207bc275e Remove console log statement 2020-10-06 16:40:23 +01:00
Andrew Kingston 63635f3642 Use real schema for datatable rather than first row's keys 2020-10-06 16:39:24 +01:00
Andrew Kingston a12ddaaf08 Add default file prop to AttachmentList to prevent crashing when no files exist 2020-10-06 16:22:11 +01:00
Andrew Kingston 9287b16598 Add support for displaying linked records in DataTable 2020-10-06 16:05:52 +01:00
kevmodrome 66bb4bdebf merge master 2020-10-02 14:39:00 +02:00
kevmodrome 401959d8c8 data now syncs in the grid 2020-10-02 10:12:18 +02:00
kevmodrome 92c162ea2c adds add row functionality to grid component 2020-10-02 09:43:56 +02:00
kevmodrome cbbda8599f adds events when records are deleted and adds more stylish controls 2020-09-29 11:05:55 +02:00