Commit Graph

518 Commits

Author SHA1 Message Date
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
Michael Shanks eaa8d91392 merge from master - including fixes 2020-10-08 16:15:12 +01:00
kevmodrome 7b54bdacd5
add dateRenderer 2020-10-08 16:23:13 +02:00
kevmodrome 39671e76cd
move renderer map to separate file 2020-10-08 15:34:47 +02:00
kevmodrome 91e27804e5
merge master 2020-10-08 14:37:57 +02:00
Andrew Kingston b71ba5b3fb Unify DataForm and DataFormWide by using single component with BBUI styles 2020-10-08 10:42:53 +01:00
Michael Shanks fb5503d10e RecordDetail & NewRecord now baseComponents 2020-10-07 22:30:51 +01:00
kevmodrome 8ad6d2f886
fixes editable cell bug 2020-10-07 10:06:23 +02:00
Andrew Kingston f83f2b707b Add support for displaying linked record counts in List and RecordDetail 2020-10-06 18:01:23 +01:00
Andrew Kingston c10f5112d4 Add linked records to dataforms and use BBUI components and pretty errors 2020-10-06 16:46:23 +01:00
Andrew Kingston 37f3d21a00 Remove console log statement 2020-10-06 16:40:23 +01:00
Andrew Kingston e91b62ef2e Use real schema for datatable rather than first row's keys 2020-10-06 16:39:24 +01:00
Andrew Kingston 11c4f237d3 Add default file prop to AttachmentList to prevent crashing when no files exist 2020-10-06 16:22:11 +01:00
Andrew Kingston 21796d9f98 Add support for displaying linked records in DataTable 2020-10-06 16:05:52 +01:00
kevmodrome e6ca68d1e9
merge master 2020-10-02 14:39:00 +02:00
kevmodrome e501679813
data now syncs in the grid 2020-10-02 10:12:18 +02:00
kevmodrome 193f536834
adds add row functionality to grid component 2020-10-02 09:43:56 +02:00
kevmodrome 09a26a286a
adds events when records are deleted and adds more stylish controls 2020-09-29 11:05:55 +02:00
kevmodrome 0d68d40cfb
adds multiple selection delete functionality 2020-09-28 15:32:06 +02:00
kevmodrome 1068b067a8
bumps svelte-ag-grid component. 2020-09-28 11:51:37 +02:00
kevmodrome 3d7bde554d
remove logs 2020-09-28 10:58:38 +02:00
kevmodrome 5505ad3cda
handle no data scenario 2020-09-28 10:58:06 +02:00
kevmodrome 3523b3dbf7
use Map() to handle renderers 2020-09-28 10:55:50 +02:00
kevmodrome b92ae95353
adds custom renderer for bool fields 2020-09-28 10:53:19 +02:00
kevmodrome 564192a525
updates grid componenet to use model schema insteady of first row keys of datasource 2020-09-28 09:15:43 +02:00
kevmodrome 8d5685c5e4
wip: add record saving functionality 2020-09-28 09:09:08 +02:00
kevmodrome b5359254ee
adds rudimentary form to handle input of new rows 2020-09-25 12:32:38 +02:00
kevmodrome 0e3e9d9f19
adds ag-grid component to display data 2020-09-25 11:44:05 +02:00
Martin McKeaveney 11c8010c91 use bbui component for dropzone 2020-09-24 15:50:51 +01:00
Martin McKeaveney e3c72c9020 tidy up 2020-09-23 21:03:13 +01:00
Martin McKeaveney 329e885ab6 lint, tidy up and some simplification 2020-09-23 17:29:32 +01:00
Martin McKeaveney 938f675922 abstract local file upload logic 2020-09-23 17:02:06 +01:00
Martin McKeaveney f40f388dd8 local file upload from apps 2020-09-23 16:15:09 +01:00
Conor Mack 611e77cf0a Merge branch 'master' of https://github.com/Budibase/budibase into feature/icon-component 2020-09-15 13:44:44 +01:00
Conor Mack 655b39c39c Icon and Icon Select Component 2020-09-15 11:53:02 +01:00
Martin McKeaveney 8cd5076f96 lint 2020-09-14 15:41:20 +01:00
Martin McKeaveney 23353f2e60 adding bbui styles into standard-components 2020-09-14 15:12:02 +01:00
Conor Mack bc82e8064a Icon and IconSelect Components 2020-09-14 11:08:03 +01:00
Michael Shanks ac72852563 Merge branch 'master' into event-panel 2020-09-11 12:04:25 +01:00
Michael Shanks 95da4c8d2c Merge branch 'master' into event-panel + binding fixes 2020-09-10 21:55:04 +01:00
Martin McKeaveney 960f8f7893
Merge pull request #592 from Budibase/dataform-datepicker
data form component date picker aware, form component refactor
2020-09-10 21:42:33 +01:00
Michael Shanks 14aa33705f events hooked up and working 2020-09-10 21:11:05 +01:00
Conor Mack 9941de0404 Line Chart - Prop Defaults, Custom Date Formats 2020-09-10 15:58:32 +01:00
Martin McKeaveney 0e20a73851 bind checked 2020-09-10 13:10:57 +01:00
Martin McKeaveney 478761175c tidy up 2020-09-10 13:09:44 +01:00
Martin McKeaveney 1b63042ca8 data form component date picker aware, form component refactor 2020-09-10 13:04:45 +01:00
Martin McKeaveney 20bd4b3087
date picker component (#591)
* date picker component

* use bbui date picker in standard components

* using bbui component
2020-09-09 17:04:49 +01:00