Commit Graph

452 Commits

Author SHA1 Message Date
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
kevmodrome d94a9b193b adds multiple selection delete functionality 2020-09-28 15:32:06 +02:00
kevmodrome 0a398c43c3 bumps svelte-ag-grid component. 2020-09-28 11:51:37 +02:00
kevmodrome 01dd735342 remove logs 2020-09-28 10:58:38 +02:00
kevmodrome 1ea709e356 handle no data scenario 2020-09-28 10:58:06 +02:00
kevmodrome dcb7d02a5f use Map() to handle renderers 2020-09-28 10:55:50 +02:00
kevmodrome e8e3a4c793 adds custom renderer for bool fields 2020-09-28 10:53:19 +02:00
kevmodrome 67e176a69d updates grid componenet to use model schema insteady of first row keys of datasource 2020-09-28 09:15:43 +02:00
kevmodrome 38a2d9df14 wip: add record saving functionality 2020-09-28 09:09:08 +02:00
kevmodrome 2df74f1b99 adds rudimentary form to handle input of new rows 2020-09-25 12:32:38 +02:00
kevmodrome ed69526375 adds ag-grid component to display data 2020-09-25 11:44:05 +02:00
Martin McKeaveney 6e9c238054 use bbui component for dropzone 2020-09-24 15:50:51 +01:00
Martin McKeaveney 31c6450f5e tidy up 2020-09-23 21:03:13 +01:00
Martin McKeaveney fd97c14a50 lint, tidy up and some simplification 2020-09-23 17:29:32 +01:00
Martin McKeaveney ccebe283cc abstract local file upload logic 2020-09-23 17:02:06 +01:00
Martin McKeaveney 6b00fb2d8e local file upload from apps 2020-09-23 16:15:09 +01:00
Conor Mack c49e906e5e Merge branch 'master' of https://github.com/Budibase/budibase into feature/icon-component 2020-09-15 13:44:44 +01:00
Conor Mack fa88c68c0e Icon and Icon Select Component 2020-09-15 11:53:02 +01:00
Martin McKeaveney 784fac5018 lint 2020-09-14 15:41:20 +01:00
Martin McKeaveney 7dea1c1537 adding bbui styles into standard-components 2020-09-14 15:12:02 +01:00
Conor Mack a14e5dcee4 Icon and IconSelect Components 2020-09-14 11:08:03 +01:00
Michael Shanks 6b524caf9f Merge branch 'master' into event-panel 2020-09-11 12:04:25 +01:00
Michael Shanks 04f3ed5ec3 Merge branch 'master' into event-panel + binding fixes 2020-09-10 21:55:04 +01:00
Martin McKeaveney 8e3b3ca684 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 d3225cb51f events hooked up and working 2020-09-10 21:11:05 +01:00
Conor Mack cc154e3ca2 Line Chart - Prop Defaults, Custom Date Formats 2020-09-10 15:58:32 +01:00
Martin McKeaveney c4eda0f1e7 bind checked 2020-09-10 13:10:57 +01:00
Martin McKeaveney 2abd6ed7b2 tidy up 2020-09-10 13:09:44 +01:00
Martin McKeaveney 44426b6bf8 data form component date picker aware, form component refactor 2020-09-10 13:04:45 +01:00
Martin McKeaveney e41bdf7372 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
Victoria Sloan da736594f1 Merge branch 'master' into removing-uikit-05
# Conflicts:
#	packages/standard-components/dist/index.js.map
2020-09-04 21:45:33 +01:00
Conor Mack b87a2a3e96 Increase Line SVG Height to show X Label 2020-09-04 15:52:01 +01:00
Conor Mack 2544fdf13c Merging with master and fixing conflicts 2020-09-03 15:12:07 +01:00
Tori Sloan c2f0d005d1 Merge branch 'master' into removing-uikit-05 2020-09-03 09:07:22 +01:00
cmack 8dec9b5869 Single Calculation Views When Not Grouped 2020-09-02 11:52:32 +01:00
Victoria Sloan 0910f3b34c bbui version updated to latest & updated Label component used 2020-09-01 21:28:38 +01:00
Victoria Sloan 1d4e86621e updating bbui version and replacing uk-form-label with bbui Label component 2020-08-30 15:28:46 +01:00
cmack 72bb96f19d Use datasource label for tooltip title 2020-08-28 14:47:03 +01:00
cmack ab073c1874 Tidyup - remove logs 2020-08-27 10:08:42 +01:00
cmack 1e38350199 Integration of Backend and Data Components 2020-08-26 17:03:30 +01:00
kevmodrome 300f18927f merge master 2020-08-26 09:11:16 +02:00
cmack 6684b31305 Name and Value Selects that depend on Model / View 2020-08-25 16:38:20 +01:00
cmack 35522d6da3 Data fetching for datatable component 2020-08-25 11:12:37 +01:00
cmack fc0d5d65bb ModelViewSelect updates, Fetchdata, Chart Hooks 2020-08-24 16:26:00 +01:00
Martin McKeaveney d2638e0150 merge 2020-08-19 17:14:30 +01:00
cmack 0a489eed13 Minor Tidyup - Logs, Dead Code, Comments 2020-08-19 10:34:20 +01:00
Conor_Mack 657be43858 Merge branch 'master' into britecharts/separate-components-2 2020-08-18 15:50:02 +01:00
cmack 60524e801e Completion Bug Fixes and Updates 2020-08-18 15:45:44 +01:00
cmack 56571e983b Functional Linechart 2020-08-17 13:59:09 +01:00
Martin McKeaveney bf46067fe1 new view foundations 2020-08-13 15:04:19 +01:00
Michael Shanks 5ab905067f merge from master 2020-08-13 11:50:12 +01:00
Joe 3922298f58 Rename CardHorizontal.Svelte to CardHorizontal.svelte 2020-08-13 10:57:29 +01:00
Joe a4ed18654d Rename Card.Svelte to Card.svelte 2020-08-13 10:56:50 +01:00
Joe 1700c30d44 Let changed to const 2020-08-13 10:54:43 +01:00
Joe dcb6617937 Update color for subtext 2020-08-13 10:45:25 +01:00
Joe 562ed099d8 Text color update 2020-08-13 10:35:20 +01:00
Joe 6dc0a3a0d3 New card component 2020-08-13 08:58:48 +01:00
cmack 41a46847e5 Chart Fix - Import BC CSS and use Postcss 2020-08-12 17:41:12 +01:00
cmack db969e0f5c Merge branch 'master' of https://github.com/Budibase/budibase into britecharts/separate-components-2 2020-08-12 10:18:47 +01:00
cmack e4b4c5723f WIP: Chart Tests and Line Refactor 2020-08-12 10:02:36 +01:00
cmack fe8bb832b7 Completed Tooltip 2020-08-10 16:06:52 +01:00
cmack d7e47d67e3 Completed Groupedbar and work on Tooltip 2020-08-10 15:33:32 +01:00
cmack 911ba8b7d5 Minor Updates 2020-08-10 10:32:46 +01:00
cmack afddecbb97 Linting 2020-08-07 14:49:53 +01:00
cmack 5bd39c81cc Tidyup 2020-08-07 14:46:00 +01:00
cmack 4dbd635985 Fix for name and value fields donut 2020-08-07 14:28:55 +01:00
cmack bba3c90cf5 Donut chart for demo 2020-08-07 12:57:07 +01:00
cmack 9ddf8d07ec Bar chart with tests and general bug fixes 2020-08-06 17:15:57 +01:00
cmack ad75a142ea Tidyup 2020-08-05 17:05:06 +01:00
cmack 2cd8d09822 Latest Donut and Legend Updates 2020-08-05 16:57:54 +01:00
cmack f1dd3e8a3d Chart legend and UI Updates 2020-08-05 14:19:56 +01:00
cmack efbd3b7c86 Separate Legend into its own component 2020-08-04 16:21:51 +01:00
cmack 31dbf8e82f Table / model integration for charts 2020-08-04 13:55:26 +01:00
cmack bbf32cda75 Merge branch 'master' of https://github.com/Budibase/budibase into britecharts/separate-components-2 2020-08-04 10:06:10 +01:00
cmack 31820c1bbf Adding mode functionality to Donut 2020-08-04 10:02:58 +01:00
cmack ac9d5e660d Re-adding datachart for testing 2020-08-03 14:42:37 +01:00
cmack b2aadc36d5 StackedArea and other Chart Stuff 2020-08-03 11:55:13 +01:00
Michael Shanks be1017e8ac Merge pull request #480 from mjashanks/master
Form Components now have default values for all fields
2020-08-03 11:13:08 +01:00
Michael Shanks c8d809aded Merge pull request #516 from Budibase/table-sorting
Table sorting
2020-08-03 11:03:59 +01:00
Joe f385cbf305 Stacked list component added 2020-07-31 12:02:29 +01:00
cmack a0d9bd9774 WIP: Groupedbar, Heatmap and Sparkline Charts 2020-07-30 16:39:56 +01:00
cmack f667f05f19 WIP: Bar, Brush, Bullet, Donut and Line 2020-07-29 16:35:44 +01:00
Martin McKeaveney 4b8ac1a270 tidy up 2020-07-29 13:21:32 +01:00
Martin McKeaveney 3efc406463 icons wrong way round 2020-07-29 13:12:13 +01:00
Martin McKeaveney d53afb175b table sorting for datatable 2020-07-29 13:11:29 +01:00
Martin McKeaveney 7e80c1b4b9 improved sorting logic 2020-07-28 19:40:52 +01:00
Martin McKeaveney a62c8608c9 initial table sorting algo 2020-07-28 17:43:29 +01:00
cmack 5d14efb201 bar chart 2020-07-28 14:19:46 +01:00
Martin McKeaveney 284474db4b merge 2020-07-28 11:14:44 +01:00
cmack d56c801c6f Britecharts work so far 2020-07-26 11:54:55 +01:00
Michael Shanks 1b04b64177 Form: setting default values on record fields 2020-07-21 12:16:05 +01:00
cmack cae50603ae WIP: Work so far 2020-07-20 16:25:50 +01:00
Joe 1db1ad1a45 Layout update
The backend table was pushing the right panel out of sight on smaller screens. I have added css grid to control the layout, including a minimax section so the content does not dictate the size of the middle screen.
2020-07-14 14:52:11 +01:00
Joe ed7b5b779e Various minor UI updates including the settings modal
Settings modal update includies, improved spacing, element sizing. Working with this part of the platform felt a little brittle. It might be the fact it's a modal.

The frontend component section had a different layout that the block section in the backend and workflow section - updated to follow suit.

Dataform button updated and improved.

Settings button color updated

Additonal data blocks added which are pretty popular (not essential but took me mew a seconds to add and will save me a decent bit in the future)
2020-07-12 19:19:12 +01:00
Michael Shanks 237bad8bd5 Merge branch 'master' of github.com:Budibase/budibase 2020-07-09 13:12:59 +01:00
Martin McKeaveney 7c5da11836 PR Comments 2020-07-08 16:31:26 +01:00