Commit Graph

82 Commits

Author SHA1 Message Date
Michael Shanks dd1d3643e4 lerna updated gitHead for me for some reason 2020-03-05 14:54:22 +00:00
Michael Shanks a54d978662 v0.0.27 2020-03-05 08:53:44 +00:00
Michael Shanks 128218a0fa v0.0.26 2020-03-05 08:48:04 +00:00
Michael Shanks a510d18318 v0.0.25 2020-03-05 08:37:51 +00:00
Michael Shanks 052493e4fa bugfix: container should default to div 2020-03-04 15:20:53 +00:00
Michael Shanks b90add5833 v0.0.24 2020-02-27 23:42:35 +00:00
Michael Shanks 2548e0da2c v0.0.23 2020-02-27 22:08:29 +00:00
Michael Shanks 7438e6f057 v0.0.22 2020-02-27 11:59:35 +00:00
Michael Shanks f7c0e7a27c v0.0.21 2020-02-26 22:47:09 +00:00
Michael Shanks 615688afa7 v0.0.20 2020-02-26 22:32:19 +00:00
Michael Shanks e87e890306 v0.0.19 2020-02-26 22:26:19 +00:00
Michael Shanks 6c10a4a2cf v0.0.18 2020-02-26 22:18:45 +00:00
Michael Shanks 56d51014d4 prep for NPM publish 2020-02-26 22:18:14 +00:00
Michael Shanks 05d55de0d8 v0.0.17 2020-02-26 21:12:13 +00:00
Martin McKeaveney 8d7b5cc078 Update index.js 2020-02-25 17:30:27 +00:00
Martin McKeaveney 7d17459eb1 Rename button.svelte to Button.svelte 2020-02-25 17:30:06 +00:00
Michael Shanks c14c826d51 CI error: standard-comp Button import typo 2020-02-25 17:25:26 +00:00
Martin McKeaveney 7ae40de558 eslint tidy up 2020-02-25 15:46:04 +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 91aa46836f publishDev scripts create dirs, so we dont get annoying errors 2020-02-22 22:24:19 +00:00
Martin McKeaveney b7a5735a05 state management bindings 2020-02-21 15:44:48 +00:00
Michael Shanks 95dab52619 components changes 2020-02-21 11:43:21 +00:00
Michael Shanks 004d839966 new components 2020-02-20 17:06:50 +00:00
Michael Shanks 99c8814533 component templates 2020-02-19 21:38:21 +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 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 7a39e16e32 state binding complete 2020-02-12 10:12:54 +00:00
Martin McKeaveney 936bce711e state binding v1 2020-02-11 14:19:06 +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 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 d78f8013b5 Implement updating of individual component props 2020-01-24 14:51:29 +00:00
pngwn 6ed94eb0a8 Update gitignored files. 2020-01-24 14:51:28 +00:00
Martin McKeaveney 460ff487be v0.0.16 2020-01-23 11:38:11 +00:00
Michael Shanks b4255c3c56 introduced 'container' to component definition 2020-01-20 21:57:27 +00:00
Michael Shanks fce9848143 standard components exports broken 2020-01-20 11:03:25 +00:00
Michael Shanks 23bc8687eb standard-components - uses _children 2020-01-18 09:00:18 +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 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 e3b6dffda5 Standard Select Componet:added blank option 2019-10-31 09:23:55 +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