Géry Debongnie
403935a41e
[DOC] qweb: document t-att variant
...
closes #378
2019-10-22 22:03:10 +02:00
Géry Debongnie
39af9ec938
[DOC] improve store documentation on useGetters
...
closes #386
2019-10-22 22:00:41 +02:00
Géry Debongnie
13128ed425
[FIX] component: do not validate props twice
...
it is not useful to do it in the component directive, especially since
it is done in the constructor, and the default props are not applied.
closes #379
2019-10-22 21:58:51 +02:00
Géry Debongnie
be556a970e
[FIX] qweb: properly calls directive finalizers
...
closes #382
2019-10-22 21:56:29 +02:00
Aaron Bohy
da6c24bbca
[FIX] test: do not check external links in doc
2019-10-21 09:47:20 +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
Géry Debongnie
918945c11e
[DOC] improve the comparison documentation page
...
closes #365
closes #366
2019-10-20 14:46:01 +02:00
Géry Debongnie
29c2c5b9c9
[DOC] improve the documentation
...
closes #340
closes #344
closes #352
closes #355
2019-10-20 09:17:52 +02:00
Aaron Bohy
1bb4577ec1
[DOC] improve hooks and qweb doc
...
Closes #358
Closes #359
2019-10-18 09:42:03 +02:00
Géry Debongnie
0aeebd7b6e
[REF] utils: rename loadTemplates into loadFile
...
closes #351
2019-10-18 08:05:26 +02:00
Géry Debongnie
4bc49e7241
[DOC] add a roadmap
...
closes #347
2019-10-17 22:36:44 +02:00
Géry Debongnie
2b5783d9bd
[FIX] playground: update samples to make them work on firefox
...
Sadly, Firefox does not support yet static class fields, so we need to
use an equivalent, but slightly not as nice, syntax.
closes #335
2019-10-17 16:57:40 +02:00
Géry Debongnie
1f40f113aa
[DOC] update the documentation
...
closes #334
closes #336
closes #338
closes #339
closes #341
closes #342
closes #343
closes #346
closes #348
2019-10-17 12:08:24 +02:00
Géry Debongnie
9e65b0686f
[REL] bump to v0.23.0
v0.23.0
2019-10-16 22:31:04 +02:00
Géry Debongnie
1d72164015
[FIX] component: support component reduced to a slot
2019-10-16 21:48:49 +02:00
Géry Debongnie
2825a5a55d
[FIX] qweb: properly handle xml comments
2019-10-15 15:47:50 +02:00
Géry Debongnie
d40ff53f5a
[DOC] doc: add more information in store section
2019-10-14 15:00:31 +02:00
Aaron Bohy
23246c42aa
[REF] *: snakecase filenames
2019-10-14 11:06:59 +02:00
Géry Debongnie
895fe7c60f
[REF] store: replace ConnectedComponent by useStore hook
...
Closes #304
2019-10-14 11:06:59 +02:00
Géry Debongnie
19b10f7c1d
[IMP] playground: update todoapp sample
2019-10-14 11:06:59 +02:00
Géry Debongnie
0788d9fe75
[REF] qweb: rename Context into CompilationContext
2019-10-14 11:06:59 +02:00
Géry Debongnie
4a346d0615
[FIX] qweb: properly remove t-ref reference
...
when the node is removed from the dom
2019-10-14 11:06:59 +02:00
Géry Debongnie
1337aa0107
[IMP] component: add current key for easier hook creation
...
closes #319
2019-10-14 10:25:34 +02:00
Géry Debongnie
3e8f60cefa
[FIX] qweb: properly handle t-raw in various situations
...
closes #325
closes #327
2019-10-14 09:59:26 +02:00
Géry Debongnie
41b0618c93
[FIX] qweb: improve generated compiled code
2019-10-11 14:10:44 +02:00
Aaron Bohy
0928c189f4
[FIX] qweb: allow to combine t-esc with other directives
...
With this rev., when a t-esc is not set on a <t> tag, we create
it inside the node on which it is set, to ensure that the t-esc
directive is always set on <t> tags.
Same applies for t-raw.
Closes #324
2019-10-11 14:10:44 +02:00
Aaron Bohy
2f27768be2
[FIX] qweb: event modifier with arg in t-foreach
...
Closes #266
2019-10-11 14:01:07 +02:00
Aaron Bohy
aa1b0f502d
[FIX] tests: fix import
2019-10-11 14:01:07 +02:00
Géry Debongnie
da1824f4dd
[DOC] doc: improve navigation to main doc page
...
also, fixes a small error
2019-10-10 12:28:36 +02:00
Géry Debongnie
07dac970f7
[IMP[ component/hooks: add onWillStart and onWillUpdateProps
2019-10-09 15:09:26 +02:00
Géry Debongnie
5f6f081ae2
[IMP] playground: save changes to local storage
...
closes #316
closes #101
2019-10-09 10:15:09 +02:00
Géry Debongnie
1c3c2e5c51
[IMP] hooks/Context: add Context and useContext
...
Closes #310
2019-10-08 15:56:46 +02:00
Aaron Bohy
17ce73e6a9
[REF] hooks: improve makeLifecycleHook
2019-10-08 15:52:44 +02:00
Géry Debongnie
cedb1f411f
[REF] component: move template check in constructor
2019-10-08 13:51:55 +02:00
Géry Debongnie
e7516be95c
[DOC] component: remove doc for removed updateEnv method
2019-10-07 16:07:56 +02:00
Géry Debongnie
683993dbc4
[FIX] component/hooks: onWillUnmount was not properly called
2019-10-07 16:01:28 +02:00
Géry Debongnie
50d569411c
[DOC] hooks: fixing broken link
2019-10-07 15:51:45 +02:00
Géry Debongnie
c3453d35b9
[IMP] hooks/component: remove updateEnv, add useSubEnv
...
closes #182
2019-10-04 22:54:27 +02:00
Géry Debongnie
b0dd0252a4
[REF] component: move method at proper place
2019-10-04 22:54:27 +02:00
Géry Debongnie
e2b2e54e29
[DOC] tooling: add missing link
2019-10-04 22:12:56 +02:00
Géry Debongnie
766c378ac9
[DOC] hooks: add missing doc for onWillPatch/onPatched
2019-10-03 11:57:58 +02:00
Géry Debongnie
022b29b6a0
[IMP] component/qweb: remove t-mounted directive
...
The t-mounted directive main goals can be achieved with hooks, in a
better and more intuitive way.
closes #308
2019-10-03 10:57:24 +02:00
Géry Debongnie
367725d194
[IMP] hooks: add onWillPatch and onPatched
...
This commit also changes the behaviour of willPatch and patched: they no
longer transfer data from one to the other, because it can be done
cleanly by hooks and a closure.
closes #307
2019-10-03 10:20:28 +02:00
Géry Debongnie
e82ed7dc8c
[DOC] component: add information on svg components
2019-10-02 16:40:13 +02:00
Géry Debongnie
63c3d4f6b0
[IMP] playground: slightly improve default text
2019-10-01 21:37:36 +02:00
Géry Debongnie
b859fcb8f0
[REL] bump to v0.22.0
v0.22.0
2019-10-01 21:05:04 +02:00
Géry Debongnie
3005756d89
[LEGAL] add copyright file
2019-10-01 20:44:39 +02:00
Géry Debongnie
f6820bb8ac
[REF] hooks: better implementation of onMounted/onWillUnmount
2019-09-28 21:14:40 +02:00
Géry Debongnie
090880f478
[DOC] readme: add quick overview section
2019-09-27 17:34:27 +02:00
Géry Debongnie
5cdaa7b473
[IMP] hooks: implement useRef hook
...
closes #194
2019-09-27 11:20:08 +02:00