Commit Graph

1158 Commits

Author SHA1 Message Date
Andrew Kingston 12d44ffcad Fix workflow tests 2020-09-14 12:38:17 +01:00
Andrew Kingston 4500388a08 Fix unsaved workflow blocks sharing same state 2020-09-14 11:48:08 +01:00
Andrew Kingston d166d8072b Merge in master 2020-09-14 10:16:09 +01:00
Andrew Kingston 757845c233 Add working test workflow button 2020-09-14 09:33:18 +01:00
Michael Shanks 0982f627ef some mutating function parameter 2020-09-11 21:30:40 +01:00
Andrew Kingston 494d38029f Rewrite workflow editing state for better UI sync 2020-09-11 14:23:31 +01:00
Michael Shanks d951edad61 some comments 2020-09-11 09:53:02 +01:00
Michael Shanks 04f3ed5ec3 Merge branch 'master' into event-panel + binding fixes 2020-09-10 21:55:04 +01:00
Andrew Kingston e3707982de Update to use stepId for workflows and improve workflow UX when editing blocks 2020-09-10 15:27:39 +01:00
Andrew Kingston cc14ef2cc6 Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows 2020-09-10 15:01:45 +01:00
Andrew Kingston 06f1a7bbf1 Load workflow blocks from server and remove block definitions from builder 2020-09-10 14:16:43 +01:00
Michael Shanks 93043c2ab3 events: Update record workings 2020-09-09 21:16:26 +01:00
Michael Shanks e917d7467a Merge branch 'master' into event-panel 2020-09-09 15:59:57 +01:00
Michael Shanks 349f350ee4 backup before a merge 2020-09-09 15:56:31 +01:00
Conor Mack 49a69b3b80 Tidyup 2020-09-08 16:15:14 +01:00
Conor Mack d0f48e3d0e Selects for Screens in Events and Settings 2020-09-08 16:03:04 +01:00
Michael Shanks 3c69e48200 some styling changes from code review 2020-08-27 10:00:36 +01:00
Michael Shanks d7f70d0424 Merge branch 'master' into feature/binding-interface 2020-08-27 09:39:11 +01:00
Michael Shanks 53eccb5379 Merge pull request #536 from mjashanks/dnd
Few Dnd Bugfixes
2020-08-27 09:33:25 +01:00
kevmodrome 300f18927f merge master 2020-08-26 09:11:16 +02:00
kevmodrome 0bbc5289ad adds guards to some properties when they are undefined 2020-08-25 11:25:56 +02:00
kevmodrome 60264d6cb8 Merge branch 'feature/binding-interface' into feature/binding-interface-frontend 2020-08-25 10:16:32 +02:00
Martin McKeaveney b03eb8ce60 cypress tests, lint, feature complete 2020-08-24 15:48:34 +01:00
Martin McKeaveney 4d262b57ab view filters operational 2020-08-24 11:46:28 +01:00
Martin McKeaveney dfb5eb9bb6 renaming bug 2020-08-20 17:04:54 +01:00
Martin McKeaveney d2638e0150 merge 2020-08-19 17:14:30 +01:00
Martin McKeaveney 80970ba035 full cypress suite for custom views 2020-08-19 16:43:04 +01:00
Martin McKeaveney e57dda576b tidy up and lint 2020-08-18 17:14:26 +01:00
Martin McKeaveney 33ec0cfa75 group by complete 2020-08-18 16:05:15 +01:00
Martin McKeaveney 0a60fd0bc6 deletion of views, statistics calculation popover, unit tests 2020-08-17 21:01:43 +01:00
Martin McKeaveney 6ad5ebbe06 began UI for custom views 2020-08-14 16:31:53 +01:00
Michael Shanks 764a09118c bugfix: dnd over screenslot was throwing err 2020-08-13 14:02:15 +01:00
Michael Shanks 5ab905067f merge from master 2020-08-13 11:50:12 +01:00
Michael Shanks 3703aa2a1e auto nesting or not, on add component 2020-08-12 17:00:05 +01:00
kevmodrome d0b1d4695b initial commit 2020-08-12 17:30:20 +02:00
Michael Shanks 2db40c6d2c dnd component nav 2020-08-12 16:28:19 +01:00
Michael Shanks d6b0374349 merge from master 2020-08-11 17:31:14 +01:00
Martin McKeaveney 6405e79f15 tidy up + lint 2020-08-11 11:23:07 +01:00
Michael Shanks 50167a7038 Merge branch 'master' into feature/binding-interface 2020-08-11 10:46:07 +01:00
Martin McKeaveney a8251cdb22 full cypress suite for new backend 2020-08-10 17:51:30 +01:00
Martin McKeaveney 4acb792278 Merge branch 'master' of github.com:Budibase/budibase into new-backend-ui 2020-08-10 16:39:30 +01:00
Martin McKeaveney cf084f2877 cypress + unit test framework 2020-08-10 15:34:37 +01:00
Martin McKeaveney cfe262d602 new table creation 2020-08-07 18:31:40 +01:00
Martin McKeaveney 160703863b column CRUD 2020-08-07 17:41:20 +01:00
Martin McKeaveney 10d798fe62 creating rows and columns working 2020-08-07 16:13:57 +01:00
Michael Shanks 8679c8bdbb new comonent name -
when on master unique across all screens
2020-08-07 14:17:57 +01:00
Michael Shanks f71bda6d6a new component - start numbering at 1 2020-08-07 12:09:48 +01:00
Michael Shanks 29ee500eea new components get unique name 2020-08-07 12:01:16 +01:00
Michael Shanks cfa8970e2a updated binding paths (from client lib changes) 2020-08-06 21:27:26 +01:00
Michael Shanks a82c0dd44e client lib - new binding 2020-08-06 21:12:35 +01:00
Michael Shanks 12e20e460d tidyup & JSDoc 2020-08-04 16:31:31 +01:00
Michael Shanks e4bcd4020b fetchBindableProperties - complete 2020-08-04 16:11:46 +01:00
Michael Shanks 80dd9b94b1 stub bindings 2020-08-04 11:10:02 +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
Michael Shanks 53fafab3d9 binding - backend initial 2020-08-03 15:06:51 +01:00
cmack d56c801c6f Britecharts work so far 2020-07-26 11:54:55 +01:00
Michael Shanks bac8249132 can delete screens 2020-07-21 15:01:32 +01:00
Martin McKeaveney 762fce6577 ensure table name is not persisted between apps 2020-07-21 10:24:09 +01:00
Martin McKeaveney 22005bc990 formatting and tidy up 2020-07-14 16:00:58 +01:00
Martin McKeaveney 5705fbb6a5 lint 2020-07-13 19:44:42 +01:00
Martin McKeaveney 970317ef08 identify user in builder 2020-07-13 18:09:32 +01:00
Martin McKeaveney ab13ecad1f lint 2020-07-13 17:15:22 +01:00
Martin McKeaveney 380781de8b posthog analytics 2020-07-13 17:12:54 +01:00
Kevin Åberg Kultalahti cd0a58f89f Merge pull request #399 from Budibase/features/edit-application-info
Features/edit application info
2020-07-02 12:14:31 +02:00
Michael Shanks 85fe1cdcfe backend - routing based on models 2020-06-30 14:12:37 +01:00
kevmodrome 2da62df873 change appname to name in builderStore 2020-06-29 17:01:10 +02:00
Martin McKeaveney dd0b66be69 lint 2020-06-25 22:43:10 +01:00
Martin McKeaveney 28b951e993 data model rewrite 2020-06-25 22:34:38 +01:00
Martin McKeaveney 28c5756047 record keys as names 2020-06-25 20:04:58 +01:00
Martin McKeaveney 92beb8ffa4 merge 2020-06-25 18:32:51 +01:00
Martin McKeaveney ba74c0981e Merge pull request #367 from Budibase/backend-ui-update
Backend ui update
2020-06-24 17:33:22 +01:00
Martin McKeaveney d32df44ae0 tidy up 2020-06-24 17:19:12 +01:00
Martin McKeaveney 35a1b1c03e update when linked field added 2020-06-24 16:56:13 +01:00
Conor_Mack 306c733094 Cypress Tests and Discussion Resolves 2020-06-24 16:16:06 +01:00
Martin McKeaveney c46ccd05f9 lint 2020-06-24 16:12:55 +01:00
Martin McKeaveney 31e89e77e5 custom notifications solution 2020-06-24 16:10:54 +01:00
Martin McKeaveney cde00356b3 custom notifications, models + fields keyed by ID 2020-06-24 12:41:26 +01:00
Martin McKeaveney e1b88e6620 enable renaming of records by using IDs 2020-06-23 23:26:54 +01:00
Martin McKeaveney 8ab2e0b6aa improvements to linked records 2020-06-23 13:50:45 +01:00
Conor_Mack 50ecfd1e25 Merge branch 'master' into builder/consolidating-missing-code 2020-06-23 11:21:31 +01:00
Martin McKeaveney eca7b69949 merge 2020-06-22 22:39:41 +01:00
Michael Shanks af0ed48774 bugfix: workflow still passing instanceId to api() 2020-06-20 20:30:00 +01:00
Michael Shanks 4ba1329983 instance Id is gone from API module 2020-06-19 17:19:30 +01:00
Martin McKeaveney 2ac15c6b89 lint 2020-06-18 17:55:46 +01:00
Martin McKeaveney 7428dd40fc backend v1 - styling to do 2020-06-18 17:17:18 +01:00
Michael Shanks bf14aa5ccb instanceid removal 2020-06-18 16:59:31 +01:00
Martin McKeaveney cc1cab0e57 Merge branch 'master' of github.com:Budibase/budibase into backend-ui-update 2020-06-18 09:16:43 +01:00
Martin McKeaveney 949052c41c add new models and fields, delete models 2020-06-17 16:51:10 +01:00
Martin McKeaveney bda580bc3f new model creation, requires styling and CSS updates 2020-06-16 20:53:13 +01:00
Martin McKeaveney 78ce077846 saving of models and fields 2020-06-16 20:29:18 +01:00
Conor_Mack 8bae0e49c5 Lint fix 2020-06-15 18:39:10 +01:00
Martin McKeaveney af9038f64f structuring new backend UI 2020-06-15 16:41:31 +01:00
Conor_Mack c1e9133424 Instance naming fix for components and screens 2020-06-15 16:01:24 +01:00
Michael Shanks 19d132c6c2 removal of appRoot - appId comes in cookie 2020-06-12 20:42:55 +01:00
Conor_Mack 6cf34a4ad8 Merge branch 'master' of https://github.com/Budibase/budibase into builder/consolidating-missing-code 2020-06-12 13:40:27 +01:00
Michael Shanks 0c35f46b5f bugfix - screen/page > settings throwing error 2020-06-12 12:15:17 +01:00
Conor_Mack 3dcef29ddd Instance name for components and screens 2020-06-11 16:15:09 +01:00
Martin McKeaveney 35aa2d341a Revert "Fixes for Screen and Page Props" 2020-06-09 19:18:45 +01:00
Conor_Mack dd0eec0592 Refactorings for page and settings props 2020-06-09 10:59:15 +01:00
Conor_Mack 156fc01b48 Screen and page latest 2020-06-03 21:36:36 +01:00
Martin McKeaveney 651692eed3 Revert "Settings for Pages and Screens" 2020-06-03 21:10:48 +01:00
Martin McKeaveney b087a65e7e Merge pull request #316 from Budibase/fix-user-agent
use custom user agent header
2020-06-03 20:58:03 +01:00
Martin McKeaveney 18ad679d21 lint 2020-06-03 20:44:35 +01:00
Martin McKeaveney 2cd309bfdc fix some other auth bugs 2020-06-03 20:35:30 +01:00
Conor_Mack 62ac56b386 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 94731e017a use custom user agent header 2020-06-03 19:35:04 +01:00
Michael Shanks 6c2b72dd27 logic to not use builder:token for apps running in dev 2020-06-03 17:05:36 +01:00
Conor_Mack 53dc3780fa Screen and page latest 2020-06-03 16:19:04 +01:00
Michael Shanks 1034484034 deleting a value in design causes styles to be lost 2020-06-02 12:41:52 +01:00
Martin McKeaveney 89e41edac7 Merge pull request #288 from Budibase/model-fixes
model bugfixes
2020-06-02 11:46:38 +01:00
Martin McKeaveney 527a25c794 model bugfixes 2020-06-02 11:40:33 +01:00
Conor_Mack b977cbd9aa 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 f59c13b686 Merge pull request #287 from mjashanks/master
Bugfixes
2020-06-02 11:20:36 +01:00
Conor_Mack fa2fcb0632 Lint and testing 2020-06-02 11:19:22 +01:00
Michael Shanks 50bdb7801f wee typo 2020-06-02 11:16:30 +01:00
Martin McKeaveney 3f2cb90340 Merge pull request #279 from Budibase/workflow-v1
Workflow v1
2020-06-02 11:15:34 +01:00
Michael Shanks b32336eed4 bugfix: #284 styles not applied on component copy 2020-06-02 11:11:53 +01:00
Conor_Mack 98610c60ed 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 735e490ec6 bugfix: data not loading on default view 2020-06-02 10:43:48 +01:00
Michael Shanks 8bdb02b58b open create model dialog if no models 2020-06-02 09:56:22 +01:00
Michael Shanks a96c51afcb auto select first model on startup 2020-06-02 09:36:21 +01:00
Michael Shanks ad323f5d6b auto select model after creation 2020-06-02 07:56:50 +01:00
Joe 0b6cac2bf9 Formatting update 2020-06-01 21:34:03 +01:00
Martin McKeaveney a6602ba1fc lint + format 2020-06-01 21:31:55 +01:00
Martin McKeaveney b372f6b03d tidy up 2020-06-01 21:26:32 +01:00
Joe 400f8b42e4 Padding and margin fix 2020-06-01 21:18:43 +01:00
Conor_Mack 787caa95e5 Property panel updates 2020-06-01 16:31:58 +01:00
Martin McKeaveney fe0b95d627 merge 2020-06-01 16:27:27 +01:00
Martin McKeaveney 176906e766 server side workflows 2020-06-01 16:22:13 +01:00
Michael Shanks c1cc4f048e lint:fix & forman 2020-06-01 12:15:44 +01:00
Michael Shanks 0db3706109 refactor component menu actions inside control 2020-06-01 12:12:25 +01:00
Martin McKeaveney cb496d1819 workflow DAO tests 2020-06-01 11:52:15 +01:00
Michael Shanks 50ecfba395 few bugfixes 2020-06-01 11:04:32 +01:00
Martin McKeaveney 15ba1a5a12 move workflow to array data structure 2020-06-01 10:41:28 +01:00
Michael Shanks 353c9c8195 component nav dropdown menu 2020-06-01 10:18:45 +01:00
Martin McKeaveney 5c1aa00fd0 server side event emitter 2020-05-31 17:12:52 +01:00
Martin McKeaveney 9a898a8d74 orchestrator refactor, user creation block 2020-05-30 13:41:46 +01:00
Martin McKeaveney b4b90fcaeb styling, bug fixes, client library state updates 2020-05-29 16:06:23 +01:00
Martin McKeaveney e648dc80e8 refactor client library 2020-05-29 14:06:36 +01:00
Martin McKeaveney 7a3b368399 make alerts live, more hooks, app notifications 2020-05-28 23:32:03 +01:00
Martin McKeaveney 6f0a84dd38 adding workflow blocks, parameter parsing, templating 2020-05-28 20:20:03 +01:00
Martin McKeaveney ad637348c9 workflow UI, orhestrator for executing workflows 2020-05-27 21:51:32 +01:00
Martin McKeaveney 6829f9ab06 Merge branch 'master' of github.com:Budibase/budibase into workflow-v1 2020-05-27 10:13:42 +01:00
Conor_Mack 9dc65eef98 New jest tests for generate-css 2020-05-26 14:27:33 +01:00
Conor_Mack cff58f6a2d linter formatting 2020-05-26 10:19:04 +01:00
Conor_Mack deab1adc31 Completed CSS Selector Styling 2020-05-25 15:23:56 +01:00
Martin McKeaveney cacee947bf workflow charts 2020-05-22 16:32:23 +01:00
Conor_Mack 0a745edfe4 Change of structure for _styles 2020-05-22 15:30:29 +01:00
Martin McKeaveney e659e69e86 workflow UI with DnD 2020-05-21 21:40:16 +01:00
Conor_Mack facd99f58a Stable property panel 2020-05-21 14:28:32 +01:00
Conor_Mack 3cd48773d1 Building components settings and refactoring 2020-05-19 17:00:53 +01:00
Conor_Mack 983a1c3718 Testing Complete - Resolve Post Issue 2020-05-18 16:32:00 +01:00
Martin McKeaveney 661084a97f fixing lint errors 2020-05-18 14:08:32 +01:00
Martin McKeaveney 2f9944aa4b fix builder component library loading issue 2020-05-18 14:06:14 +01:00
Martin McKeaveney 5cd218da02 fixing CI 2020-05-18 11:18:31 +01:00
Martin McKeaveney 3c9af5336e formatting 2020-05-18 11:01:17 +01:00
Michael Shanks 1dc32a05e3 removing clientId from frontend, fixing invalid database name 2020-05-18 06:40:29 +01:00
Michael Shanks 97db4f1765 server tests in-memory and passing 2020-05-14 15:12:30 +01:00
Martin McKeaveney 16a6680c2e add initialiseClientDB 2020-05-11 10:28:06 +01:00
Martin McKeaveney 2ebe5580d5 fixing tests 2020-05-07 22:25:27 +01:00
Martin McKeaveney 96a1bc52de added model props 2020-05-07 14:59:06 +01:00
Martin McKeaveney 0ec47971d0 formatting + fixing builder tests 2020-05-07 10:53:34 +01:00
Martin McKeaveney 910030e929 Auth working 2020-05-06 20:29:55 +01:00
Martin McKeaveney b6b50182e2 dev setup complete 2020-05-06 12:17:15 +01:00
Martin McKeaveney 119bb4ba30 working through auth - adding user instance map 2020-05-04 18:07:03 +01:00
Martin McKeaveney 5648eae275 merge 2020-05-04 17:17:03 +01:00
Martin McKeaveney af9c1adb35 apps being served correctly 2020-05-04 17:13:57 +01:00
kevmodrome 1be5a248cb adds method on store to get path of IDs to component 2020-05-04 10:26:38 +02:00
Martin McKeaveney 58871883f9 screenslots working again 2020-05-03 11:33:20 +01:00
Martin McKeaveney 5b4bce8b8f component library modules and definitions refactor - moved to backend. More routing and middleware reorganisation 2020-05-02 15:29:10 +01:00
Martin McKeaveney 3564fec064 access levels, actions and triggers removed. Restructuring and refactoring 2020-04-29 20:29:56 +01:00
Martin McKeaveney a645df082c clientId fetching before app load, custom views, fixed schema 2020-04-28 14:39:35 +01:00
Martin McKeaveney c986bba0d8 pouchDB integration, use app id instead of app name for keying app packages 2020-04-23 14:37:08 +01:00
Martin McKeaveney 1381cefc41 backend allowing creation of models, records and databases 2020-04-20 16:17:18 +01:00
Martin McKeaveney 65fd38e205 set up common to use babel, static file serving middleware 2020-04-15 15:25:11 +01:00
kevmodrome b2e8c31d0a Merge branch 'master' into bugfix/change-record-and-index 2020-04-14 16:07:57 +02:00
Conor_Mack a3f1439afb Merge branch 'master' of https://github.com/Budibase/budibase into material-des-builder-testing 2020-04-14 14:15:58 +01:00
Conor_Mack dc20e11fa4 All latest changes coming from the builder testing 2020-04-14 14:15:32 +01:00
kevmodrome 6201c47616 change isRecord to isModel 2020-04-14 12:03:22 +02:00
kevmodrome 28854c5c9a update more names from record to model 2020-04-14 11:25:37 +02:00
kevmodrome 4c464e33c9 change name from allowedRecordNodeIds to allowedModelNodeIds 2020-04-14 11:19:14 +02:00
kevmodrome 71d5c07069 remove unused variable 2020-04-14 11:11:50 +02:00
kevmodrome 09758d7ee9 updates tests and method names to getNewModelTemplate method 2020-04-14 10:49:10 +02:00
kevmodrome 427a63d2bd changes name of backend store method 2020-04-14 10:25:57 +02:00
kevmodrome bf639da46c changes front-end to use new store method names 2020-04-14 10:24:33 +02:00
kevmodrome cfada8771c fixes store actions to use correct appname 2020-04-13 12:59:29 +02:00
kevmodrome d1f0b51b16 tidyup 2020-04-06 17:46:08 +02:00
kevmodrome a0aa2f03a8 implements new modal component for access level modal and create database modal 2020-04-06 15:42:32 +02:00
kevmodrome 75051a194d 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 f80f4a6c43 wip: add back root routify index page 2020-04-02 15:16:46 +02:00
Michael Shanks 2097c74b9f 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 acb49a305b better naming of default child view 2020-04-02 06:29:31 +01:00
kevmodrome 09b52be379 changes from node_modules to using rollup-plugin-alias, fixes tests 2020-04-01 12:38:07 +02:00
kevmodrome 319b86e012 wip: move components to node_modules folder for easier importing 2020-03-31 11:50:13 +02:00
Martin McKeaveney 5d45797f3b error recovery notification banner 2020-03-30 21:14:41 +01:00
Martin McKeaveney f82a954666 formatting 2020-03-27 16:58:32 +00:00
Michael Shanks 20c624d3c9 rebuild page code when templated component added 2020-03-27 15:28:33 +00:00
Martin McKeaveney ca026e6017 write access levels 2020-03-27 14:49:51 +00:00
Martin McKeaveney 72ce6833c0 rename record 2020-03-27 10:32:37 +00:00
Martin McKeaveney c543cb143a drilldown complete, deleting model fields 2020-03-26 17:39:42 +00:00
Martin McKeaveney 6ac63dfdf9 make it easy for users to create children 2020-03-25 21:47:17 +00:00
Michael Shanks 3cc5773fde validation for delete index and records 2020-03-25 16:57:04 +00:00
Michael Shanks 5af53922ed evict packages from cache on SaveBackend 2020-03-25 12:38:04 +00:00
Michael Shanks f3a9d138d7 default index name - dont use collectionName
(collectionName is now a number)
2020-03-25 11:31:58 +00:00
Martin McKeaveney a099558d9e bug fixes= 2020-03-25 10:59:47 +00:00
Martin McKeaveney ad8617406f tidy up 2020-03-24 19:59:30 +00:00
Martin McKeaveney d85c04acbf reactive model data table 2020-03-24 16:17:46 +00:00
Michael Shanks 9ee1132185 bugfix: views duplicated 2020-03-24 10:57:54 +00:00
Martin McKeaveney b26a5ed6a4 started drilldown 2020-03-23 14:15:09 +00:00
Martin McKeaveney f32945958f more cleanup 2020-03-22 13:10:55 +00:00
Martin McKeaveney a473858110 tidy up 2020-03-22 13:05:58 +00:00
Martin McKeaveney 266c36f079 moving more backend stuff into other store actions file 2020-03-22 11:36:05 +00:00
Martin McKeaveney b474f8a600 table enhancements 2020-03-22 09:21:18 +00:00
Martin McKeaveney 9756574e6f enhanced modals 2020-03-21 20:39:37 +00:00
Martin McKeaveney a8fec53ff3 adding, deleting and editing records working 2020-03-20 18:47:01 +00:00
Martin McKeaveney fa95ba2d79 moving code from main store to backend file 2020-03-16 18:54:48 +00:00
Martin McKeaveney 8cb49fb27e UI structure 2020-03-12 14:23:49 +00:00
Martin McKeaveney d905677faf iterate over package app instances 2020-03-12 14:23:49 +00:00
Martin McKeaveney c777e2ff03 new backend beginnings 2020-03-12 14:23:49 +00:00
Michael Shanks 64ca63926f bugfixes... incorrect routing from builder to instances 2020-03-11 16:42:19 +00:00
Martin McKeaveney 0a81d5b6df remove commented code 2020-03-07 23:52:47 +00:00
Martin McKeaveney 660872abc0 icons instead of text 2020-03-06 17:00:54 +00:00
Martin McKeaveney 573f837c4f logrocket analytics 2020-03-04 16:47:47 +00:00
Michael Shanks 6ff54434ab bugfix: css not applied after template component added 2020-03-04 12:43:02 +00:00
Michael Shanks 8546fd6da9 bugfix: create screen > components not displayed 2020-03-04 12:13:50 +00:00
Martin McKeaveney 97a72ed966 more UI tidy up 2020-02-26 18:16:31 +00:00
pngwn 2d1dc5bdb3 Rename detailProp to metadataProp 2020-02-26 12:45:20 +00:00
pngwn 862a32af9b Make page and screen props editable. 2020-02-26 10:26:19 +00:00
Michael Shanks 4809105fc3 Merge branch 'master' of github.com:Budibase/budibase 2020-02-25 17:06:00 +00:00
Michael Shanks 36f318a847 custom code - added "route" param 2020-02-25 16:01:23 +00:00
Martin McKeaveney 7ae40de558 eslint tidy up 2020-02-25 15:46:04 +00:00
Michael Shanks 22560c475e bugfix: create new screen exception 2020-02-25 10:01:26 +00:00
Martin McKeaveney a7998f0a6d switch prop on component selection 2020-02-24 23:23:33 +00:00
Michael Shanks d1a48ec3a6 bugfix: custom code not getting attached poperly 2020-02-24 14:56:11 +00:00
Michael Shanks 264eb6da5a bugfix - css not sent for all screens 2020-02-24 11:05:52 +00:00
Michael Shanks ccc55ae8b5 Merge pull request #121 from shogunpurple/state-management-v2
State management v2
2020-02-23 22:16:56 +00:00
Michael Shanks bd5adc45cb uiFunctions receive state and routeParams 2020-02-21 23:01:16 +00:00
Martin McKeaveney b7a5735a05 state management bindings 2020-02-21 15:44:48 +00:00
Michael Shanks 383a639aba Merge branch 'master' of github.com:Budibase/budibase 2020-02-21 11:43:41 +00:00
Michael Shanks 548c8bb305 bugfix: generate css on screen change 2020-02-21 09:27:43 +00:00
Martin McKeaveney f0ed967c87 Update store.js 2020-02-20 21:21:16 +00:00
Michael Shanks 42b3893c21 merge conflicts from peter/tweaks 2020-02-20 17:11:41 +00:00
Michael Shanks 21461645cc store method for save page or screen (context dependant) 2020-02-20 17:08:17 +00:00
Michael Shanks 1d2f079914 added height and width as positioning options 2020-02-20 17:07:25 +00:00
Michael Shanks 99c8814533 component templates 2020-02-19 21:38:21 +00:00
Michael Shanks 5d0f9b788c bugfix: component libraries loaded incorrectly 2020-02-19 13:58:06 +00:00
Michael Shanks d9ceee49a1 reording and duplication of components 2020-02-19 10:17:31 +00:00
Michael Shanks e0c67a9ac5 bug in store - insertCodeMetadata import vanished 2020-02-18 21:22:43 +00:00
Martin McKeaveney 3a406bc0da removed generators, added simple presets to standard components 2020-02-18 20:35:43 +00:00
Michael Shanks c033db0e2d Merge branch 'master' into 98-builtin-slot 2020-02-18 17:11:46 +00:00
pngwn 625ebdc36e Remove more logs 2020-02-18 17:05:08 +00:00
Michael Shanks 32b1f9cd89 #94 Remove component from hierarchy 2020-02-18 16:51:28 +00:00
pngwn 3c51f731ef Add screenslot to current preview. 2020-02-18 15:53:22 +00:00
Michael Shanks 56c25fee90 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 6db4394562 Add builtin slot to list 2020-02-18 10:32:00 +00:00
Michael Shanks c9961feee5 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 78b04ea58e moving test from server 2020-02-12 15:47:35 +00:00
Martin McKeaveney 695781c149 move state origin build from server to client 2020-02-12 15:10:31 +00:00
Martin McKeaveney 5ab7162088 final tidy up 2020-02-12 10:12:54 +00:00
Martin McKeaveney f12c6452e4 unit tests 2020-02-12 10:12:54 +00:00
Martin McKeaveney e410748bed merging with master 2020-02-12 10:12:54 +00:00
Martin McKeaveney c976a133c0 auto update state origins when attaching click handlers 2020-02-12 10:12:54 +00:00
Michael Shanks 34b957f331 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 8a80d8801a 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 0808178dfa running prettier over codebase, removing merge files 2020-02-03 09:24:25 +00:00
Michael Shanks 7ae29a6030 #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 5aa44a88a4 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 6aa6c4d433 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 aaae1fd1ef Remove leftovers. 2020-01-24 15:34:44 +00:00
pngwn 044edb1aca 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 d78f8013b5 Implement updating of individual component props 2020-01-24 14:51:29 +00:00
Michael Shanks 4e09043e3a #48 restructure. Screens in, user components out. _children static concept 2020-01-17 23:06:42 +00:00
Michael Shanks 871949ef5e automatically adds index for new record 2019-10-31 09:22:01 +00:00
Michael Shanks 92dcf4b2b8 backup before an f-up 2019-10-18 17:32:03 +01:00
Michael Shanks 2cfded5d01 few bug fixes 2019-10-10 10:41:31 +01:00
Michael Shanks 2f028b1f1e generators.. 2019-10-07 06:03:41 +01:00
Michael Shanks 1529277b11 lots of bugfixes and component changes 2019-10-03 06:12:13 +01:00
Michael Shanks fb8568c0fd bugfix - switching from component to page.. 2019-09-30 04:55:24 +01:00
Michael Shanks 207b73ba97 some bugfixes - ready to start building! 2019-09-29 06:40:06 +01:00
marblekirby 011aa9f2cc 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 9953989de6 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