Géry Debongnie
fe46a6ccee
[CLEANUP] run prettier on some code
2019-09-04 22:48:37 +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
cd0762b436
[REF] rework router into a class
2019-08-22 14:26:34 +02:00
Géry Debongnie
af7520d869
[REF] *: reformat with prettier and printWidth=100
...
closes #214
2019-06-28 10:33:13 +02:00
Aaron Bohy
c2ab9774fb
[IMP] utils: whenReady now returns a Promise
...
Closes #160
2019-06-11 14:45:56 +02:00
Géry Debongnie
b53a34b7d1
[FIX] utils: whenReady should work for all document states
...
Document readyState can be either 'loading', 'interactive' or
'complete'. We can access the DOM whenever we are no longer in 'loading'
state.
2019-06-08 16:20:44 +02:00
Géry Debongnie
bc7fe9023d
[REM] utils: remove patch/unpatch
...
They are out of the scope for Owl.
2019-05-17 23:26:42 +02:00
Géry Debongnie
6dd7391cdc
[DOC] utils: add some basic information
2019-05-10 21:04:58 +02:00
Géry Debongnie
dfa7d5932d
[REM] utils: remove memoize, parseXML function
2019-05-10 20:51:34 +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
1701d5aa86
[REM] utils: remove findInTree and htmlTrim
...
They were not used and are not in the scope of this project.
2019-04-27 11:44:37 +02:00
Géry Debongnie
b6bd0f92a7
[ADD] utils: add whenReady function
2019-04-26 14:22:43 +02:00
Géry Debongnie
78108e8d2c
[IMP] utils: add loadJS function
...
Very useful to lazy load libraries in owl applications
2019-04-26 13:28:30 +02:00
Géry Debongnie
cf47f8459a
[REF] utils: remove id generator
2019-04-25 16:45:09 +02:00
Géry Debongnie
ae263730d9
[ADD] utils: add loadTemplates function
2019-04-18 22:42:37 +02:00
Géry Debongnie
559c51a717
[FIX] store: change default hash function to better see changes
2019-04-15 16:50:07 +02:00
Géry Debongnie
7b87470760
[IMP] store: connect function takes hash function in param
...
With this commit, we can now decides precisely if a component should be
rerendered, by using a hash function.
By default, the hash function will deep observe each store element
coming from the result of the mapStateToProps.
closes #24
2019-04-15 10:43:35 +02:00
Géry Debongnie
03511ce9ea
ref: reorganize store (based on different principles)
2019-04-12 11:57:29 +02:00
Géry Debongnie
c10b84cd99
ref: move magify function from utils to store
2019-04-09 10:09:29 +02:00
Géry Debongnie
7ea782bd60
fix: prevent issue in store with existing values in array
2019-04-09 10:08:37 +02:00
Alexandre Kühn
cde85269fd
imp: make store reactive (observe state and react to changes)
...
This is a pretty big change, yet still not complete.
2019-04-08 23:11:38 +02:00
Géry Debongnie
2758269139
add patch/unpatch utility methods
2019-03-26 14:30:27 +01:00
Géry Debongnie
d48cb5aae4
imp: work on store, refactor, improve todoapp
2019-03-22 10:47:59 +01:00
Géry Debongnie
f08ff9e5c2
move demo/static/src/ts/core to src/
2019-03-14 11:23:10 +01:00
Géry Debongnie
f0d529139b
basic project infrastructure
2019-01-16 16:17:25 +01:00
Géry Debongnie
0f3b2d10da
initial commit
2019-01-16 11:28:05 +01:00