Commit Graph

564 Commits

Author SHA1 Message Date
kevmodrome 71fa1e1700
colorpicker for links in card component now works correctly 2020-12-09 15:27:24 +01:00
Andrew Kingston b5637dbffc Fix crash when adding a link 2020-12-09 14:14:10 +00:00
kevmodrome 19cd58a5ac
fixes link text colors 2020-12-09 15:12:10 +01:00
kevmodrome a91fc28eb9
changes settings prop of card link color 2020-12-09 13:21:04 +01:00
Martin McKeaveney 8980895dac lint 2020-12-04 14:46:21 +00:00
Martin McKeaveney d6b00d5ebe email as default user identifier 2020-12-04 12:22:45 +00:00
Andrew Kingston 3b57ef3b0f Update stat card to use new component SDK 2020-12-04 09:13:38 +00:00
Andrew Kingston 2cb4f1228a Merge branch 'master' of github.com:Budibase/budibase into stat-card 2020-12-04 09:00:43 +00:00
kevmodrome 6e7bd09588
now uses RichText component in create/edit row modal on the backend 2020-12-03 15:37:04 +01:00
kevmodrome 0725b3bd6d
adds rollup-json to standard-components and adds RichText to Form component 2020-12-03 15:03:17 +01:00
kevmodrome 619011d7e8
adds new richtext version and adds it to the Form component 2020-12-03 13:19:14 +01:00
Andrew Kingston 859ae5f8a4 Move selection highlighting in builder preview in to client library and replace handlebars with mustache again 2020-12-02 13:49:24 +00:00
Andrew Kingston e4db97aa21 Remove old test dir and add yarn lockfile 2020-12-01 10:47:48 +00:00
Andrew Kingston ce18e253ba Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
Joe 5cfc6a6eda Stat card
During lab day, I created a stat card. This card allows the user to display a single value, with an optional title and label. This is a popular component that will save our users time - expecially when creating dashboards.
2020-11-28 16:35:42 +00:00
Andrew Kingston 86cfd3db22 Fix charts not correctly using data context 2020-11-25 18:43:58 +00:00
Andrew Kingston b000174fce Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-25 18:38:58 +00:00
Andrew Kingston 9c4b9a2a25 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +00:00
Andrew Kingston 907c0fcfda Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
Andrew Kingston ad5fc0e780 Simplify data contexts 2020-11-24 11:28:31 +00:00
Andrew Kingston 920ef90e14 Add datepicked data binding and fix mustache rendering for non string values 2020-11-24 11:13:26 +00:00
Andrew Kingston e62fbf8ef7 Add component data binding and simplify context sharing 2020-11-24 11:02:10 +00:00
Andrew Kingston 853f5d8745 Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
Martin McKeaveney ac75d6606d map fulfilled promises 2020-11-23 16:42:28 +00:00
Martin McKeaveney a63050e328 make datagrid less janky 2020-11-23 16:17:09 +00:00
Andrew Kingston 74fdd36bce Add actual component for screenslot placeholder 2020-11-23 14:27:45 +00:00
Andrew Kingston e3fe891053 Fix chart styling 2020-11-23 11:29:34 +00:00
Andrew Kingston 192959c865 Fix builder preview 2020-11-23 11:29:24 +00:00
Andrew Kingston 32a143cf41 Add support for full depth data binding 2020-11-20 09:50:10 +00:00
Andrew Kingston 674b89df5d Fetch app definition and routes from the server 2020-11-19 18:39:22 +00:00
Andrew Kingston 3ffe1cb3fc Fix data source fetching for relationships in all other files 2020-11-19 13:52:11 +00:00
Andrew Kingston c1c7c8ede4 Fix fetching of relationship data in lists 2020-11-19 13:50:20 +00:00
Andrew Kingston 0ff8a9a67b Add data binding enrichment 2020-11-19 09:24:58 +00:00
Andrew Kingston 3a5daa8ab1 Fix grid height 2020-11-19 08:59:54 +00:00
Andrew Kingston 44a2282748 Remove deprecated components and fix card styling 2020-11-18 21:13:13 +00:00
Andrew Kingston 1bd2fac9b2 Update all components to be renderable and styleable 2020-11-18 21:06:12 +00:00
Andrew Kingston a18a861177 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 2f0e4694e0 Add work on data context in components 2020-11-18 11:24:01 +00:00
Andrew Kingston aef49616a7 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-18 11:23:06 +00:00
Andrew Kingston 5aff97deab Fix screen slot placeholder component display 2020-11-17 14:06:43 +00:00
Andrew Kingston 5fbf3502ce Fix selected component border in builder preview 2020-11-17 12:20:40 +00:00
Andrew Kingston 94458b3907 Add lots of new work on client library rewrite 2020-11-17 12:08:24 +00:00
Andrew Kingston cbeea17db0 Add initial new routing and svelte client app generation 2020-11-13 15:42:32 +00:00
Martin McKeaveney a1c3cc6745 show quota errors when deployments fail 2020-11-13 14:32:47 +00:00
kevmodrome 9799a405fd
sets everything up to be used with a longform type in the Form component 2020-11-13 11:31:00 +01:00
kevmodrome 24f9ee9d62
adds non-working RichText component 2020-11-13 11:12:38 +01:00
Andrew Kingston a29f428f61 Fix log out not working 2020-11-12 12:27:53 +00:00
Andrew Kingston 33e2ee427d Replace all manual API interaction with SDK 2020-11-12 12:24:45 +00:00
Andrew Kingston aa70eab935 Add majority of API interactions to SDK 2020-11-12 09:07:09 +00:00
Andrew Kingston e24a89af56 Tidy up standard components 2020-11-11 14:26:33 +00:00
mike12345567 f57acfdf16 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 31c083d5ba Add colour palette options for charts 2020-11-05 13:37:28 +00:00
Andrew Kingston 732685ec60 Ensure candlestick chart works with either our own date formats as well as timestamps 2020-11-05 13:27:29 +00:00
Andrew Kingston 209f717d89 Fix lint 2020-11-04 15:59:26 +00:00
Andrew Kingston ff16e90f6e Fix warning when no data source and increase robustness of charts 2020-11-04 15:56:57 +00:00
Andrew Kingston 09302d4f45 Separate chart loading state from error state 2020-11-04 15:43:43 +00:00
Andrew Kingston 3457b308b2 Add candlestick chart 2020-11-04 15:21:11 +00:00
Andrew Kingston c7ef9faca8 Improve chart robustness even more 2020-11-04 14:21:48 +00:00
Andrew Kingston 9055744a5c Improve robustness of pie and donut charts 2020-11-04 13:08:59 +00:00
Andrew Kingston 0c48a20581 Add support for dates and increase robustness 2020-11-04 12:43:56 +00:00
Andrew Kingston 7130d070c8 Merge branch 'master' of github.com:Budibase/budibase into apex-charts 2020-11-04 09:02:56 +00:00
Andrew Kingston c98e59d7f6 Fix legends not being centered and use common chart component 2020-11-03 16:14:57 +00:00
Andrew Kingston 91ef7fd0a7 Add area chart and unit formatting 2020-11-03 14:32:21 +00:00
Michael Drury 957706fc91 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 a35b6a57f9 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 3d84b831e9 Add pie and donut charts 2020-11-03 11:50:55 +00:00
Andrew Kingston 4f2079509c Remove log statement 2020-11-03 10:03:19 +00:00
Andrew Kingston ae876c6c09 Add stacked option to bar chart 2020-11-03 09:48:35 +00:00
Andrew Kingston 0ea30587de Add line chart and enable multiple data series for all charts 2020-11-03 09:43:45 +00:00
Michael Drury 215e1251bc Some further work, logout and preview appear to be working much better now. 2020-11-02 22:46:31 +00:00
Andrew Kingston ab78620b32 Add bar chart with initial apex charts config 2020-11-02 15:32:37 +00:00
Andrew Kingston 9c1515267a Merge ag-grid backend UI and update styles 2020-10-28 15:20:56 +00:00
Andrew Kingston ced34d9672 Format with prettier 2020-10-27 15:28:13 +00:00
Andrew Kingston ddc865940e Remove bunch of unused components and tidy up unused references 2020-10-27 09:10:20 +00:00
Martin McKeaveney 4714416e24 more ag grid styling 2020-10-23 17:38:10 +01:00
Andrew Kingston b49e49ba36 Allow binding images to attachment types 2020-10-20 12:23:52 +01:00
Martin McKeaveney 500be144ef
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 5578e48f34 stop multiple creates on save record 2020-10-16 22:46:15 +01:00
Martin McKeaveney d44ff8ceeb Merge branch 'master' of github.com:Budibase/budibase into fix-issues 2020-10-16 21:41:58 +01:00
Michael Shanks 3f53e2958b Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-16 21:39:51 +01:00
Martin McKeaveney ab50887102 Merge branch 'master' of github.com:Budibase/budibase into fix-issues 2020-10-16 17:18:11 +01:00
Michael Shanks 5027a6e49a removes unused components 2020-10-16 16:04:49 +01:00
Andrew Kingston 5253534a05 Fix link 2020-10-16 16:00:26 +01:00
Andrew Kingston 6b077d86fd Fix login component with login app names 2020-10-16 15:32:02 +01:00
Martin McKeaveney bd2fec7594 allow calculation views to be used in context components again 2020-10-16 15:26:08 +01:00
Andrew Kingston 8149ad848f Add new DetailScreenSelect component for selecting only detail screens and update detail linking in grids 2020-10-16 15:16:29 +01:00
mike12345567 691ce5420f Linting. 2020-10-16 13:50:18 +01:00
Andrew Kingston 42469e069d Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 12:57:29 +01:00
Andrew Kingston 5c9c7e0a2d Make detail column sticky and left orientated and fix crash with options inside grid 2020-10-16 12:55:20 +01:00
Michael Drury e3514b5250
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 cf68101745
Merge branch 'master' into feature/remove-add-row-button-in-grid-component 2020-10-16 11:14:26 +02:00
Andrew Kingston 0f8eaeedf2 Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 10:00:22 +01:00
mike12345567 f31cd884ec linting 2020-10-16 09:54:35 +01:00
mike12345567 77f70d035b Merge branch 'master' of github.com:Budibase/budibase into bug/casing-table-fix 2020-10-16 09:53:38 +01:00
Kevin Åberg Kultalahti 7d1e8398f8
Merge branch 'master' into feature/add-edit-button-custom-renderer-for-grid-component 2020-10-16 10:37:22 +02:00
mike12345567 ea772c0342 Removing the pretty function on DataGrids to match the backend. 2020-10-16 09:33:17 +01:00
Andrew Kingston e21059c74f Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 08:39:06 +01:00
Andrew Kingston 9f797215e5 Adjust button styles in line with new designs 2020-10-16 08:35:15 +01:00
Andrew Kingston ffb73b15dd Adjust form styles in line with new designs 2020-10-16 08:34:56 +01:00
Andrew Kingston 6abd2ad5a7 Change Text component display to inline-block to text-transform works 2020-10-16 08:34:17 +01:00
kevmodrome 3c22405e1c
change color to grey 2020-10-15 20:56:58 +02:00
kevmodrome db2946d360
url now takes the same format as in other components 2020-10-15 20:10:06 +02:00
kevmodrome f3a759f968
lint fixes 2020-10-15 20:06:26 +02:00
kevmodrome 67e575bd94
minor fixes 2020-10-15 20:05:55 +02:00
kevmodrome b9a55d7033
adds detail link column to grid component 2020-10-15 19:59:46 +02:00
mike12345567 99b5efc40f Formatting. 2020-10-15 18:11:36 +01:00
kevmodrome 8a8762760a
starts work on adding view details link to grid component 2020-10-15 18:54:08 +02:00
Martin McKeaveney e300134186 lint 2020-10-15 17:05:09 +01:00
Andrew Kingston 6866653032 Improve login component logo styles 2020-10-15 16:37:50 +01:00
kevmodrome 3765b4a463
fixes jumpy behaviour when selecting rows 2020-10-15 16:24:03 +02:00
kevmodrome c4681f2058
removes add row button on grid component 2020-10-15 16:15:28 +02:00
Martin McKeaveney e66b013d10 merge 2020-10-15 15:12:54 +01:00
kevmodrome d265f1fce6
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 cc885f4852
adds stopPropagation modifier to delete file button 2020-10-15 15:58:21 +02:00
Kevin Åberg Kultalahti 41208e513a
Merge branch 'master' into feature/add-delete-button-to-attachments 2020-10-15 15:54:43 +02:00
kevmodrome 1062817cdb
adjust button size 2020-10-15 15:51:50 +02:00
kevmodrome 30cab52613
removes commented out code 2020-10-15 15:46:24 +02:00
Martin McKeaveney fab9f8f1c8 merge from master 2020-10-15 14:41:29 +01:00
kevmodrome cd091efcf7
lint fix 2020-10-15 15:36:20 +02:00
kevmodrome 50d9c3c80e
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 42225e4f58 Merge branch 'master' of github.com:Budibase/budibase into bug/fixing-more-bugs 2020-10-15 13:55:13 +01:00
mike12345567 bbe085f734 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 0c78b4cd43 Remove old param 2020-10-15 12:22:34 +01:00
Andrew Kingston f058fd9f7c Use named export for tableCache 2020-10-15 12:21:30 +01:00
Andrew Kingston 81ca0fdd1c Improve grid relationship handling of null or empty values 2020-10-15 12:16:32 +01:00
Martin McKeaveney 3ba8f19e7f more filtering updates 2020-10-15 12:09:41 +01:00
Andrew Kingston 2c611574e3 Prevent editing relationship columns 2020-10-15 11:55:06 +01:00
Andrew Kingston 754ccf0e79 Add more opinionated styling to relationship display in grid 2020-10-15 11:54:34 +01:00
Andrew Kingston a1543e0b4f Add support for rendering real relationships inside grid 2020-10-15 11:08:56 +01:00
Martin McKeaveney 11927d2340 adding sum and count functionality, preventing user from doing bad filters 2020-10-15 10:48:57 +01:00
Andrew Kingston 313b26982e Rename usages of primary display column to just display column 2020-10-14 20:38:32 +01:00
Andrew Kingston 9f9cc46988 Fix logout functionality 2020-10-14 20:28:02 +01:00
Andrew Kingston d026289aa4 Add log out functionality 2020-10-14 20:12:41 +01:00
Andrew Kingston c6cb01c759 Updating login component form error style slightly 2020-10-14 20:12:27 +01:00
Andrew Kingston 8281e3a676 Merge branch 'master' of github.com:Budibase/budibase into screen-updates 2020-10-14 19:40:45 +01:00
Martin McKeaveney c329063f61 fix for appid referer split 2020-10-14 17:30:00 +01:00
Andrew Kingston 32df91895e Merge branch 'master' of github.com:Budibase/budibase into screen-updates 2020-10-14 17:09:50 +01:00
Andrew Kingston 07fb3dccd4 Update Login component 2020-10-14 17:06:20 +01:00
Andrew Kingston ddd7868611 Update navigation component 2020-10-14 17:06:02 +01:00
Martin McKeaveney a8dfb34112 don't show login component on logged in page, fix auth for app assets 2020-10-14 16:47:53 +01:00
Martin McKeaveney 1601a9b2a2 lint 2020-10-14 15:13:22 +01:00
Martin McKeaveney 78ae3f194c merge 2020-10-14 15:08:54 +01:00
Martin McKeaveney d2a7bf55a7 lint 2020-10-14 13:21:43 +01:00
Andrew Kingston 5251efd837 Remove console.log statements 2020-10-14 10:06:33 +01:00
Andrew Kingston 4d42e722a3 Fix grid not allowing adding rows due to model -> table rename 2020-10-14 09:53:27 +01:00
Andrew Kingston f6a388b38a Fix errors being thrown when nesting certain components without picking a datasource 2020-10-14 09:39:49 +01:00
Andrew Kingston 53bbbd2b04 Fix errors being thrown by grid and table 2020-10-14 09:34:23 +01:00
Andrew Kingston 59174c4c1a Improve grid and table rendering of any type of datasource 2020-10-14 09:23:20 +01:00
Martin McKeaveney d9bb6aad2d fixing funky svelte prettier issue 2020-10-13 21:37:55 +01:00
Martin McKeaveney e95af51cde simplify user authentication, remove anon user, fix login cookie issues 2020-10-13 21:33:56 +01:00
Andrew Kingston 8a10ea899c Fix data table and grid rendering views 2020-10-13 19:58:36 +01:00
Martin McKeaveney f921f4c090 fix issues from eslint plugin prettier 2020-10-13 16:33:45 +01:00
Martin McKeaveney 34bfef5661 bulk deletes on grid 2020-10-13 16:17:07 +01:00
Martin McKeaveney d5a053304f Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 12:52:55 +01:00
Michael Drury d637ebbdb4
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 50d2f45446
fixes height issue with grid component 2020-10-13 12:15:44 +02:00
Martin McKeaveney 6fe15f9bef Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 10:59:31 +01:00
Martin McKeaveney 78aae99e39 prevent duplicate table names 2020-10-13 10:59:24 +01:00
mike12345567 5354d66366 Fixing problem where something injected [object Object] into the source code? 2020-10-13 10:35:10 +01:00
mike12345567 80b011141d Formatting codebase. 2020-10-13 10:04:29 +01:00
mike12345567 1140f65282 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 d8e349ddaa Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-13 09:24:13 +01:00
Andrew Kingston 95d5836552 Add relationships as possible datasource for grid 2020-10-13 09:22:47 +01:00
kevmodrome 6ac9c59bbb
adds pagination option 2020-10-13 09:51:01 +02:00
kevmodrome 4ad2fb47d5
adds height option to grid component 2020-10-13 09:13:56 +02:00
Andrew Kingston 72676623b8 Fix grid crash when there are no related rows in a link field 2020-10-13 08:12:03 +01:00
Andrew Kingston 3ba79b0071 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 21:35:51 +01:00
mike12345567 f221d35ab8 Updating data grid components which had model/record still defined in them. 2020-10-12 21:31:58 +01:00
Martin McKeaveney 10cef93195 merge with new grid 2020-10-12 20:25:15 +01:00
kevmodrome b5a5ac8970
fix editable header column not hiding when grid is un-editable 2020-10-12 20:44:40 +02:00
Andrew Kingston 47e9cd64cb Fix crash when no linked records in DataTable 2020-10-12 18:47:25 +01:00
kevmodrome 1e1662d265
lint fixes 2020-10-12 18:54:18 +02:00
kevmodrome 14dc81e994
sets correct editable values on fields 2020-10-12 18:42:47 +02:00
Andrew Kingston 3fa4561edb 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 5450cca9f4 Fix linked record selector rendering in client apps 2020-10-12 14:19:54 +01:00
mike12345567 53d765b849 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +01:00
kevmodrome a161288dc9
merge master 2020-10-12 12:58:20 +02:00
kevmodrome 5691dc5c67
merge master 2020-10-12 12:56:27 +02:00
Andrew Kingston 42019dd546 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 11:26:04 +01:00
Andrew Kingston 7ca3a65c54 Fix falsey table values not being rendered 2020-10-12 11:02:03 +01:00
Michael Shanks d62ed0fb48 fix: New & Detail not displaying components when no model selected 2020-10-12 10:51:20 +01:00
kevmodrome 12dda8ee0d
turns off some functionality and adds theme options 2020-10-12 11:44:43 +02:00
Michael Shanks 3059c605d1 merge from master 2020-10-11 20:34:13 +01:00
mike12345567 d90c1e3dd3 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 bb3370e742 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 1758243de9 renaming Record > Row 2020-10-09 17:12:55 +01:00
kevmodrome 048021abaa
re-enable event 2020-10-09 13:48:36 +02:00
Andrew Kingston 13506be0fa Fix issue displaying linked records in a table 2020-10-09 12:42:56 +01:00
Andrew Kingston 1091526e1f Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-09 12:34:25 +01:00
Andrew Kingston d1f367ccff Add relationships as data source 2020-10-09 12:24:18 +01:00
kevmodrome ba1d268639
Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-09 13:08:03 +02:00
Michael Shanks f1eeb17dd3 auto create screens with new table 2020-10-09 11:58:46 +01:00
kevmodrome 2af12c6801
adds editable setting 2020-10-09 12:42:16 +02:00
kevmodrome 892bac9808
move important stuff up top 2020-10-09 11:43:35 +02:00
kevmodrome 00d5857232
refactor and clean up 2020-10-09 11:35:52 +02:00
kevmodrome 4f3ebb29e9
adds options type support to grid component 2020-10-09 11:23:42 +02:00
Michael Shanks fcb093699d merge from master 2020-10-08 22:11:45 +01:00
Michael Shanks 58b5502f77 Save Record Action 2020-10-08 22:06:44 +01:00
Martin McKeaveney f595392843 fixing optional chaining operator in standard components 2020-10-08 20:31:13 +01:00
kevmodrome 48d7ff19c9
fix optional chaining error and adds guard for no model selected. 2020-10-08 17:45:47 +02:00