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
bd5adc45cb
uiFunctions receive state and routeParams
2020-02-21 23:01:16 +00:00
Michael Shanks
38656f5ceb
standalone templates
2020-02-21 22:56:18 +00:00
Michael Shanks
1398a00212
standalone templates (templates with no component)
2020-02-21 21:27:44 +00:00
Martin McKeaveney
91c2e187c6
lerna version
2020-02-21 18:06:23 +00:00
Martin McKeaveney
55d43fad80
finished state management ui for v2
2020-02-21 18:02:02 +00:00
Martin McKeaveney
b7a5735a05
state management bindings
2020-02-21 15:44:48 +00:00
Michael Shanks
5b1bbad6c6
bugfix: binding broken in propertycascader
2020-02-21 15:39:56 +00:00
Michael Shanks
ab0db65048
bindings can now be just a string (store.someValue)
2020-02-21 14:44:48 +00:00
Michael Shanks
098a851cdb
Merge pull request #116 from pngwn/icons-update
...
Use remix icons for consistency.
2020-02-21 11:45:38 +00:00
Michael Shanks
383a639aba
Merge branch 'master' of github.com:Budibase/budibase
2020-02-21 11:43:41 +00:00
pngwn
f29de61dde
Use remix icons for consistency. Styling tweaks.
2020-02-21 11:09:37 +00:00
Michael Shanks
548c8bb305
bugfix: generate css on screen change
2020-02-21 09:27:43 +00:00
Martin McKeaveney
f0ed967c87
Update store.js
2020-02-20 21:21:16 +00:00
Michael Shanks
1bb0a9a14b
dodgy merge
2020-02-20 17:27:48 +00:00
Michael Shanks
42b3893c21
merge conflicts from peter/tweaks
2020-02-20 17:11:41 +00:00
Michael Shanks
187a9213ae
reduced padding on comp hierarchy
2020-02-20 17:09:35 +00:00
Michael Shanks
6b4e6076c3
ensure component templates exist when presets do not
2020-02-20 17:09:14 +00:00
Michael Shanks
5f7511e3fd
create props - ensure _styles always exist
2020-02-20 17:08:51 +00:00
Michael Shanks
21461645cc
store method for save page or screen (context dependant)
2020-02-20 17:08:17 +00:00
Michael Shanks
1d2f079914
added height and width as positioning options
2020-02-20 17:07:25 +00:00
Michael Shanks
99c8814533
component templates
2020-02-19 21:38:21 +00:00
Michael Shanks
1559b08ce2
bad layout of component actions, on everything but firefox
2020-02-19 14:12:24 +00:00
Michael Shanks
5d0f9b788c
bugfix: component libraries loaded incorrectly
2020-02-19 13:58:06 +00:00
Michael Shanks
d9ceee49a1
reording and duplication of components
2020-02-19 10:17:31 +00:00
Michael Shanks
e0c67a9ac5
bug in store - insertCodeMetadata import vanished
2020-02-18 21:22:43 +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
Michael Shanks
c033db0e2d
Merge branch 'master' into 98-builtin-slot
2020-02-18 17:11:46 +00:00
pngwn
625ebdc36e
Remove more logs
2020-02-18 17:05:08 +00:00
pngwn
fe7a7c7010
Remove logs
2020-02-18 17:03:36 +00:00
pngwn
a29dc4561e
Ensure slot renders in current preview.
2020-02-18 17:00:56 +00:00
Michael Shanks
32b1f9cd89
#94 Remove component from hierarchy
2020-02-18 16:51:28 +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
411d31eccf
Fix Layout issue on FF
2020-02-12 21:01:53 +00:00
Martin McKeaveney
4f42a68a9e
Merge pull request #99 from shogunpurple/state-bindings
...
State bindings
2020-02-12 15:50:30 +00:00
Martin McKeaveney
78b04ea58e
moving test from server
2020-02-12 15:47:35 +00:00
Martin McKeaveney
695781c149
move state origin build from server to client
2020-02-12 15:10:31 +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
Martin McKeaveney
5ab7162088
final tidy up
2020-02-12 10:12:54 +00:00
Martin McKeaveney
52d79236e8
close dropdown on component change
2020-02-12 10:12:54 +00:00
Martin McKeaveney
f12c6452e4
unit tests
2020-02-12 10:12:54 +00:00
Martin McKeaveney
5795a78cd5
fix rotation on state arrow
2020-02-12 10:12:54 +00:00
Martin McKeaveney
e410748bed
merging with master
2020-02-12 10:12:54 +00:00
Martin McKeaveney
c976a133c0
auto update state origins when attaching click handlers
2020-02-12 10:12:54 +00:00
Martin McKeaveney
7a39e16e32
state binding complete
2020-02-12 10:12:54 +00:00
Martin McKeaveney
4fbdde2f5e
better state bindings for defaults
2020-02-11 14:19:06 +00:00