Aaron Bohy
0ea1091692
[IMP] t-on directive: handle inline statements
...
Closes #265
2019-10-25 14:11:44 +02:00
Géry Debongnie
f6d6da8393
[FIX] component: fix issues with component internal template key
...
closes #298
2019-10-21 09:41:27 +02:00
Aaron Bohy
23246c42aa
[REF] *: snakecase filenames
2019-10-14 11:06:59 +02:00
Géry Debongnie
41b0618c93
[FIX] qweb: improve generated compiled code
2019-10-11 14:10:44 +02:00
Géry Debongnie
5335fb8fba
[IMP] components: add hooks mechanism
...
part of #194
2019-09-27 11:20:08 +02:00
Géry Debongnie
cc82b3ffcd
[IMP] component: support dynamic t-component
2019-09-21 21:58:19 +02:00
Géry Debongnie
7a49b9d94e
[REF] component: move render props and promise to fiber
...
part of #293
2019-09-20 10:48:10 +02:00
Géry Debongnie
01eb338e69
[REF] component: move patchqueue management to fiber
...
part of #293
2019-09-20 10:47:58 +02:00
Géry Debongnie
3048c6f961
[REF] component: introduce fiber
...
part of #293
2019-09-20 10:47:55 +02:00
Géry Debongnie
9846b2e997
[IMP] tags: introduce xml tag
...
Big change! This commit introduces an xml function tag to easily define
inline templates.
This is a pretty big change toward single file owl components
Part of #284
2019-09-12 14:17:21 +02:00
Géry Debongnie
d57017b6ed
[IMP] qweb: add registerTemplate method
2019-09-12 14:17:21 +02:00
Géry Debongnie
9b589af75a
[REF] qweb: improve generated code in some cases
2019-09-12 09:43:09 +02:00
Géry Debongnie
471fd49063
[IMP] router: replace t-routecomponent directive by RouteComponent
...
closes #287
2019-09-11 14:58:36 +02:00
Géry Debongnie
ffb3263c79
[IMP] component: allow dynamic root nodes
...
closes #283
2019-09-11 13:12:57 +02:00
Géry Debongnie
e1acf66143
[IMP] component: components key is now static
...
This is a breaking change!
closes #279
2019-09-11 11:18:49 +02:00
Géry Debongnie
53a8841914
[TEST] component: snapshots slot functions
2019-09-05 14:33:43 +02:00
Géry Debongnie
4cd08d25c8
[FIX] component: solve tricky concurrency issue
...
In some specific situation, a component could crash, because it was
destroyed before being mounted, but reused anyway for another rendering.
2019-09-01 21:24:54 +02:00
Géry Debongnie
f9861040c8
[FIX] router: properly react on hashchange
...
Before this commit, hashchanges were not taken into account by the
router, if used in history mode.
Also, it's stupid, but i ran prettier on the codebase
2019-09-01 11:45:13 +02:00
Géry Debongnie
40d8090232
[FIX] router: update app if parameterized route changes
2019-08-31 15:03:17 +02:00
Géry Debongnie
55be6437f1
[FIX] router: better support for hash mode
2019-08-31 09:55:45 +02:00
Géry Debongnie
aa268937a7
[IMP] router: navigate now returns more information
2019-08-22 14:26:34 +02:00
Géry Debongnie
635a7fc72c
[FIX] router: do not prevent default click on <a> in some cases
2019-08-22 14:26:34 +02:00
Géry Debongnie
6cd5ec10f0
[FIX] router: properly redirect if necessary when started
2019-08-22 14:26:34 +02:00
Géry Debongnie
0a276fbf1d
[IMP] router: basic implementation of navigation guards
2019-08-22 14:26:34 +02:00
Géry Debongnie
3c3dcb44a9
[IMP] router: add test for Link
2019-08-22 14:26:34 +02:00
Géry Debongnie
6ecd1d6ea2
[IMP] router: add validation for destinations
2019-08-22 14:26:34 +02:00
Géry Debongnie
1a931a2a08
[IMP] router: implement redirect feature
2019-08-22 14:26:34 +02:00
Géry Debongnie
bf705fcd99
[REF] router: add TestRouter and improve tests
2019-08-22 14:26:34 +02:00
Géry Debongnie
bb46346767
[REF] router: change Destination shape
2019-08-22 14:26:34 +02:00
Géry Debongnie
cd0762b436
[REF] rework router into a class
2019-08-22 14:26:34 +02:00
Géry Debongnie
ca920a0091
[ADD] router: initial implementation
2019-08-22 14:26:34 +02:00