Commit Graph

21 Commits

Author SHA1 Message Date
Martin McKeaveney b7a5735a05 state management bindings 2020-02-21 15:44:48 +00:00
Martin McKeaveney 1390fba035 tidy up 2020-02-18 20:35:43 +00:00
Martin McKeaveney 3a406bc0da removed generators, added simple presets to standard components 2020-02-18 20:35:43 +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
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 927502eb38 include svelte files in prettier 2020-02-03 09:50:30 +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 62edeb3c3d Correct gitignore pattern 2020-01-24 14:51:28 +00:00
Martin McKeaveney 460ff487be v0.0.16 2020-01-23 11:38:11 +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 5a2ffac934 yandom bugfix brought by svelte 3.15.0 - each index 2019-11-23 08:15:28 +00:00
Michael Shanks 4f29664990 v0.0.15 2019-11-12 07:15:59 +00:00
Michael Shanks e459d56754 v0.0.14 2019-11-09 08:14:41 +00:00
Michael Shanks b64c57bbfb v0.0.13 2019-11-05 13:30:53 +00:00
Michael Shanks 21287181a2 v0.0.12 2019-10-19 07:24:35 +01:00
Michael Shanks 540fb4c3d6 basic cru app possible 2019-10-19 07:24:20 +01:00
Michael Shanks 92dcf4b2b8 backup before an f-up 2019-10-18 17:32:03 +01:00
Michael Shanks 6f83fd19a3 bootstra components - backup before comonen control flow 2019-10-16 05:38:45 +01:00
Michael Shanks f787633fc7 bootstrap components started... 2019-10-14 08:32:20 +01:00