Commit Graph

58 Commits

Author SHA1 Message Date
Joe 856db29f9f top nav bar ui redesign
To add contract to the builder, I've darkened the top navbar (primary color). I've also added preview and a settings icon, as well as removing borders from nav items.
2020-03-07 13:02:54 +00:00
Martin McKeaveney 7c5675a95f
fix tests 2020-02-25 18:02:18 +00:00
Martin McKeaveney 3d7ba759fa fix tests 2020-02-25 15:46:04 +00:00
Martin McKeaveney 0d0f635db4 eslint tidy up 2020-02-25 15:46:04 +00:00
Michael Shanks 4fb30835cd few broken tests (typos) 2020-02-23 21:59:27 +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 cca039bdd0
Merge pull request #99 from shogunpurple/state-bindings
State bindings
2020-02-12 15:50:30 +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
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
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 598aa5f8fa fix bcrypt in build 2020-01-28 13:06:35 +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
Michael Shanks a7ecea82ac fixes for getting started... 2019-11-09 08:14:10 +00: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 4c3b9e4488 cli working.. 2019-10-12 07:50:32 +01:00
Michael Shanks 3e67dd07c0 CLI nearly there 2019-10-11 17:14:23 +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 b2c3accf82 some bugfixes - ready to start building! 2019-09-29 06:40:06 +01:00
Michael Shanks 2e6a34c687 state binding working 2019-09-22 05:02:33 +01:00
Michael Shanks d6f1ac0696 reinstated myTextBox.json 2019-09-19 04:41:05 +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 5f2865b09a serving files from _shared 2019-09-12 15:55:36 +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 ecb62fb105 package updates .. 2019-09-10 10:37:08 +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
michael shanks 1413ee6f2c searching components 2019-07-28 08:03:11 +01:00
michael shanks 55bf142a95 delete derived component endpoint 2019-07-27 07:43:03 +01:00
michael shanks d70f14d6bc derived components endpoints working 2019-07-27 07:31:31 +01:00
michael shanks af2fc95a6b derived components endpoints 2019-07-26 17:08:59 +01:00
michael shanks ebf5dfeeea get components server endpoint ... tested 2019-07-26 15:13:15 +01:00
michael shanks 4891c6de80 adding in routes for components and pages 2019-07-25 07:31:54 +01:00
michael shanks 4b12a6a193 adding test commands for all packaged that need them 2019-07-21 09:59:30 +01:00
michael shanks 601755f17a routes for serving UI, now tested 2019-07-19 08:13:39 +01:00
michael shanks 7bc6dfbdd3 all tests passing again after refactor for serving UI 2019-07-18 08:05:16 +01:00
michael shanks 921b31d595 refactoring routes to serve app UIs 2019-07-16 22:14:57 +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