Commit Graph

106 Commits

Author SHA1 Message Date
Martin McKeaveney 0178d66ee9 publish 2020-04-06 09:30:58 +01:00
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