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
2bed1cfbd1
[REF] asyncroot: create asyncroot component
...
This component replaces the t-asyncroot directive.
2019-10-25 16:01:52 +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
1c3c2e5c51
[IMP] hooks/Context: add Context and useContext
...
Closes #310
2019-10-08 15:56:46 +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
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
471fd49063
[IMP] router: replace t-routecomponent directive by RouteComponent
...
closes #287
2019-09-11 14:58:36 +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
Géry Debongnie
5382e824b1
[REF] owl: reorganize src code in sub files
2019-07-16 13:12:08 +02:00
Géry Debongnie
15a3f59744
[REF] owl: move some exported values around
...
This is a breaking change. Code using Observer, EventBus, Store or
ConnectedComponent need to update the way they import theses classes.
- Observer is now in owl.misc (so you can import it like this:
const Observer = owl.misc.Observer;)
- EventBus is also now in owl.misc
- Store and ConnectedComponent are now together in store
2019-07-14 09:02:02 +02:00
Géry Debongnie
545ceefc3d
[REF] store: remove connect function, add ConnectedComponent
...
closes #238
closes #235
2019-07-13 17:04:36 +02:00
Géry Debongnie
af7520d869
[REF] *: reformat with prettier and printWidth=100
...
closes #214
2019-06-28 10:33:13 +02:00
Géry Debongnie
13b31458da
[DOC] owl: add message when setting mode in 'prod'
2019-05-23 13:44:14 +02:00
Géry Debongnie
1dec8df715
[IMP] owl: introduce dev mode
...
This commit adds a static key 'dev' on QWeb (which acts as a central
point of access in owl internal code), and a 'mode' key on the value
exported by owl to let external code manipulate it.
closes #117
2019-05-21 14:11:40 +02:00
Géry Debongnie
da275e74fd
[REF] owl: move metadata into __info__
...
This differentiate better metadata and owl exported values. Also, and
this is the goal, it gives a space to add extra keys in the future.
2019-05-21 13:53:16 +02:00
Géry Debongnie
f7f8c34e1c
[DOC] owl: add generic file level documentation
2019-05-08 11:23:48 +02:00
Géry Debongnie
bd29e4f761
[REF] qweb: split code into 3 files
...
closes #84
2019-05-06 13:00:46 +02:00
Géry Debongnie
40613e0a76
[IMP] observer: add observer to exported objects
2019-04-25 15:47:01 +02:00
Géry Debongnie
8163e2b0e4
[REM] component: remove PureComponent
2019-04-16 17:20:32 +02:00
Géry Debongnie
a22dcdaddf
[REF] owl: reorganize exports, remove registry, remove web example
...
closes #38
2019-04-16 17:20:23 +02:00
Géry Debongnie
eac49562fa
[REF] owl: export owl elements in one object
2019-04-16 16:26:06 +02:00
Géry Debongnie
e53287b52e
ref: reorganize exports into core/extras
2019-03-27 15:18:25 +01:00
Géry Debongnie
a444e3dcac
imp: export utils in main bundle
2019-03-22 12:08:55 +01:00
Géry Debongnie
d48cb5aae4
imp: work on store, refactor, improve todoapp
2019-03-22 10:47:59 +01:00
Géry Debongnie
add380f59b
ref: move PureWidget back to core, use updateEnv
2019-03-21 16:33:08 +01:00
Géry Debongnie
c9796e6bdc
add store class to core
2019-03-20 11:49:41 +01:00
Géry Debongnie
ce8c176578
rename qweb_vdom into qweb
2019-03-14 14:32:29 +01:00
Géry Debongnie
f08ff9e5c2
move demo/static/src/ts/core to src/
2019-03-14 11:23:10 +01:00