Commit Graph

890 Commits

Author SHA1 Message Date
Martin McKeaveney f2abc7d351 Merge branch 'master' of github.com:Budibase/budibase into external-tables 2021-01-07 13:39:48 +00:00
mike12345567 429c6f912c Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-06 17:00:49 +00:00
Martin McKeaveney 37ef32a173 switching between queries 2021-01-06 12:28:51 +00:00
Andrew Kingston 9116658288 Update colorpicker to work with nullish values by always providing a fallback default value 2021-01-06 10:17:51 +00:00
Andrew Kingston 1776c3101a Add fontend store method to reset styles and delete unset styles when updating styles 2021-01-05 11:44:58 +00:00
Martin McKeaveney 0be3c722b8 allow execution of external connector queries from button clicks 2021-01-04 18:57:16 +00:00
Andrew Kingston 36ef89827a Add ability to enter custom component CSS 2021-01-04 18:39:17 +00:00
Martin McKeaveney 4e41878618 better UI feedback 2021-01-04 10:39:17 +00:00
Martin McKeaveney 5b8e34f4d6 codemirror 2020-12-30 11:46:37 +00:00
mike12345567 4c8ee99905 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-22 16:24:34 +00:00
Martin McKeaveney 63ad74b660 separation of datasources and queries 2020-12-18 18:19:43 +00:00
mike12345567 8655d73248 Update after testing, it is now possible to make a deployment to a self hosted environment. Some work still required, better authentication around MINIO deployment, currently the bucket is set to public read and there is no signing/verification to the upload process, also right now four different URLs are needed for the builder to connect correctly, ideally this shouldn't be the case. 2020-12-18 12:54:20 +00:00
mike12345567 eae0e678d0 Linting. 2020-12-16 09:43:08 +00:00
mike12345567 f63466f1d1 Updating deployment service, checking in builder the builder settings info stored in DB before deploying. 2020-12-15 17:27:45 +00:00
mike12345567 fd1d7e3aa1 Linting. 2020-12-15 16:42:40 +00:00
mike12345567 775f84b6dc Adding feature to allow configured the builder to point at a self hosted system instead of production (for deployment). 2020-12-15 16:41:55 +00:00
Andrew Kingston aa71e95597 Allow independent selection of screen IDs and layout IDs so that selections persist between toggling tabs. Update logic around role selection and screen filtering 2020-12-14 11:14:16 +00:00
Andrew Kingston 672fe3fcc9 Keep honouring selected screen access role after swapping to layout tab 2020-12-11 15:29:25 +00:00
Andrew Kingston ef9415ae3b Select new role when creating screen with a different role than the selected one 2020-12-09 19:04:46 +00:00
Andrew Kingston db40514eb1 Lint 2020-12-09 18:56:54 +00:00
Andrew Kingston bd488463cb Add role selection for viewing screens and smart handling of preview screen 2020-12-09 18:18:47 +00:00
mike12345567 8426998e77 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-09 18:01:38 +00:00
Andrew Kingston ce917b5005 Fix empty screen list when deleting a table backing an autoscreen which is currently selected 2020-12-09 16:01:16 +00:00
Andrew Kingston 52dd9760c5 Fix merge bug 2020-12-09 15:58:34 +00:00
Andrew Kingston fdbb8ac61c Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-09 15:57:32 +00:00
Andrew Kingston 4dd0d5b016 Cache roles in store and add role selector for screens 2020-12-09 15:35:57 +00:00
Andrew Kingston 31f0b51039 Fix bugs around selecting screens and layouts when creating them 2020-12-09 14:51:42 +00:00
Andrew Kingston a8a7a94eff Purge all references to _css prop or saving stylesheets 2020-12-09 12:22:30 +00:00
Andrew Kingston 68ed9e9f32 Fix crash when having a screen selected that was deleted 2020-12-09 11:37:09 +00:00
Martin McKeaveney f355a16ca4 fixing bugs found during testing 2020-12-08 16:55:43 +00:00
Andrew Kingston 36ca1143e1 Fix bug which caused autolinks to not be generated 2020-12-08 15:21:01 +00:00
Martin McKeaveney 6e664b3795 fix layout bugs, some tidy up 2020-12-07 20:29:41 +00:00
Martin McKeaveney a014db4185 fix layout selection issues 2020-12-07 16:06:20 +00:00
Martin McKeaveney 81fe27f8f3 component store refactor - remove concept of currentPreviewItem and currentComponentInfo 2020-12-07 15:27:46 +00:00
Martin McKeaveney 274708b4e0 consolidate routing and component selection 2020-12-05 12:09:58 +00:00
Martin McKeaveney de5e7d38ba allow renaming of layouts 2020-12-05 09:43:00 +00:00
Martin McKeaveney 8775c594a1 deletion and error handling of layouts 2020-12-04 23:42:22 +00:00
Martin McKeaveney 84434741d1 allow creation of custom layouts, moving layoutId prop to top level of screen 2020-12-04 23:16:07 +00:00
Andrew Kingston a5f78c3f8e Remove log statement 2020-12-04 14:07:23 +00:00
Andrew Kingston 69b2261768 Add basic role by default to new screens 2020-12-04 14:06:55 +00:00
Martin McKeaveney af24967c88 accommodate login layout 2020-12-03 17:31:38 +00:00
Martin McKeaveney a0b4062a1f more intelligent routing for screens and pages 2020-12-03 15:15:14 +00:00
mike12345567 b65a554ede Linting and update to try and fix issues when screens are created, screen saving now generates CSS. 2020-12-03 12:08:33 +00:00
Andrew Kingston 3ab5c834f7 Update client app to work with layouts when running inside builder preview 2020-12-02 18:10:46 +00:00
Martin McKeaveney 4466923c84 allow editing of screen layout from modal 2020-12-02 16:15:14 +00:00
Martin McKeaveney f70db5df36 merge 2020-12-02 14:15:07 +00:00
Martin McKeaveney 48318030a2 merge 2020-12-02 13:44:44 +00:00
Martin McKeaveney 4a51618c11 fix preview save 2020-12-02 13:41:00 +00:00
mike12345567 c832ed36d4 Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/page-refactor 2020-12-02 13:26:57 +00:00
mike12345567 05d5feb9fd Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
Martin McKeaveney 01343e1474 layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
Andrew Kingston ce18e253ba Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +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
mike12345567 d3759a4c10 Major re-work, client library stills needs some work but it appears layouts and screens are no longer inter-dependent. 2020-11-25 17:56:09 +00:00
mike12345567 8b4657b196 Starting work on builder, very broken. 2020-11-24 18:11:34 +00:00
mike12345567 b63ca545bf Merge branch 'component-sdk' of github.com:Budibase/budibase into feature/page-refactor 2020-11-23 11:30:15 +00:00
Andrew Kingston 911fa31fe3 Tidy up data binding 2020-11-20 10:49:39 +00:00
Martin McKeaveney 2bba574ab1 fix for delete screens 2020-11-19 21:07:25 +00:00
Martin McKeaveney 169cbe4a42 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-19 17:08:10 +00:00
mike12345567 c541cd078b Removing unused statement. 2020-11-19 17:07:39 +00:00
mike12345567 f5191862d5 Removing unused line. 2020-11-19 17:05:25 +00:00
Martin McKeaveney 7b2a9ec807 merge 2020-11-19 17:02:27 +00:00
mike12345567 c240274889 Merge branch 'master' of github.com:Budibase/budibase into feature/backend-routing 2020-11-19 16:58:54 +00:00
mike12345567 87528c8d55 Fixing issues with the application API, it utilised /api/:appId heavily which is a route that matches nearly everything. 2020-11-19 16:55:59 +00:00
Martin McKeaveney 270dbe933f tidy up 2020-11-19 16:41:29 +00:00
Martin McKeaveney d473786d7e further store tidy up, derive selected page 2020-11-19 11:15:29 +00:00
Martin McKeaveney a5827a9c53 nested routing UI up and running, refactor drag and drop functionality by decoupling store from components 2020-11-18 22:04:18 +00:00
mike12345567 634eacd5b9 Changing back to builder getting the normal routing structure for builder. 2020-11-18 15:13:25 +00:00
mike12345567 48f0608c74 Fixing some bugs with previous commit and updating to add the functionality of the api/routing/client. 2020-11-18 15:12:42 +00:00
Martin McKeaveney b501504150 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-18 13:55:08 +00:00
mike12345567 40bfb53771 linting. 2020-11-17 18:13:21 +00:00
mike12345567 d63054a426 Updates for screen refactor - finishing off getting everything over to the class based system. 2020-11-17 13:25:57 +00:00
Martin McKeaveney e7fb58e5bd merge 2020-11-17 11:26:19 +00:00
mike12345567 f3da19552e Attempting to create a class structure for screen and component templates as right now modifying the templates is quite difficult. 2020-11-16 18:05:17 +00:00
Michael Drury 63b08e42aa Large update, tests passing, have simplifed access level API, access levels and permissions are now totally separate. 2020-11-13 15:35:20 +00:00
Martin McKeaveney e8ca3030e1 fixing reactive chart issue 2020-11-13 10:29:54 +00:00
mike12345567 37c68467c2 Fixing an issue where screens couldn't be deleted and fixing an issue where rows would still contain data from a column that no longer exists if a column was deleted from a table. 2020-11-10 13:59:46 +00:00
Martin McKeaveney 14003d03df fix auto screens issue 2020-11-09 15:55:36 +00:00
Martin McKeaveney d2bcf5f8a3
Merge pull request #835 from Budibase/screenselection-bug
prevent screen being selected when you save a component
2020-11-09 10:47:33 +00:00
Martin McKeaveney 4f5b867700 prevent screen being selected when you save a component 2020-11-09 10:28:49 +00:00
Andrew Kingston 8fecebf435 Fix new screens and autoscreens not displaying properly 2020-11-09 08:33:22 +00:00
Martin McKeaveney 596940371e remove superfluous files 2020-11-06 13:46:19 +00:00
mike12345567 36d90959ff Linting. 2020-11-06 12:31:47 +00:00
mike12345567 667052e0b4 Updating templates to be able to run locally with an environment variable LOCAL_TEMPLATES and making them work using the DB. Users are also no longer included in the db dump. 2020-11-06 12:30:30 +00:00
mike12345567 542b003f7e Refactoring to replace the use of frontend store.screens with derived allScreens and currentScreens. 2020-11-05 17:47:27 +00:00
mike12345567 2008bfff70 Getting started into removing screens from store. 2020-11-05 14:56:23 +00:00
mike12345567 a9ac8d0632 Fixing some bugs that have been found. 2020-11-05 14:38:44 +00:00
mike12345567 76cc7d897c More cleanup, removing template app pages that were unused and fixing a bug with auth not being configured correctly when app created. 2020-11-05 12:43:03 +00:00
mike12345567 707c16c44d Further updates to clear out all usage of the old frontend store functions. 2020-11-05 11:44:18 +00:00
Martin McKeaveney 291e472765 cut over to new frontend store 2020-11-04 17:09:45 +00:00
Martin McKeaveney 333844a1f0 feature parity with current pages, screens and store setup. Starting main bb store refactor 2020-11-04 16:13:50 +00:00
Michael Drury 6bc184f0d6 Updating screens API to be prefixed with /api/screens 2020-11-04 14:05:11 +00:00
Michael Drury c9a1bf1940 Main work to get screens into the DB, fixing up issue with async page updates not being handled in order. 2020-11-04 12:36:38 +00:00
Michael Drury 9e72e122b6 Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-04 10:14:19 +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
Martin McKeaveney 74890b13c9 pages being stored in couch on initialisation and page save 2020-11-02 14:56:48 +00:00
Martin McKeaveney b49551eaad Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-11-02 13:35:17 +00:00
Andrew Kingston 4ea37587f5
Merge pull request #809 from Budibase/dark-mode
Dark mode and custom themes
2020-11-02 08:33:02 +00:00
Martin McKeaveney f29d34ae0b Merge branch 'master' of github.com:Budibase/budibase into tidy-up-store 2020-10-30 16:25:00 +00:00
Andrew Kingston 1f5b1cfd10 Save theme settings to local storage and improve slider styles 2020-10-30 13:23:49 +00:00
Martin McKeaveney 2f0a19a152 removing dead code 2020-10-29 11:46:26 +00:00
mike12345567 b9f1babc0e Removing instance API as it was un-used and simplifying the nature of an instance. 2020-10-29 10:21:06 +00:00
Andrew Kingston dc0c10ad83 Add proper names for all components and use these names when adding components 2020-10-28 19:38:11 +00:00
Andrew Kingston 8a49a04cd1 Fix bad schema type when fetching bindable properties 2020-10-28 19:37:53 +00:00
mike12345567 a6c4e7fd04 Linting. 2020-10-23 17:18:22 +01:00
mike12345567 cc19e2e582 Adding a modal on creation of a webhook automation to make sure the user can setup a schema. 2020-10-23 17:17:53 +01:00
Andrew Kingston b49e49ba36 Allow binding images to attachment types 2020-10-20 12:23:52 +01:00
Andrew Kingston 02207af4f0 Fix bug when selecting main page when creating autolinks 2020-10-20 09:32:14 +01:00
Martin McKeaveney 3a1094b902 use pageName variable when no pagename defined 2020-10-19 09:28:04 +01:00
Andrew Kingston bf27d752bc Fix weird edge case around saving page state 2020-10-17 18:54:03 +01:00
Andrew Kingston 73125767b4 Create links to 'list' autoscreens 2020-10-17 18:20:06 +01:00
Michael Shanks 084e064dff tempaltes - sanitize url - replace spaces gloablly 2020-10-16 23:41:31 +01:00
Michael Shanks 3f53e2958b Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-16 21:39:51 +01:00
Michael Shanks ba82d2d883 screen templates - convert spaces to "-" in urls 2020-10-16 15:43:55 +01:00
Andrew Kingston edb91717ef Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 15:16:46 +01:00
Andrew Kingston 6694d33cfb Update template auto screens 2020-10-16 15:15:00 +01:00
mike12345567 826aa4514d Fixing linting issue. 2020-10-16 14:00:08 +01:00
mike12345567 c5dc50e8bf Fixing some issues found with deleting tables and relationships not getting cleaned up fully + builder not updating - also making sure builder store initial state of screens is accurate. 2020-10-16 13:48:59 +01:00
Andrew Kingston 42469e069d Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 12:57:29 +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
Andrew Kingston c818bc9a3f Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 09:17:54 +01:00
Andrew Kingston ca200b81f3 Fix new row screen template 2020-10-16 09:16:36 +01:00
Andrew Kingston 9234b9b817 Add new template for row details autoscreen 2020-10-16 08:38:40 +01:00
Andrew Kingston 02bd7fa075 Add new template for new row autoscreen 2020-10-16 08:38:27 +01:00
Michael Shanks f08448f9dd fix: ensure CSS is built on app creation 2020-10-15 23:20:56 +01:00
Michael Shanks 24c8510856 Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 19:14:21 +01:00
Michael Shanks 7de3351b23 generate css before saving screen 2020-10-15 19:13:48 +01:00
mike12345567 ca5f5f44ac Fixing issues with table columns allowing weirdness to happen around casing, now only one column with a particular name can be specified, no matter what the case, but the case will be respected. 2020-10-15 18:09:19 +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 313b26982e Rename usages of primary display column to just display column 2020-10-14 20:38:32 +01:00
Andrew Kingston 90e46ab254 Merge branch 'more-bug-fixes' of github.com:Budibase/budibase into screen-updates 2020-10-14 20:16:01 +01:00
Andrew Kingston 35c58fd7d5 Move primary display column option in to column popover 2020-10-14 19:40:01 +01:00
mike12345567 7613692379 Fixing a bug where if you created a column without a name editting it would create another column and also adding an option to remove sorting from your table. 2020-10-14 18:04:21 +01:00
mike12345567 bfaa9bc44b Merge branch 'master' of github.com:Budibase/budibase into chuckles-fixes 2020-10-14 12:16:16 +01:00
mike12345567 f5ad74eaf5 Some design changes and moving around screen deletion to centralise it. 2020-10-14 11:56:02 +01:00
Andrew Kingston bb997eaf26 Merge branch 'master' of github.com:Budibase/budibase into cheeks-bugfixes 2020-10-13 17:27:46 +01:00
Andrew Kingston 51c407c2f9 Update all old references in datasources from isModel to type=model 2020-10-13 11:27:18 +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 dcf31c971d Fix crashing when adding a frontend component after deleting one 2020-10-13 08:20:32 +01:00
Martin McKeaveney 4bacae5859
Merge pull request #709 from Budibase/replace-screen-template-datatable
Replace screen template datatable
2020-10-13 08:16:31 +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
Michael Shanks 2f5ee277f3 analytics - missing await, causing event not to be logged 2020-10-12 21:35:10 +01:00
Martin McKeaveney 69f3064489 replace list template screen with datagrid 2020-10-12 21:21:23 +01:00
mike12345567 408eda81ff Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 17:45:11 +01:00
Michael Shanks 381c43f1e3
Merge pull request #703 from mjashanks/fixes
Some Fixes
2020-10-12 16:34:48 +01:00
mike12345567 94f966631c Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 15:25:27 +01:00
Andrew Kingston 9e3e89eb06 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 15:20:32 +01:00
Michael Shanks 079ba1ffce Settings >URL select handles Record detail urls 2020-10-12 14:48:30 +01:00
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