Commit Graph

890 Commits

Author SHA1 Message Date
mike12345567 6362c5ffdc Fixes the link doc ID so that they do not start with automation ID and fixes an error that was occurring when creating tables. 2020-10-12 14:31:17 +01:00
Andrew Kingston 448b0ca2ae Replace bindings to link fields with new count runtime property 2020-10-12 14:14:50 +01:00
mike12345567 53d765b849 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +01: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
Michael Shanks 3a97e0ffd2 renamed screen template 2020-10-12 10:59:23 +01:00
Andrew Kingston 644f45e1c1 Remove console log 2020-10-12 10:50:29 +01:00
Michael Shanks 02dcc07f84 review: better naming of screen templates 2020-10-12 10:50:19 +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
Andrew Kingston d1f367ccff Add relationships as data source 2020-10-09 12:24:18 +01:00
Michael Shanks f1eeb17dd3 auto create screens with new table 2020-10-09 11:58:46 +01:00
Michael Shanks eaa8d91392 merge from master - including fixes 2020-10-08 16:15:12 +01:00
Michael Shanks df4243abfa screen templates - backup before merge from master 2020-10-08 15:46:29 +01:00
Andrew Kingston cb0b7b9b5b Fix frontend crashing when adding components to a data provider component with no source 2020-10-08 09:48:03 +01:00
Michael Shanks b7eb1a35e8 Screen templates working 2020-10-07 22:30:00 +01:00
Michael Shanks cdbd70c218 Screen templates - initial commit 2020-10-07 15:40:06 +01:00
Andrew Kingston fd4a7d95bc Fix a couple of crashes in frontend when doing various actions and fix record detail view 2020-10-06 16:04:58 +01:00
Michael Shanks 69292c353c analytics - identify user + extra actions added 2020-09-29 15:26:56 +01:00
mike12345567 5f2acaff01 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-21 14:01:00 +01:00
mike12345567 b2d06b7a06 Merge branch 'master' of github.com:Budibase/budibase into contextual-workflows 2020-09-21 13:52:26 +01:00
mike12345567 88d22baf1a Renaming workflows -> automate/automations, throughout the API and the builder itself. 2020-09-21 13:49:34 +01:00
mike12345567 17588d9f6b Fix for when table is deleted, was attempting to retrieve views for the table which no longer exists. 2020-09-18 16:45:03 +01:00
Martin McKeaveney 319fcabaa5 removing delete functionality - not necessary 2020-09-18 12:41:39 +01:00
Martin McKeaveney 642662c8bc fix transition dropdown bug 2020-09-17 22:02:30 +01:00
Martin McKeaveney 5d3867558a merge with master 2020-09-17 16:40:09 +01:00
Martin McKeaveney bb2058a010 lint 2020-09-17 16:36:39 +01:00
mike12345567 ec265f6821 Update to improve test cases and get JOI to work as expected. 2020-09-16 19:25:52 +01:00
Martin McKeaveney 86ae8d038a file attachments and processing working, basic design for dropzone 2020-09-15 16:22:13 +01:00
mike12345567 e14677fcff Small fix for last change, singular to plural in API definition. 2020-09-14 16:00:51 +01:00
mike12345567 b1a8837c0c Adding new API endpoint which provides all definitions in one. 2020-09-14 15:34:09 +01:00
Andrew Kingston 8befaee4d0 Fix cypress test for create workflow 2020-09-14 13:29:32 +01:00
Andrew Kingston 6fe55814c2 Fix workflow tests 2020-09-14 12:38:17 +01:00
Andrew Kingston 8db6122416 Fix unsaved workflow blocks sharing same state 2020-09-14 11:48:08 +01:00
Andrew Kingston b1b8061c3e Merge in master 2020-09-14 10:16:09 +01:00
Andrew Kingston e79d4f11c9 Add working test workflow button 2020-09-14 09:33:18 +01:00
Michael Shanks fe8c870050 some mutating function parameter 2020-09-11 21:30:40 +01:00
Andrew Kingston bee9415942 Rewrite workflow editing state for better UI sync 2020-09-11 14:23:31 +01:00
Michael Shanks ed23f23c89 some comments 2020-09-11 09:53:02 +01:00
Michael Shanks 95da4c8d2c Merge branch 'master' into event-panel + binding fixes 2020-09-10 21:55:04 +01:00
Andrew Kingston bf7974aca5 Update to use stepId for workflows and improve workflow UX when editing blocks 2020-09-10 15:27:39 +01:00
Andrew Kingston 75d669f2bd Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-10 15:01:45 +01:00
Andrew Kingston c280a634fb Load workflow blocks from server and remove block definitions from builder 2020-09-10 14:16:43 +01:00
Michael Shanks cb9fd4d1cd events: Update record workings 2020-09-09 21:16:26 +01:00
Michael Shanks 184aa65de0 Merge branch 'master' into event-panel 2020-09-09 15:59:57 +01:00
Michael Shanks 870561d63d backup before a merge 2020-09-09 15:56:31 +01:00
Conor Mack e667b78b10 Tidyup 2020-09-08 16:15:14 +01:00
Conor Mack 70b390aa1f Selects for Screens in Events and Settings 2020-09-08 16:03:04 +01:00
Michael Shanks 82e99c3fd7 some styling changes from code review 2020-08-27 10:00:36 +01:00
Michael Shanks f1d3e8af3a Merge branch 'master' into feature/binding-interface 2020-08-27 09:39:11 +01:00
Michael Shanks 5095b4596f
Merge pull request #536 from mjashanks/dnd
Few Dnd Bugfixes
2020-08-27 09:33:25 +01:00
kevmodrome 26a5137c3d
merge master 2020-08-26 09:11:16 +02:00
kevmodrome 22679fdf67
adds guards to some properties when they are undefined 2020-08-25 11:25:56 +02:00
kevmodrome f615f5be3b
Merge branch 'feature/binding-interface' into feature/binding-interface-frontend 2020-08-25 10:16:32 +02:00
Martin McKeaveney 1d56d9a2ce cypress tests, lint, feature complete 2020-08-24 15:48:34 +01:00
Martin McKeaveney 40bf90c745 view filters operational 2020-08-24 11:46:28 +01:00
Martin McKeaveney 27b07f2451 renaming bug 2020-08-20 17:04:54 +01:00
Martin McKeaveney 0388f8dbb5 merge 2020-08-19 17:14:30 +01:00
Martin McKeaveney 10635075a5 full cypress suite for custom views 2020-08-19 16:43:04 +01:00
Martin McKeaveney 7e2e90e23c tidy up and lint 2020-08-18 17:14:26 +01:00
Martin McKeaveney d08db301af group by complete 2020-08-18 16:05:15 +01:00
Martin McKeaveney 28b4b6fcb9 deletion of views, statistics calculation popover, unit tests 2020-08-17 21:01:43 +01:00
Martin McKeaveney 6862be744b began UI for custom views 2020-08-14 16:31:53 +01:00
Michael Shanks b21f8d6d02 bugfix: dnd over screenslot was throwing err 2020-08-13 14:02:15 +01:00
Michael Shanks 82afa707f2 merge from master 2020-08-13 11:50:12 +01:00
Michael Shanks 68eb3a8911 auto nesting or not, on add component 2020-08-12 17:00:05 +01:00
kevmodrome 3b525cf71b
initial commit 2020-08-12 17:30:20 +02:00
Michael Shanks 0bb677d5de dnd component nav 2020-08-12 16:28:19 +01:00
Michael Shanks 9a940c0df5 merge from master 2020-08-11 17:31:14 +01:00
Martin McKeaveney f1be92bd41 tidy up + lint 2020-08-11 11:23:07 +01:00
Michael Shanks cc66b17ca8 Merge branch 'master' into feature/binding-interface 2020-08-11 10:46:07 +01:00
Martin McKeaveney 2a04147c4b full cypress suite for new backend 2020-08-10 17:51:30 +01:00
Martin McKeaveney 8a4646ca4c Merge branch 'master' of github.com:Budibase/budibase into new-backend-ui 2020-08-10 16:39:30 +01:00
Martin McKeaveney 6a315767b2 cypress + unit test framework 2020-08-10 15:34:37 +01:00
Martin McKeaveney de93c0f530 new table creation 2020-08-07 18:31:40 +01:00
Martin McKeaveney 9d1979114b column CRUD 2020-08-07 17:41:20 +01:00
Martin McKeaveney 63f3623664 creating rows and columns working 2020-08-07 16:13:57 +01:00
Michael Shanks 877b9a7fd4 new comonent name -
when on master unique across all screens
2020-08-07 14:17:57 +01:00
Michael Shanks c2fd54a250 new component - start numbering at 1 2020-08-07 12:09:48 +01:00
Michael Shanks efd0d39587 new components get unique name 2020-08-07 12:01:16 +01:00
Michael Shanks f5114676e7 updated binding paths (from client lib changes) 2020-08-06 21:27:26 +01:00
Michael Shanks 753fb27eb8 client lib - new binding 2020-08-06 21:12:35 +01:00
Michael Shanks 73b2d63c6e tidyup & JSDoc 2020-08-04 16:31:31 +01:00
Michael Shanks 9bfdf6f8e5 fetchBindableProperties - complete 2020-08-04 16:11:46 +01:00
Michael Shanks 3458b893ca stub bindings 2020-08-04 11:10:02 +01:00
cmack cc3cbb7a5b Merge branch 'master' of https://github.com/Budibase/budibase into britecharts/separate-components-2 2020-08-04 10:06:10 +01:00
Michael Shanks 19bdabfaaf binding - backend initial 2020-08-03 15:06:51 +01:00
cmack 98318a8805 Britecharts work so far 2020-07-26 11:54:55 +01:00
Michael Shanks 3b4c68163d can delete screens 2020-07-21 15:01:32 +01:00
Martin McKeaveney 32cfc40fd4 ensure table name is not persisted between apps 2020-07-21 10:24:09 +01:00
Martin McKeaveney bc89cf4a74 formatting and tidy up 2020-07-14 16:00:58 +01:00
Martin McKeaveney cbc22306cd lint 2020-07-13 19:44:42 +01:00
Martin McKeaveney ec323a69ea identify user in builder 2020-07-13 18:09:32 +01:00
Martin McKeaveney a5c27e362d lint 2020-07-13 17:15:22 +01:00
Martin McKeaveney b0599fc9c4 posthog analytics 2020-07-13 17:12:54 +01:00
Kevin Åberg Kultalahti b5ae3a280a
Merge pull request #399 from Budibase/features/edit-application-info
Features/edit application info
2020-07-02 12:14:31 +02:00
Michael Shanks abb14214db backend - routing based on models 2020-06-30 14:12:37 +01:00
kevmodrome 712e3ffea0
change appname to name in builderStore 2020-06-29 17:01:10 +02:00
Martin McKeaveney fb382329b8 lint 2020-06-25 22:43:10 +01:00
Martin McKeaveney 6ef4ba086c data model rewrite 2020-06-25 22:34:38 +01:00
Martin McKeaveney 48f3392152 record keys as names 2020-06-25 20:04:58 +01:00
Martin McKeaveney b07f608ffe merge 2020-06-25 18:32:51 +01:00
Martin McKeaveney 6cdd933d09
Merge pull request #367 from Budibase/backend-ui-update
Backend ui update
2020-06-24 17:33:22 +01:00
Martin McKeaveney e42c807ded tidy up 2020-06-24 17:19:12 +01:00
Martin McKeaveney ee86d6fb16 update when linked field added 2020-06-24 16:56:13 +01:00
Conor_Mack fcff2d928a Cypress Tests and Discussion Resolves 2020-06-24 16:16:06 +01:00
Martin McKeaveney 1f2c1a06aa lint 2020-06-24 16:12:55 +01:00
Martin McKeaveney 2c764a787c custom notifications solution 2020-06-24 16:10:54 +01:00
Martin McKeaveney 01d7f80e7b custom notifications, models + fields keyed by ID 2020-06-24 12:41:26 +01:00
Martin McKeaveney 3c3104be7b enable renaming of records by using IDs 2020-06-23 23:26:54 +01:00
Martin McKeaveney afcc80ab9d improvements to linked records 2020-06-23 13:50:45 +01:00
Conor_Mack 6eebeb6692
Merge branch 'master' into builder/consolidating-missing-code 2020-06-23 11:21:31 +01:00
Martin McKeaveney 6adb2a72e0 merge 2020-06-22 22:39:41 +01:00
Michael Shanks e4c19bd9fd bugfix: workflow still passing instanceId to api() 2020-06-20 20:30:00 +01:00
Michael Shanks 4dcd482a4f instance Id is gone from API module 2020-06-19 17:19:30 +01:00
Martin McKeaveney 099e394270 lint 2020-06-18 17:55:46 +01:00
Martin McKeaveney 7c4f24c1b4 backend v1 - styling to do 2020-06-18 17:17:18 +01:00
Michael Shanks bf952f8677 instanceid removal 2020-06-18 16:59:31 +01:00
Martin McKeaveney 6e187943c4 Merge branch 'master' of github.com:Budibase/budibase into backend-ui-update 2020-06-18 09:16:43 +01:00
Martin McKeaveney 5f8d6bbfe4 add new models and fields, delete models 2020-06-17 16:51:10 +01:00
Martin McKeaveney 374a6b4bc6 new model creation, requires styling and CSS updates 2020-06-16 20:53:13 +01:00
Martin McKeaveney 987135f7b4 saving of models and fields 2020-06-16 20:29:18 +01:00
Conor_Mack 903e6331a4 Lint fix 2020-06-15 18:39:10 +01:00
Martin McKeaveney 48f6ac2b98 structuring new backend UI 2020-06-15 16:41:31 +01:00
Conor_Mack 8b99546326 Instance naming fix for components and screens 2020-06-15 16:01:24 +01:00
Michael Shanks bf1da9e94e removal of appRoot - appId comes in cookie 2020-06-12 20:42:55 +01:00
Conor_Mack 2b0436eb99 Merge branch 'master' of https://github.com/Budibase/budibase into builder/consolidating-missing-code 2020-06-12 13:40:27 +01:00
Michael Shanks c5c8309b09 bugfix - screen/page > settings throwing error 2020-06-12 12:15:17 +01:00
Conor_Mack 32ff7a5c89 Instance name for components and screens 2020-06-11 16:15:09 +01:00
Martin McKeaveney eff761053c
Revert "Fixes for Screen and Page Props" 2020-06-09 19:18:45 +01:00
Conor_Mack 50f4007d0d Refactorings for page and settings props 2020-06-09 10:59:15 +01:00
Conor_Mack 9ab0cedff2 Screen and page latest 2020-06-03 21:36:36 +01:00
Martin McKeaveney 98050f4c2a
Revert "Settings for Pages and Screens" 2020-06-03 21:10:48 +01:00
Martin McKeaveney e4cc5656ae
Merge pull request #316 from Budibase/fix-user-agent
use custom user agent header
2020-06-03 20:58:03 +01:00
Martin McKeaveney e74c685956 lint 2020-06-03 20:44:35 +01:00
Martin McKeaveney 0482bc242c fix some other auth bugs 2020-06-03 20:35:30 +01:00
Conor_Mack 058b31b397 Merge branch 'master' of https://github.com/Budibase/budibase into property-panel/screen-and-page-props 2020-06-03 19:48:35 +01:00
Martin McKeaveney 07cf98b0de use custom user agent header 2020-06-03 19:35:04 +01:00
Michael Shanks 47162d806b logic to not use builder:token for apps running in dev 2020-06-03 17:05:36 +01:00
Conor_Mack 65ee282a2c Screen and page latest 2020-06-03 16:19:04 +01:00
Michael Shanks 44cc7eab0e deleting a value in design causes styles to be lost 2020-06-02 12:41:52 +01:00
Martin McKeaveney be3ebf1982
Merge pull request #288 from Budibase/model-fixes
model bugfixes
2020-06-02 11:46:38 +01:00
Martin McKeaveney d932670d7e model bugfixes 2020-06-02 11:40:33 +01:00
Conor_Mack aaf55b7f70
Merge pull request #286 from Budibase/property-panel/components-from-design
Property panel components upgrade
2020-06-02 11:22:52 +01:00
Michael Shanks be28e2dcdd
Merge pull request #287 from mjashanks/master
Bugfixes
2020-06-02 11:20:36 +01:00
Conor_Mack 53a55e2824 Lint and testing 2020-06-02 11:19:22 +01:00
Michael Shanks 2cfbd2afeb wee typo 2020-06-02 11:16:30 +01:00
Martin McKeaveney 461187cf16
Merge pull request #279 from Budibase/workflow-v1
Workflow v1
2020-06-02 11:15:34 +01:00
Michael Shanks 9b31da4632 bugfix: #284 styles not applied on component copy 2020-06-02 11:11:53 +01:00
Conor_Mack 2c407d4da7 Merge branch 'master' of https://github.com/Budibase/budibase into property-panel/components-from-design 2020-06-02 10:51:57 +01:00
Michael Shanks fea0203096 bugfix: data not loading on default view 2020-06-02 10:43:48 +01:00
Michael Shanks 5b8625824f open create model dialog if no models 2020-06-02 09:56:22 +01:00
Michael Shanks 57a917f9d9 auto select first model on startup 2020-06-02 09:36:21 +01:00
Michael Shanks 9b55870c24 auto select model after creation 2020-06-02 07:56:50 +01:00
Joe c1aaeffaec Formatting update 2020-06-01 21:34:03 +01:00
Martin McKeaveney ba38385d72 lint + format 2020-06-01 21:31:55 +01:00
Martin McKeaveney aeae4f50e2 tidy up 2020-06-01 21:26:32 +01:00
Joe 6cd94db367 Padding and margin fix 2020-06-01 21:18:43 +01:00
Conor_Mack 93ab8659ed Property panel updates 2020-06-01 16:31:58 +01:00
Martin McKeaveney 398f200661 merge 2020-06-01 16:27:27 +01:00
Martin McKeaveney cb1fb87d21 server side workflows 2020-06-01 16:22:13 +01:00
Michael Shanks dd6e4a3d97 lint:fix & forman 2020-06-01 12:15:44 +01:00
Michael Shanks 38b471d1bf refactor component menu actions inside control 2020-06-01 12:12:25 +01:00
Martin McKeaveney 2e42f8033e workflow DAO tests 2020-06-01 11:52:15 +01:00
Michael Shanks 5b085d0640 few bugfixes 2020-06-01 11:04:32 +01:00
Martin McKeaveney a220822e3a move workflow to array data structure 2020-06-01 10:41:28 +01:00
Michael Shanks c87ddade50 component nav dropdown menu 2020-06-01 10:18:45 +01:00
Martin McKeaveney dc90e141f5 server side event emitter 2020-05-31 17:12:52 +01:00
Martin McKeaveney 65d0161007 orchestrator refactor, user creation block 2020-05-30 13:41:46 +01:00
Martin McKeaveney 385bcfe51f styling, bug fixes, client library state updates 2020-05-29 16:06:23 +01:00
Martin McKeaveney bba7b93b75 refactor client library 2020-05-29 14:06:36 +01:00
Martin McKeaveney 50a582a726 make alerts live, more hooks, app notifications 2020-05-28 23:32:03 +01:00
Martin McKeaveney a3bebe3330 adding workflow blocks, parameter parsing, templating 2020-05-28 20:20:03 +01:00
Martin McKeaveney 08d0b9cb94 workflow UI, orhestrator for executing workflows 2020-05-27 21:51:32 +01:00
Martin McKeaveney e3271bf765 Merge branch 'master' of github.com:Budibase/budibase into workflow-v1 2020-05-27 10:13:42 +01:00
Conor_Mack 0876338ce2 New jest tests for generate-css 2020-05-26 14:27:33 +01:00
Conor_Mack 1bf57c7873 linter formatting 2020-05-26 10:19:04 +01:00
Conor_Mack d250d61c62 Completed CSS Selector Styling 2020-05-25 15:23:56 +01:00
Martin McKeaveney 21b1165463 workflow charts 2020-05-22 16:32:23 +01:00
Conor_Mack dd14dd6de2 Change of structure for _styles 2020-05-22 15:30:29 +01:00
Martin McKeaveney 6f3ad884db workflow UI with DnD 2020-05-21 21:40:16 +01:00
Conor_Mack a4c65eb803 Stable property panel 2020-05-21 14:28:32 +01:00
Conor_Mack bba1de1df8 Building components settings and refactoring 2020-05-19 17:00:53 +01:00
Conor_Mack 5b8d1cead7 Testing Complete - Resolve Post Issue 2020-05-18 16:32:00 +01:00
Martin McKeaveney aaa46272bf fixing lint errors 2020-05-18 14:08:32 +01:00
Martin McKeaveney 9e4d99851a fix builder component library loading issue 2020-05-18 14:06:14 +01:00
Martin McKeaveney e244e099a6 fixing CI 2020-05-18 11:18:31 +01:00
Martin McKeaveney c8dd48b507 formatting 2020-05-18 11:01:17 +01:00
Michael Shanks b62449bf96 removing clientId from frontend, fixing invalid database name 2020-05-18 06:40:29 +01:00
Michael Shanks 18375a6d19 server tests in-memory and passing 2020-05-14 15:12:30 +01:00
Martin McKeaveney 9ff76c799c add initialiseClientDB 2020-05-11 10:28:06 +01:00
Martin McKeaveney 5646ef1101 fixing tests 2020-05-07 22:25:27 +01:00
Martin McKeaveney ec6390a36a added model props 2020-05-07 14:59:06 +01:00
Martin McKeaveney c255883aed formatting + fixing builder tests 2020-05-07 10:53:34 +01:00
Martin McKeaveney 8f5845943a Auth working 2020-05-06 20:29:55 +01:00
Martin McKeaveney 7da95c23a3 dev setup complete 2020-05-06 12:17:15 +01:00
Martin McKeaveney 2afd1cd4dd working through auth - adding user instance map 2020-05-04 18:07:03 +01:00
Martin McKeaveney c3f68e9895 merge 2020-05-04 17:17:03 +01:00
Martin McKeaveney 2c361f3d1d apps being served correctly 2020-05-04 17:13:57 +01:00
kevmodrome 7b77195d16 adds method on store to get path of IDs to component 2020-05-04 10:26:38 +02:00
Martin McKeaveney 427cdafeda screenslots working again 2020-05-03 11:33:20 +01:00
Martin McKeaveney abd6da7b11 component library modules and definitions refactor - moved to backend. More routing and middleware reorganisation 2020-05-02 15:29:10 +01:00
Martin McKeaveney c733b5bee8 access levels, actions and triggers removed. Restructuring and refactoring 2020-04-29 20:29:56 +01:00
Martin McKeaveney 588fe5ebaa clientId fetching before app load, custom views, fixed schema 2020-04-28 14:39:35 +01:00
Martin McKeaveney 8a7c0f8ba3 pouchDB integration, use app id instead of app name for keying app packages 2020-04-23 14:37:08 +01:00
Martin McKeaveney 228999aba5 backend allowing creation of models, records and databases 2020-04-20 16:17:18 +01:00
Martin McKeaveney 741344a56d set up common to use babel, static file serving middleware 2020-04-15 15:25:11 +01:00
kevmodrome eb9337ccd0 Merge branch 'master' into bugfix/change-record-and-index 2020-04-14 16:07:57 +02:00
Conor_Mack b04cd0f49c Merge branch 'master' of https://github.com/Budibase/budibase into material-des-builder-testing 2020-04-14 14:15:58 +01:00
Conor_Mack d5e1842b98 All latest changes coming from the builder testing 2020-04-14 14:15:32 +01:00
kevmodrome 50abaa4988 change isRecord to isModel 2020-04-14 12:03:22 +02:00
kevmodrome 2ac1bcdcba update more names from record to model 2020-04-14 11:25:37 +02:00
kevmodrome d7a4458488 change name from allowedRecordNodeIds to allowedModelNodeIds 2020-04-14 11:19:14 +02:00
kevmodrome 449b6c9c78 remove unused variable 2020-04-14 11:11:50 +02:00
kevmodrome b8a652e2ca updates tests and method names to getNewModelTemplate method 2020-04-14 10:49:10 +02:00
kevmodrome fb74982055 changes name of backend store method 2020-04-14 10:25:57 +02:00
kevmodrome c0c7cd19e1 changes front-end to use new store method names 2020-04-14 10:24:33 +02:00
kevmodrome 114a629cf1 fixes store actions to use correct appname 2020-04-13 12:59:29 +02:00
kevmodrome bdc8297d68 tidyup 2020-04-06 17:46:08 +02:00
kevmodrome 1f4e5339e4 implements new modal component for access level modal and create database modal 2020-04-06 15:42:32 +02:00
kevmodrome 3a1d556791 wip: changes initialise function to getPackage and runs once you select application instead of at run-time. 2020-04-02 16:27:19 +02:00
kevmodrome f827e8d9aa wip: add back root routify index page 2020-04-02 15:16:46 +02:00
Michael Shanks 868d6112e8 Merge branch 'feature/builder-organization' of https://github.com/kevmodrome/budibase into kevmodrome-feature/builder-organization 2020-04-02 07:54:02 +01:00
Michael Shanks ecc649180f better naming of default child view 2020-04-02 06:29:31 +01:00
kevmodrome 31f5a1414b changes from node_modules to using rollup-plugin-alias, fixes tests 2020-04-01 12:38:07 +02:00
kevmodrome 87cd19bd92 wip: move components to node_modules folder for easier importing 2020-03-31 11:50:13 +02:00
Martin McKeaveney 52cd19a046 error recovery notification banner 2020-03-30 21:14:41 +01:00
Martin McKeaveney ec0d8bd142 formatting 2020-03-27 16:58:32 +00:00
Michael Shanks 275e17a90d rebuild page code when templated component added 2020-03-27 15:28:33 +00:00
Martin McKeaveney 00eb3ce13a write access levels 2020-03-27 14:49:51 +00:00
Martin McKeaveney 5c7e603a5e rename record 2020-03-27 10:32:37 +00:00
Martin McKeaveney d48c311564 drilldown complete, deleting model fields 2020-03-26 17:39:42 +00:00
Martin McKeaveney f0a584a20a make it easy for users to create children 2020-03-25 21:47:17 +00:00
Michael Shanks 9ee636092a validation for delete index and records 2020-03-25 16:57:04 +00:00
Michael Shanks ca6c3d182a evict packages from cache on SaveBackend 2020-03-25 12:38:04 +00:00
Michael Shanks ecf5015c36 default index name - dont use collectionName
(collectionName is now a number)
2020-03-25 11:31:58 +00:00
Martin McKeaveney 0d0685cd48 bug fixes= 2020-03-25 10:59:47 +00:00
Martin McKeaveney 88db9bbc02 tidy up 2020-03-24 19:59:30 +00:00
Martin McKeaveney 30e33b7ee0 reactive model data table 2020-03-24 16:17:46 +00:00
Michael Shanks 3a2c961947 bugfix: views duplicated 2020-03-24 10:57:54 +00:00
Martin McKeaveney 00d2b9d908 started drilldown 2020-03-23 14:15:09 +00:00
Martin McKeaveney df100f503d more cleanup 2020-03-22 13:10:55 +00:00
Martin McKeaveney 23ebb529ad tidy up 2020-03-22 13:05:58 +00:00
Martin McKeaveney de9a7f9005 moving more backend stuff into other store actions file 2020-03-22 11:36:05 +00:00
Martin McKeaveney e29dba096c table enhancements 2020-03-22 09:21:18 +00:00
Martin McKeaveney 5adff4a6a3 enhanced modals 2020-03-21 20:39:37 +00:00
Martin McKeaveney 9c7fbdd3e6 adding, deleting and editing records working 2020-03-20 18:47:01 +00:00
Martin McKeaveney db6135e801 moving code from main store to backend file 2020-03-16 18:54:48 +00:00
Martin McKeaveney 4678f2c168 UI structure 2020-03-12 14:23:49 +00:00
Martin McKeaveney 8c983192e6 iterate over package app instances 2020-03-12 14:23:49 +00:00
Martin McKeaveney 2e77e6dc58 new backend beginnings 2020-03-12 14:23:49 +00:00
Michael Shanks a286385e57 bugfixes... incorrect routing from builder to instances 2020-03-11 16:42:19 +00:00
Martin McKeaveney 7c55007c4e remove commented code 2020-03-07 23:52:47 +00:00
Martin McKeaveney e6fbdc2646 icons instead of text 2020-03-06 17:00:54 +00:00
Martin McKeaveney 236679dc56 logrocket analytics 2020-03-04 16:47:47 +00:00
Michael Shanks fad9337af9 bugfix: css not applied after template component added 2020-03-04 12:43:02 +00:00
Michael Shanks 34f74d5d20 bugfix: create screen > components not displayed 2020-03-04 12:13:50 +00:00
Martin McKeaveney bf365abaa8 more UI tidy up 2020-02-26 18:16:31 +00:00
pngwn 8ab75549a2 Rename detailProp to metadataProp 2020-02-26 12:45:20 +00:00
pngwn b0efaac0f6 Make page and screen props editable. 2020-02-26 10:26:19 +00:00
Michael Shanks df472e8ca1 Merge branch 'master' of github.com:Budibase/budibase 2020-02-25 17:06:00 +00:00
Michael Shanks 071c0ebb40 custom code - added "route" param 2020-02-25 16:01:23 +00:00
Martin McKeaveney 0d0f635db4 eslint tidy up 2020-02-25 15:46:04 +00:00
Michael Shanks 3a98e23ffb bugfix: create new screen exception 2020-02-25 10:01:26 +00:00
Martin McKeaveney a8311cc3a3 switch prop on component selection 2020-02-24 23:23:33 +00:00
Michael Shanks 6f234706af bugfix: custom code not getting attached poperly 2020-02-24 14:56:11 +00:00
Michael Shanks 503816bc7e bugfix - css not sent for all screens 2020-02-24 11:05:52 +00:00
Michael Shanks 1a1a9e81e0
Merge pull request #121 from shogunpurple/state-management-v2
State management v2
2020-02-23 22:16:56 +00:00
Michael Shanks 0902febc00 uiFunctions receive state and routeParams 2020-02-21 23:01:16 +00:00
Martin McKeaveney 412aa6739f state management bindings 2020-02-21 15:44:48 +00:00
Michael Shanks 8777f7e9f8 Merge branch 'master' of github.com:Budibase/budibase 2020-02-21 11:43:41 +00:00
Michael Shanks 546dd05718 bugfix: generate css on screen change 2020-02-21 09:27:43 +00:00
Martin McKeaveney b46d33ad59
Update store.js 2020-02-20 21:21:16 +00:00
Michael Shanks f2e6ac0145 merge conflicts from peter/tweaks 2020-02-20 17:11:41 +00:00
Michael Shanks c9191f408f store method for save page or screen (context dependant) 2020-02-20 17:08:17 +00:00
Michael Shanks d31d8c8e7e added height and width as positioning options 2020-02-20 17:07:25 +00:00
Michael Shanks cd829182f9 component templates 2020-02-19 21:38:21 +00:00
Michael Shanks d072c356ef bugfix: component libraries loaded incorrectly 2020-02-19 13:58:06 +00:00
Michael Shanks c9143a801f reording and duplication of components 2020-02-19 10:17:31 +00:00
Michael Shanks 6ee72d7301 bug in store - insertCodeMetadata import vanished 2020-02-18 21:22:43 +00:00
Martin McKeaveney 8b64c64bab removed generators, added simple presets to standard components 2020-02-18 20:35:43 +00:00
Michael Shanks 83953922d7
Merge branch 'master' into 98-builtin-slot 2020-02-18 17:11:46 +00:00
pngwn 2396702c08 Remove more logs 2020-02-18 17:05:08 +00:00
Michael Shanks 7d9d15c783 #94 Remove component from hierarchy 2020-02-18 16:51:28 +00:00
pngwn 063cb0f41f Add screenslot to current preview. 2020-02-18 15:53:22 +00:00
Michael Shanks 4089b52c53
Client Api - New state binding method (#105)
* new binding...
- state manager
- one store per screen
- not passing

* client lib binding - tests passing

* binding fully working again post stateManager

* bugfix with button component

* Control flow ("code") now working, tests passing

* Events List now reading from component definition

* fix to button.svelte - missing props._children
2020-02-18 12:29:38 +00:00
pngwn 4a62525949 Add builtin slot to list 2020-02-18 10:32:00 +00:00
Michael Shanks b7d9e05641
Work on Components API & bugfixes (#102)
* typo - screens not being sent to page save

* removed children arg from hydrateChildren (n/a)

* initialiseChildren does not rerender unless forced

* removed derivatives of initialiseChildren

* renamed initialiseChildren > attachChildren

* standard-components - refactoring

div now container
H1, h2... etc now Heading with type
Select now takes option as _children

* loads of bug fixing

* safe props creation
anytime props are loaded,
we make sure they conform to the components props definition
2020-02-14 11:51:45 +00:00
Martin McKeaveney 1c7550e211 moving test from server 2020-02-12 15:47:35 +00:00
Martin McKeaveney fe142faf3a move state origin build from server to client 2020-02-12 15:10:31 +00:00
Martin McKeaveney 5729f46ae6 final tidy up 2020-02-12 10:12:54 +00:00
Martin McKeaveney 175002d178 unit tests 2020-02-12 10:12:54 +00:00
Martin McKeaveney 0b3f75aaff merging with master 2020-02-12 10:12:54 +00:00
Martin McKeaveney 8be69162f7 auto update state origins when attaching click handlers 2020-02-12 10:12:54 +00:00
Michael Shanks da7339035f
Builder saves backend and front end seperately (#88)
* refactoring server for screens & page layout restructure

* Disable API calls, UI placeholders.

* buildPropsHierarchy is gone & screen has url

* Recent changes.

* router

* router

* updated git-ignore to reinclude server/utilities/builder

* modified cli - budi new create new file structure

* Fix uuid import.

* prettier fixes

* prettier fixes

* prettier fixes

* page/screen restructure.. broken tests

* all tests passing at last

* screen routing tests

* Working screen editor and preview.

* Render page previews to the screen.

* Key input lists to ensure new array references when updating styles.

* Ensure the iframe html and body fills the container.

* Save screens via the API.

* Get all save APIs almost working.

* Write pages.json to disk.

* Use correct API endpoint for saving styles.

* Differentiate between saving properties of screens and pages.

* Add required fields to default pages layouts.

* Add _css default property to newly created screens.

* Add default code property.

* page layout / screens - app output

* backend and fronend save seperately

Co-authored-by: pngwn <pnda007@gmail.com>
2020-02-10 21:35:51 +00:00
Michael Shanks f7bea46f01
Page Layout & Screen restructure (#87)
* refactoring server for screens & page layout restructure

* Disable API calls, UI placeholders.

* buildPropsHierarchy is gone & screen has url

* Recent changes.

* router

* router

* updated git-ignore to reinclude server/utilities/builder

* modified cli - budi new create new file structure

* Fix uuid import.

* prettier fixes

* prettier fixes

* prettier fixes

* page/screen restructure.. broken tests

* all tests passing at last

* screen routing tests

* Working screen editor and preview.

* Render page previews to the screen.

* Key input lists to ensure new array references when updating styles.

* Ensure the iframe html and body fills the container.

* Save screens via the API.

* Get all save APIs almost working.

* Write pages.json to disk.

* Use correct API endpoint for saving styles.

* Differentiate between saving properties of screens and pages.

* Add required fields to default pages layouts.

* Add _css default property to newly created screens.

* Add default code property.

* page layout / screens - app output

Co-authored-by: pngwn <pnda007@gmail.com>
2020-02-10 15:51:09 +00:00
Martin McKeaveney 94eb93b186 running prettier over codebase, removing merge files 2020-02-03 09:24:25 +00:00
Michael Shanks c7cbe6ca8b
#24 - Control Flow (#79)
* removed binding references to array type

* refactored initialiseChildren into seperate file

* render function, with code blocks - tested simple cases

* few mores tests for control flow

* md components - getting TestApp to work

* new render wrapper - bug fix

* client: providing access to component root elements

* code editor working

* code editor improvements
2020-01-31 23:11:50 +00:00
pngwn aa4c7fa1c1
48 builder frontend 2 (#76)
* Implement collapsing component hierarchy.

* Save screen when adding new components.

* Allow creation of nested child components.

* Rename updateComponentProps to setComponentProps

* Compile layout and position properties to css strings.

* Correct ordering errors.

* Compile the css for an entire screen.

* Add unique id for each component.

* Ignore _id props.

* Update client to add correct class names to component elements.

* Add grid-template fields to layout styling panel.

* Inject css into iframe. Minor tweaks.

* Fix unset margins.

* Update failing tests.
2020-01-31 16:01:58 +00:00
pngwn 7e16e23803 48 builder frontend 2 (#70)
* Implement collapsing component hierarchy.

* Save screen when adding new components.

* Allow creation of nested child components.

* Fix level-based indentation of hierarchy.

* Rename updateComponentProps to setComponentProps

* Save layout information to the disk.

* Cleanup: switch to autosubscriptions to prevent memory leaks, remove unused imports.

* Remove unused css.

* Fix incorrect subscription.
2020-01-28 21:17:04 +00:00
pngwn 1a77b0ae00 Remove leftovers. 2020-01-24 15:34:44 +00:00
pngwn 86c42a44ab Remove validation, use references rather than clones where possible, prioritise side-panel working with components for now. 2020-01-24 14:51:29 +00:00
pngwn 2a4cfa278b Implement updating of individual component props 2020-01-24 14:51:29 +00:00
Michael Shanks eac855bb71 #48 restructure. Screens in, user components out. _children static concept 2020-01-17 23:06:42 +00:00
Michael Shanks 3c051eea57 automatically adds index for new record 2019-10-31 09:22:01 +00:00
Michael Shanks 75f4c6dd68 backup before an f-up 2019-10-18 17:32:03 +01:00
Michael Shanks aee554383c few bug fixes 2019-10-10 10:41:31 +01:00
Michael Shanks b4f7ccbbba generators.. 2019-10-07 06:03:41 +01:00
Michael Shanks e283e971ec lots of bugfixes and component changes 2019-10-03 06:12:13 +01:00
Michael Shanks b44fa3aacb bugfix - switching from component to page.. 2019-09-30 04:55:24 +01:00
Michael Shanks b2c3accf82 some bugfixes - ready to start building! 2019-09-29 06:40:06 +01:00
marblekirby fb94319964 base analytics and settings 2019-09-23 01:01:27 +01:00
marblekirby 0366ae5bdb base analytics and settings 2019-09-23 00:56:39 +01:00
Michael Shanks 2e6a34c687 state binding working 2019-09-22 05:02:33 +01:00
Michael Shanks 70ddecfab0 data binding and stndard componets work 2019-09-19 04:35:40 +01:00
Michael Shanks dda4517cb0 Budibase is alive! sort of 2019-09-12 06:10:50 +01:00
michael shanks 1f3fed1a6d bugfixes - actions not saving correctly 2019-09-09 08:50:15 +01:00
michael shanks ef9a0853a0 some bugfixing.. 2019-09-09 05:23:41 +01:00
michael shanks 5ee72b1d87 build app... probably not orking yet.. 2019-09-07 06:50:35 +01:00
michael shanks e383c03435 working on client lib 2019-09-06 13:04:23 +01:00
michael shanks 53287779f2 PageView - editing html 2019-09-03 12:12:24 +01:00
michael shanks b715b2a842 array component 2019-09-03 10:42:19 +01:00
michael shanks bf7afe369d builder layout redesign 2019-08-30 08:25:00 +01:00
michael shanks f633c59aca merge conflicts.. 2019-08-28 22:10:26 +01:00
michael shanks ea3e847290 working on standard component 2019-08-27 07:32:56 +01:00
michael shanks 5f0d8ce638 component preview with stylesheeets 2019-08-20 08:24:07 +01:00
michael shanks de3a564cb1 halfway through new layout 2019-08-20 07:24:02 +01:00
michael shanks 573f274f89 component preview sort of working 2019-08-19 21:18:23 +01:00
michael shanks 53c3a54230 designer for nested components 2019-08-19 08:51:01 +01:00
michael shanks 0d7d9f471e Edit component pane improvements 2019-08-16 15:48:45 +01:00
michael shanks d27ec9e0a5 working components nav - not styled properly 2019-08-02 14:54:10 +01:00
michael shanks fc9c1a1fbe renaming store 2019-07-31 08:09:04 +01:00
michael shanks 6cd61a4a63 builder importing core directly! 2019-07-30 09:08:40 +01:00
michael shanks 46062b6f24 rollup changes - backup here 2019-07-30 08:31:07 +01:00
michael shanks 1413ee6f2c searching components 2019-07-28 08:03:11 +01:00
michael shanks af2fc95a6b derived components endpoints 2019-07-26 17:08:59 +01:00
michael shanks 4891c6de80 adding in routes for components and pages 2019-07-25 07:31:54 +01:00
michael shanks d52aeb3e95 builder now being served by server 2019-07-15 06:59:46 +01:00
michael shanks 363cbdd6c3 builder now web based and talking to api 2019-07-14 07:46:36 +01:00
michael shanks 13dd99be02 moving builder into web... 2019-07-13 10:35:57 +01:00