Géry Debongnie
|
dd75a17448
|
add test helpers, add navbar tests
|
2019-01-29 10:48:05 +01:00 |
|
Géry Debongnie
|
b024ce3183
|
move root widget to root folder
|
2019-01-29 10:00:33 +01:00 |
|
Géry Debongnie
|
2ea569f7aa
|
make widget class generic on props
|
2019-01-28 21:32:21 +01:00 |
|
Géry Debongnie
|
d80421d647
|
add types.ts file
|
2019-01-28 20:53:52 +01:00 |
|
Géry Debongnie
|
f03bdc5bb7
|
add font awesome cdn
|
2019-01-28 20:39:43 +01:00 |
|
Géry Debongnie
|
c5df755094
|
small cleanup
|
2019-01-28 16:20:10 +01:00 |
|
Géry Debongnie
|
6ae6ddadc8
|
implement shouldUpdate method/hook
|
2019-01-28 16:16:22 +01:00 |
|
Géry Debongnie
|
ee255993a8
|
prevent issue when widget is toggled
|
2019-01-28 15:53:24 +01:00 |
|
Géry Debongnie
|
851d01b7ad
|
do not destroy and rerender sub widgets if not necessary
add failing test on rerendering sub widgets...
|
2019-01-28 15:18:16 +01:00 |
|
Géry Debongnie
|
9e0d1db8e4
|
move Type type to globals.d.ts file
|
2019-01-28 12:18:20 +01:00 |
|
Géry Debongnie
|
5ab3532aa1
|
add color widget in discuss
|
2019-01-28 12:13:59 +01:00 |
|
Géry Debongnie
|
2b27249136
|
allow dynamic expressions in t-props directive
|
2019-01-28 12:13:25 +01:00 |
|
Géry Debongnie
|
3906c7eee1
|
add note on qweb template safety
|
2019-01-28 12:08:56 +01:00 |
|
Géry Debongnie
|
250f82b9ca
|
update readme (last section on to do/discussions)
|
2019-01-28 12:08:56 +01:00 |
|
Géry Debongnie
|
a63f5ed0bb
|
improve widget code
|
2019-01-27 22:02:08 +01:00 |
|
Géry Debongnie
|
c8704f40bb
|
slightly improve style
|
2019-01-27 21:55:34 +01:00 |
|
Géry Debongnie
|
d8c37a2942
|
handle situation when widget is destroyed before willStart
|
2019-01-27 21:50:22 +01:00 |
|
Géry Debongnie
|
fb6ad6e56b
|
fix: destroying a parent should also destroy its children
|
2019-01-27 21:08:43 +01:00 |
|
Géry Debongnie
|
138e5dc231
|
add propsUpdated hook
|
2019-01-27 18:45:08 +01:00 |
|
Géry Debongnie
|
2ad5a50b8e
|
update readme to add a non-goal
|
2019-01-27 18:43:26 +01:00 |
|
Géry Debongnie
|
9b1841bfa5
|
properly call willunmount and destroy hooks
|
2019-01-27 18:25:41 +01:00 |
|
Géry Debongnie
|
d40f88cf50
|
add widget test
|
2019-01-27 15:12:35 +01:00 |
|
Géry Debongnie
|
6431e555c3
|
add design goal to readme
|
2019-01-27 15:02:17 +01:00 |
|
Géry Debongnie
|
37175df9ad
|
change children implementation, remove parented link on destroy
|
2019-01-27 13:50:53 +01:00 |
|
Géry Debongnie
|
8b6ce52cd7
|
update readme.md to add design/architeture notes
|
2019-01-27 13:31:02 +01:00 |
|
Géry Debongnie
|
5570df8bf0
|
add registry
|
2019-01-27 09:43:15 +01:00 |
|
Géry Debongnie
|
0dfa47e405
|
add memoize function and use it for makeEnvironment
|
2019-01-27 09:23:48 +01:00 |
|
Géry Debongnie
|
d68198ad34
|
add comments, add debug flag to environment
|
2019-01-26 23:44:18 +01:00 |
|
Géry Debongnie
|
19ce38f29d
|
qweb: only protect context if necessary
|
2019-01-26 23:21:40 +01:00 |
|
Géry Debongnie
|
5496935c61
|
qweb: only bind owner if directives uses it
|
2019-01-26 23:19:18 +01:00 |
|
Géry Debongnie
|
db04ae6a8d
|
small cleanup
|
2019-01-26 20:46:16 +01:00 |
|
Géry Debongnie
|
90f30c6c72
|
make sure env is propagated to child widgets
|
2019-01-26 20:33:23 +01:00 |
|
Géry Debongnie
|
8488c41b38
|
move test files in subfolder
|
2019-01-26 20:23:34 +01:00 |
|
Géry Debongnie
|
fe7f506fcb
|
add IAjax and IActionManager interfaces
|
2019-01-26 20:22:32 +01:00 |
|
Géry Debongnie
|
5fe72757a7
|
rename _ into __widget__
|
2019-01-26 18:23:43 +01:00 |
|
Géry Debongnie
|
7bfc0d6cb6
|
call destroyed hook only once
|
2019-01-26 18:20:49 +01:00 |
|
Géry Debongnie
|
c3fa3042dc
|
add IRouter interface
|
2019-01-26 18:13:20 +01:00 |
|
Géry Debongnie
|
bfa76e9de5
|
fix tricky issue with sub widgets modifying el
|
2019-01-26 18:13:09 +01:00 |
|
Géry Debongnie
|
a47a65d333
|
make sure subwidgets have proper parents
|
2019-01-25 20:05:31 +01:00 |
|
Géry Debongnie
|
37b275d40e
|
fix issue with mounted widget without proper vnode
|
2019-01-25 16:08:25 +01:00 |
|
Géry Debongnie
|
6f6e2d887d
|
qweb: make sure on directive is properly bound
|
2019-01-25 16:01:02 +01:00 |
|
Géry Debongnie
|
c3221663a9
|
refactor widget test suite
|
2019-01-25 15:28:21 +01:00 |
|
Géry Debongnie
|
9fc7cf0c68
|
move internal stuff in _, add unique id for each widget
|
2019-01-25 14:27:16 +01:00 |
|
Géry Debongnie
|
c1dd38bf03
|
allow new widgets to be mount in mounted hook
|
2019-01-25 14:05:14 +01:00 |
|
Géry Debongnie
|
dbada21890
|
work on mounted hook, make sure widgets are uniquely defined...
|
2019-01-25 12:03:12 +01:00 |
|
Géry Debongnie
|
9c0b63cd29
|
call mounted hooks at proper timing
|
2019-01-25 11:01:43 +01:00 |
|
Géry Debongnie
|
179ad3edf4
|
small widget refactoring
|
2019-01-25 10:25:42 +01:00 |
|
Géry Debongnie
|
2894d74db9
|
prevent directives from polluting rendering context
|
2019-01-25 09:24:21 +01:00 |
|
Géry Debongnie
|
299a6b4977
|
small improvements to widget, add clock widget
|
2019-01-24 22:15:23 +01:00 |
|
Géry Debongnie
|
3415d830c7
|
small cleanup
|
2019-01-24 13:26:42 +01:00 |
|