Commit Graph

855 Commits

Author SHA1 Message Date
Martin McKeaveney 31853a6c34 v0.0.32 2020-04-06 09:26:13 +01:00
Michael Shanks ab316fedcd v0.0.31 2020-04-02 19:27:54 +01:00
Michael Shanks eb8dedeea1 v0.0.30 2020-04-02 19:16:21 +01:00
Michael Shanks dcf4f4963c v0.0.29 2020-03-31 16:33:40 +01:00
Michael Shanks ad496a7c3e v0.0.28 2020-03-31 14:44:04 +01:00
Martin McKeaveney f82a954666 formatting 2020-03-27 16:58:32 +00:00
Martin McKeaveney fa95ba2d79 moving code from main store to backend file 2020-03-16 18:54:48 +00:00
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 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 39075b5032 _bb client api, relative url checks for root path,+ handles absolutes 2020-02-27 21:14:41 +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
Michael Shanks 4f2f2b9015 dont try to attachChildren if theres not htmlElement supplied 2020-02-26 15:57:48 +00:00
Michael Shanks 1e4659db19 bugfix: route params not populated correctly 2020-02-25 22:27:02 +00:00
Martin McKeaveney 3fd7f376e3 all eslint errors fixed 2020-02-25 16:23:45 +00:00
Martin McKeaveney 1912150149 fix tests 2020-02-25 15:46:04 +00:00
Martin McKeaveney 7ae40de558 eslint tidy up 2020-02-25 15:46:04 +00:00
Michael Shanks cb79302b1a added _bb.get/setContext to clientApi - for MD components 2020-02-24 16:41:03 +00:00
Michael Shanks 829eea4189 bugfix: await event handlers 2020-02-24 16:04:13 +00:00
Michael Shanks f68ac7577e router not properly matching parameterized route 2020-02-24 14:57:34 +00:00
Michael Shanks 35d5ae9ed8 random bug - client setState 2020-02-24 14:57:05 +00:00
Michael Shanks 1657beb8fc bugfix - client - approotPath not passed correctly 2020-02-24 11:15:08 +00:00
Michael Shanks 9c90a5f087 test fixes - store renamed state 2020-02-23 22:18:23 +00:00
Michael Shanks 9835e71a2e prettier - auto 2020-02-23 22:18:05 +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
Michael Shanks d7de2f1b0e pass in routeParams to uiFunctions 2020-02-21 23:01:41 +00:00
Martin McKeaveney cad498a9cd remove unnecessary file 2020-02-21 18:07:08 +00:00
Martin McKeaveney 55d43fad80 finished state management ui for v2 2020-02-21 18:02:02 +00:00
Michael Shanks ec7cc028c5 some more routing fixes - css now loaded at runtime 2020-02-21 16:52:29 +00:00
Martin McKeaveney b7a5735a05 state management bindings 2020-02-21 15:44:48 +00:00
Michael Shanks b4eb26b2f1 fix rooting to be able to handle appRootPath 2020-02-21 15:20:00 +00:00
Michael Shanks ab0db65048 bindings can now be just a string (store.someValue) 2020-02-21 14:44:48 +00:00
Michael Shanks c033db0e2d Merge branch 'master' into 98-builtin-slot 2020-02-18 17:11:46 +00:00
pngwn 133339483e Ensure fallback is alway selected when no route matches. 2020-02-18 16:38:35 +00:00
pngwn 3c51f731ef Add screenslot to current preview. 2020-02-18 15:53:22 +00:00
Michael Shanks a58a061df0 router swallows excpetions on pushState
(not supported in iframes, used by builder)
2020-02-18 13:10:57 +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
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 11c114a664 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
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 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 5aa44a88a4 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
Michael Shanks be9443561d Control flow - Client library foundations (#72)
* 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
2020-01-29 23:01:14 +00:00
Michael Shanks 6cb523478d Client Lib > Ability to inject code around initialise children (#68)
* 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
2020-01-28 14:14:53 +00:00
Michael Shanks ed3caec114 md components - getting TestApp to work (#63) 2020-01-27 15:26:38 +00:00
Martin McKeaveney 0fd1271de2 Merge branch 'master' of github.com:Budibase/budibase 2020-01-24 13:57:19 +00:00
Michael Shanks 994aed6f5d added DOM tests for client library 2020-01-24 13:18:31 +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 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 43265fb255 fixes for getting started... 2019-11-09 08:14:10 +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
Michael Shanks 70572a5ee1 v0.0.11 2019-10-12 08:31:04 +01:00
Michael Shanks 4b559d046e v0.0.10 2019-10-12 07:51:01 +01:00
Michael Shanks ce29733189 v0.0.9 2019-10-11 19:06:31 +01:00
Michael Shanks 03c1adb55e v0.0.8 2019-10-11 18:58:13 +01:00
Michael Shanks c2ba38fec1 v0.0.7 2019-10-11 18:51:03 +01:00
Michael Shanks 5ba24568da v0.0.6 2019-10-11 18:48:09 +01:00
Michael Shanks 014c3b6bd3 v0.0.5 2019-10-11 18:47:35 +01:00
Michael Shanks 54420f6987 v0.0.4 2019-10-11 18:45:26 +01:00
Michael Shanks 0e9a885aa1 generators seem to be working... 2019-10-10 06:18:02 +01:00
Michael Shanks 2f028b1f1e generators.. 2019-10-07 06:03:41 +01:00
Michael Shanks 1529277b11 lots of bugfixes and component changes 2019-10-03 06:12:13 +01:00
Michael Shanks 3ebe483d94 context binding 2019-10-01 05:57:45 +01:00
Michael Shanks 7c4c1bd670 new components not export by index in stanadard-component 2019-09-30 05:21:08 +01:00
Michael Shanks 207b73ba97 some bugfixes - ready to start building! 2019-09-29 06:40:06 +01:00
Michael Shanks 3cfe71cbbb refactoring - lodash/fp 2019-09-28 05:28:11 +01:00
Michael Shanks cb6fe94584 Event bindings with context, array binding, Table component... 2019-09-27 17:03:31 +01:00
Michael Shanks e0d1ea5651 nav component and bug fixes 2019-09-26 05:40:58 +01:00
Michael Shanks 1a8a9cd490 More event handlers & bug fix 2019-09-24 06:11:02 +01:00
Michael Shanks bfda230aae state event handlers - API 2019-09-23 06:08:06 +01:00
Michael Shanks 9953989de6 state binding working 2019-09-22 05:02:33 +01:00
Michael Shanks be2fe07395 Events and state binding 2019-09-20 08:01:35 +01:00
Michael Shanks 70ddecfab0 data binding and stndard componets work 2019-09-19 04:35:40 +01:00
Michael Shanks 4cd2de5df3 publish:dev script to help client development 2019-09-12 15:04:07 +01:00
Michael Shanks dda4517cb0 Budibase is alive! sort of 2019-09-12 06:10:50 +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 cb026b017b packages.. 2019-09-10 09:58:03 +01:00
michael shanks 44e85ef573 bug fixing 2019-09-09 21:02:23 +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 4b12a6a193 adding test commands for all packaged that need them 2019-07-21 09:59:30 +01:00
michael shanks 81e5b5659c upgraded dependencies 2019-07-21 09:54:19 +01:00
michael shanks 3f87806899 server - first passing tests 2019-06-14 10:05:46 +01:00
michael shanks 2fc0bc7156 mono repo 2019-06-07 14:18:10 +01:00