1
0
Fork 0
mirror of synced 2024-06-30 20:10:54 +12:00
Commit graph

70 commits

Author SHA1 Message Date
Michael Shanks 946c79df53 bugfix: clearing sessions on backend update 2020-03-28 06:39:22 +00:00
Michael Shanks ca6c3d182a evict packages from cache on SaveBackend 2020-03-25 12:38:04 +00:00
Michael Shanks a286385e57 bugfixes... incorrect routing from builder to instances 2020-03-11 16:42:19 +00:00
Michael Shanks f8e71d0e96 exposing _master database operations to builder 2020-03-10 10:05:09 +00:00
Martin McKeaveney f746a0416c lint failures 2020-02-27 16:45:24 +00:00
Michael Shanks 4c1d3c4e88 bugfix: _master package sent to incorrect directory 2020-02-26 11:39:19 +00:00
Martin McKeaveney 0d0f635db4 eslint tidy up 2020-02-25 15:46:04 +00:00
Michael Shanks d271ed6a50 some more routing fixes - css now loaded at runtime 2020-02-21 16:52:29 +00:00
Michael Shanks cd829182f9 component templates 2020-02-19 21:38:21 +00:00
Martin McKeaveney 8b64c64bab removed generators, added simple presets to standard components 2020-02-18 20:35:43 +00:00
Michael Shanks 4089b52c53
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
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
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 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 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
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
Michael Shanks a7ecea82ac fixes for getting started... 2019-11-09 08:14:10 +00:00
Michael Shanks 75f4c6dd68 backup before an f-up 2019-10-18 17:32:03 +01:00
Michael Shanks 4c3b9e4488 cli working.. 2019-10-12 07:50:32 +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 b4f7ccbbba generators.. 2019-10-07 06:03:41 +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 70ddecfab0 data binding and stndard componets work 2019-09-19 04:35:40 +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 a6f6e75215 package changes 2019-09-10 06:14:45 +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 e383c03435 working on client lib 2019-09-06 13:04:23 +01:00
michael shanks 573f274f89 component preview sort of working 2019-08-19 21:18:23 +01:00
michael shanks 21224b119b builder ui changes - UI builder in progress 2019-08-07 09:03:49 +01:00
michael shanks d27ec9e0a5 working components nav - not styled properly 2019-08-02 14:54:10 +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