Commit Graph

201 Commits

Author SHA1 Message Date
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
Michael Shanks c3fa212b31
Lots of poking around to get apps to run, plux fixing tests (#92)
ixing broken tests on client
typo in buildPage.js
fixing some server tests
local datastore uses fs-extra remove, not rmdir
client - loadBudibase - no longer destructuring arg
updated publishdev script for client (reads apps)
prettier fix
some little bug fixes
bugfix - set screens to empty array when falsy
typo in template page.json
replaced "Shard Factor" for "Estimated Count"
2020-02-12 12:45:24 +00:00
Martin McKeaveney 175002d178 unit tests 2020-02-12 10:12:54 +00:00
Martin McKeaveney f34a4707a9 fix rotation on state arrow 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
Martin McKeaveney ee9df6c29a state binding v1 2020-02-11 14:19:06 +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 34d56e960f include svelte files in prettier 2020-02-03 09:50:30 +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
Martin McKeaveney 912a6e4f1b tidy up 2020-01-31 09:49:26 +00:00
Martin McKeaveney a88db662bf basic architecture complete 2020-01-29 21:04:48 +00:00
Martin McKeaveney ea88880417 merge 2020-01-28 22:39:16 +00:00
Martin McKeaveney 598aa5f8fa fix bcrypt in build 2020-01-28 13:06:35 +00:00
Martin McKeaveney 17e22b4da7 merge 2020-01-27 12:16:03 +00:00
Martin McKeaveney 231a1ab3e3 build process improvements and gitignore 2020-01-24 16:31:53 +00:00
Martin McKeaveney 4611970896 removing final package lock, gitignore on builder folder 2020-01-24 15:56:14 +00:00
pngwn 18a436ffef Keep assets folder. 2020-01-24 14:51:29 +00:00
pngwn 705dd128d4 Restore lost utility files 2020-01-24 14:51:29 +00:00
pngwn 3f9d708541 Correct gitignore pattern 2020-01-24 14:51:28 +00:00
pngwn 4fb3e6cfc5 Add builder to gitignore. 2020-01-24 14:51:28 +00:00
Martin McKeaveney 3bcb6db7f5 removing the package lock files 2020-01-24 14:10:19 +00:00
Martin McKeaveney 173df7191a Merge branch 'master' of github.com:Budibase/budibase 2020-01-24 13:57:19 +00:00
Michael Shanks 0861e11319 updated yarn lock files 2020-01-24 13:20:03 +00:00
Martin McKeaveney 49ed9d0cd9 Merge branch 'master' of github.com:Budibase/budibase 2020-01-23 15:17:19 +00:00
Martin McKeaveney 46a9650f62 v0.0.16 2020-01-23 11:38:11 +00:00
Martin McKeaveney 2978887fa1 removing duplicated node crypto 2020-01-23 10:46:58 +00:00
Martin McKeaveney f15ffa59e3 remove argon and use bcryptjs 2020-01-23 10:32:27 +00:00
Michael Shanks eac855bb71 #48 restructure. Screens in, user components out. _children static concept 2020-01-17 23:06:42 +00:00
dependabot[bot] 5d8d59d456 Bump handlebars from 4.1.2 to 4.5.3 in /packages/server (#44)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-29 06:47:33 +00:00
Michael Shanks b7db2eb035 merge from master 2019-11-24 06:06:56 +00:00
Michael Shanks 84638a6d65 Getting started for contributors fixed - see readme 2019-11-23 07:28:24 +00:00
Michael Shanks 63b40b21a2 backup yo 2019-11-22 06:28:12 +00:00
Michael Shanks 57bec22461 v0.0.15 2019-11-12 07:15:59 +00:00
Michael Shanks cb6d585f97 build - vew version 2019-11-12 07:15:48 +00:00
Michael Shanks f4d9629fd2 v0.0.14 2019-11-09 08:14:41 +00:00
Michael Shanks a7ecea82ac fixes for getting started... 2019-11-09 08:14:10 +00:00
Michael Shanks accc9e300e cli - new handler respects latestPackagesFolder 2019-11-09 06:34:19 +00:00
Michael Shanks 1d6cecc1c3 cli - new handler respects latestPackagesFolder 2019-11-07 21:46:47 +00:00
Michael Shanks 933a70f3ff v0.0.13 2019-11-05 13:30:53 +00:00
Michael Shanks e878aefb68 rebuild 2019-11-05 13:30:36 +00:00
Michael Shanks ed6bb4bf62 v0.0.12 2019-10-19 07:24:35 +01:00
Michael Shanks 63c865ab7d basic cru app possible 2019-10-19 07:24:20 +01:00
Michael Shanks 75f4c6dd68 backup before an f-up 2019-10-18 17:32:03 +01:00
Michael Shanks 89c6dd04c3 bootstra components - backup before comonen control flow 2019-10-16 05:38:45 +01:00
Michael Shanks 11810d7a74 bootstrap components started... 2019-10-14 08:32:20 +01:00
Michael Shanks 8af94150b1 v0.0.11 2019-10-12 08:31:04 +01:00
Michael Shanks a88b56d3c4 v0.0.10 2019-10-12 07:51:01 +01:00
Michael Shanks 4c3b9e4488 cli working.. 2019-10-12 07:50:32 +01:00
Michael Shanks e3e52ff65d v0.0.9 2019-10-11 19:06:31 +01:00
Michael Shanks dc8e123f5b ignoring test package node_modules from npm publish 2019-10-11 19:05:56 +01:00
Michael Shanks 3ad26dffed v0.0.8 2019-10-11 18:58:13 +01:00
Michael Shanks 3c1114d71a v0.0.7 2019-10-11 18:51:03 +01:00
Michael Shanks 115189f72a v0.0.6 2019-10-11 18:48:09 +01:00
Michael Shanks 3d75263b16 v0.0.5 2019-10-11 18:47:35 +01:00
Michael Shanks 3c02f05d8d v0.0.4 2019-10-11 18:45:26 +01:00
Michael Shanks 4247512791 cli... 2019-10-11 18:44:55 +01:00
Michael Shanks 3e67dd07c0 CLI nearly there 2019-10-11 17:14:23 +01:00
Michael Shanks aee554383c few bug fixes 2019-10-10 10:41:31 +01:00
Michael Shanks 1716b0ca5b generators seem to be working... 2019-10-10 06:18:02 +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 df300daf8d new components not export by index in stanadard-component 2019-09-30 05:21:08 +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
Michael Shanks 08cedd1cc2 refactoring - lodash/fp 2019-09-28 05:28:11 +01:00
Michael Shanks 2c3b4b55ee Event bindings with context, array binding, Table component... 2019-09-27 17:03:31 +01:00
Budibase 52e7f72459 UI Navbar [right] styling
Font styling, and spacing, and alignment changed to reflext recent UI changes.
2019-09-25 20:53:52 +01:00
Michael Shanks 3724d2b873 More event handlers & bug fix 2019-09-24 06:11:02 +01:00
Budibase a318bd2179 Frontend page/component nav changes
Background changed, font styling updated, top nav font styling updated.
2019-09-23 22:22:57 +01:00
marblekirby 7b3e376c60 css guff 2019-09-23 01:04:30 +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 8409deae15 Events and state binding 2019-09-20 08:01:35 +01:00
Michael Shanks d6f1ac0696 reinstated myTextBox.json 2019-09-19 04:41:05 +01:00
Michael Shanks 42588fb34b Merge branch 'master' of github.com:Budibase/budibase 2019-09-19 04:35:49 +01:00
Michael Shanks 70ddecfab0 data binding and stndard componets work 2019-09-19 04:35:40 +01:00
Budibase a06fa47e8a UI changes
UI changes including:
- button restyling
- new font
- nackend nav bar colour changed
- font resizing
- spacing adjusted
2019-09-18 19:16:11 +01:00
Michael Shanks 346ec5c4da renamed _master in packge json 2019-09-12 21:44:16 +01:00
Michael Shanks 5f2865b09a serving files from _shared 2019-09-12 15:55:36 +01:00
Michael Shanks dda4517cb0 Budibase is alive! sort of 2019-09-12 06:10:50 +01:00
Michael Shanks 614e9dbfdd breaking tests 2019-09-11 06:08:39 +01:00
Michael Shanks fc651a10a1 packaging fix 2019-09-11 05:18:00 +01:00
michael shanks c5e6fe001b v0.0.3 2019-09-10 13:07:35 +01:00
michael shanks 2e596be3d1 v0.0.2 2019-09-10 11:48:00 +01:00
Michael Shanks ecb62fb105 package updates .. 2019-09-10 10:37:08 +01:00
Michael Shanks 22bed49a09 packages changes and bugfix 2019-09-10 10:25:13 +01:00
Michael Shanks 5b80366418 package update 2019-09-10 09:45:47 +01:00
Michael Shanks a6f6e75215 package changes 2019-09-10 06:14:45 +01:00
Michael Shanks 4748ce0ed5 package changes 2019-09-10 06:11:46 +01:00
Michael Shanks a2498b6ced packaging stuff 2019-09-10 06:00:19 +01:00
michael shanks 44e85ef573 bug fixing 2019-09-09 21:02:23 +01:00
michael shanks 1f3fed1a6d bugfixes - actions not saving correctly 2019-09-09 08:50:15 +01:00
michael shanks e0abcdaa0e bugfixes. 2019-09-09 05:24:14 +01:00
michael shanks 5ee72b1d87 build app... probably not orking yet.. 2019-09-07 06:50:35 +01:00