Géry Debongnie
1226f015d7
[DOC] add a tutorial (TodoApp)
2019-11-04 16:50:16 +01:00
Géry Debongnie
8d1dd06340
[IMP] component: error when mounted on invalid target
2019-11-04 08:41:29 +01:00
Géry Debongnie
d74b5a03db
[IMP] component: add props on root components
...
This is a partial revert of commit 7d249d6f09 .
The reason is that this changes made it much harder to unit test
components. Before, we could simply instantiate a component
like this:
const my|Comp = new MyComponent(null, props);
and then simply test it. This commit reestablish that possibility.
2019-11-01 09:03:27 +01:00
Géry Debongnie
83532db48f
[DOC] adapt documentation to env changes
...
part of #430
2019-11-01 09:03:27 +01:00
Géry Debongnie
534152eff7
[REF] component: small improvement
...
and run prettier
2019-11-01 08:39:35 +01:00
Géry Debongnie
8fbf2172c5
[DOC] slightly reorganize main documentation page
2019-10-31 12:32:26 +01:00
Aaron Bohy
08cb83149e
[REM] component: remove t-keepalive directive
...
We don't see any usecase for it, it makes the code more complex,
and there were still potential unresolved concurrency issues with
it.
Part of task #295
2019-10-30 16:35:45 +01:00
Géry Debongnie
0addca63a0
[DOC] update the documentation to new config and env
...
part of #306
2019-10-30 15:09:10 +01:00
Géry Debongnie
5ba73cc09d
[DOC] move quick_start into learning/ sub folder
2019-10-30 15:09:10 +01:00
Géry Debongnie
6a434310ee
[FIX] *: run prettier
2019-10-29 16:02:51 +01:00
Géry Debongnie
62608cbb0d
[DOC] add architecture notes on rendering pipeline
2019-10-28 14:23:02 +01:00
Géry Debongnie
3035a9f009
[DOC] move reference doc in subfolder
2019-10-28 14:23:02 +01:00
Géry Debongnie
da9dda5eca
[DOC] component: add more information on t-key
...
closes #353
2019-10-28 11:45:51 +01:00
Géry Debongnie
5911c8e3f6
[DOC] store,hooks: useState/useStore should return object
...
or array
closes #404
2019-10-28 11:32:43 +01:00
Géry Debongnie
2279dafbec
[IMP] qweb: add an option to setup a translate function
...
closes #393
2019-10-28 11:32:41 +01:00
Géry Debongnie
9dfcfda365
[DOC] add more info on xml tag and single file component
...
closes #401
2019-10-26 09:10:50 +02:00
Géry Debongnie
f0b5a55ad1
[REL] bump to v0.24.0
2019-10-25 17:07:51 +02:00
Géry Debongnie
2bed1cfbd1
[REF] asyncroot: create asyncroot component
...
This component replaces the t-asyncroot directive.
2019-10-25 16:01:52 +02:00
Aaron Bohy
2beb12678e
[IMP] t-on directive: allow empty handler
...
Closes #377
2019-10-25 14:11:44 +02:00
Aaron Bohy
0ea1091692
[IMP] t-on directive: handle inline statements
...
Closes #265
2019-10-25 14:11:44 +02:00
Nicolas Bayet
71827c3ba8
[DOC] explain router history and hash mode
2019-10-25 13:36:18 +02:00
Géry Debongnie
a3317ab997
[FIX] qweb: handle variable expressions in t-if
...
closes #390
closes #362
2019-10-24 08:55:30 +02:00
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
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
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
d40ff53f5a
[DOC] doc: add more information in store section
2019-10-14 15:00:31 +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
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
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
1c3c2e5c51
[IMP] hooks/Context: add Context and useContext
...
Closes #310
2019-10-08 15:56:46 +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
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
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
5cdaa7b473
[IMP] hooks: implement useRef hook
...
closes #194
2019-09-27 11:20:08 +02:00
Géry Debongnie
91b9e78182
[DOC] update component, tooling doc
2019-09-27 11:20:08 +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
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
cfc2fb2ba2
[REF] qweb: rename register method to registerComponent
2019-09-12 14:17:21 +02:00