summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/pivot_table.js
AgeCommit message (Collapse)Author
2014-12-19[IMP] web: new pivot view, full rewrite of graph viewGéry Debongnie
This commit is a split of the former graphview into a pivot view (the tabular view) and graph view (the various charts). The code was fully rewritten. * pivot view should be faster (better underlying data structure and better algorithm) * better integration with the web client (use of sidebar, of menu buttons, bettor style) * new feature: pivot view can be sorted * new feature: pivot view cells can be clicked to open a list view with the corresponding domain * web_graph addon was removed, and the graph view code has been moved to the addon web. * the interaction with the searchbar was changed (no more column facet) * better and simpler code for graph view * mary corner cases in graph charts have been corrected (for ex, pie chart with positive and negative numbers) * graph/pivot correctly save their state when added to dashboard/saved (state such as current measure, chart mode, column groupbys, ...)
2014-10-23[MERGE] forward port of branch saas-3 up to c89d1a0Christophe Simonis
2014-10-21[IMP] web_graph: renamed Quantity field into Count to avoid ambiguitiesDavid Monjoie
2014-09-26[MERGE] forward port of branch saas-3 up to fe8106fChristophe Simonis
2014-09-22[FIX] correctly forward context in graph viewGéry Debongnie
the new graph view silently ignored the context when doing its rpc read_group. Usually, it's not really a problem, which is why it is only now being fixed, but some models actually use the context in read_group. (for ex, account_entries_report)
2014-09-11[FIX] web_graph: pivot_table, use _.isEmpty to check if value_lookup is FalseDenis Ledoux
2014-08-21[IMP] Graph views: show always measure + filters record measures in contextqdc
2014-08-13[FIX] web_graph : display the corresponding label for selection fields in ↵Christophe Simonis
graph view
2014-08-07[FIX] web_graph : display the correct label for Selection fields in view graphJérome Maes
2014-04-25[FIX] (partially) fixes a concurrence problem in graph viewGery Debongnie
The graph view is asynchronous when updating data. It is not safe when the user tries to update quickly the group bys (for example, when adding two group bys in quick succession). This patch partially fixes the problem: it makes sure that two concurrent updates will be correctly serialized. However, it is not a complete fix: the crash can still happen when three or more updates are quickly done. A complete solution require some more work in keeping tracks of an update queue and serializing properly the updates. (will be done in trunk) bzr revid: ged@openerp.com-20140425102501-qe7ve1ug8neq1twv
2014-04-09[IMP] performance improvement: write a custom isEqual function to use ↵Gery Debongnie
instead of _.isEqual to make the code faster in graph view (isEqual was determined guilty of being slow by profiling on a large view) (addon web_graph) bzr revid: ged@openerp.com-20140409145735-m21t2fzmaepr1hsa
2014-04-09[FIX] correctly determines when there is no data to read in graph view ↵Gery Debongnie
(instead of the good old crash) (addon web_graph) bzr revid: ged@openerp.com-20140409123628-erw8dpb2l36l7hu6
2014-04-09[IMP] massive optimization of the graph view code: more efficient access to ↵Gery Debongnie
values and smarter code to avoid reading uselessly many cells (graph view in web_graph) bzr revid: ged@openerp.com-20140409093920-xqls2o6j6tocgf6l
2014-04-04[FIX] add missing semicolons, add a missing 'var' statement and remove ↵Gery Debongnie
trailing whitespace (addon web_graph) bzr revid: ged@openerp.com-20140404143009-6uk7607bv4acbg4b
2014-04-03[FIX] makes sure the internal data structure of pivot table is correct after ↵Gery Debongnie
update_data (the children were not correct when the tree of headers was not full, after an expand for example (addon web_graph) bzr revid: ged@openerp.com-20140403094050-vjeq4dks86mejuub
2014-04-02[FIX] correct the expand functionality to avoid creating rows/cols in the ↵Gery Debongnie
other dimension of an unfolding action (addon web_graph) bzr revid: ged@openerp.com-20140402150817-5s8drvhbznxq0hh9
2014-04-02[FIX] correctly filters out empty groups in read_group results in the data ↵Gery Debongnie
loading code of graph view (addon web_graph) bzr revid: ged@openerp.com-20140402114758-8qfdz8j76t2p2juo
2014-04-02[IMP] complete rewrite of the data loading code in the graph view, using the ↵Gery Debongnie
lazy/eager feature of readgroup. The code is simpler and more efficient: it only performs a fixed number of requests (well, the number is 'fixed' in the sense that it does not depend of the size of the data being displayed, but it still depends on the number of dimensions) (addon web_graph) bzr revid: ged@openerp.com-20140402074341-8cleqizqculxmkys
2014-02-03[IMP] work in progress: adds the export functionality in graph view (addon ↵Gery Debongnie
web_graph) bzr revid: ged@openerp.com-20140203113332-fvr9cra2dhj4h0ju
2014-01-28[FIX] changes the hardcoded string 'undefined' into 'Undefined' in pivot ↵Gery Debongnie
table (addon web_graph) bzr revid: ged@openerp.com-20140128151157-3opcfcockwrgr3kx
2014-01-28[IMP] makes the graph view in pivot table mode always display 'Total' ↵Gery Debongnie
instead of the current measure/title (addon web_graph) bzr revid: ged@openerp.com-20140128132625-pk21iuhuffvx6814
2014-01-28[IMP] this commit translates the hardcoded strings that appears in graph ↵Gery Debongnie
view (addon web_graph) bzr revid: ged@openerp.com-20140128111022-ghoxwvlmywzr2yke
2014-01-24[REF] lots of small tweaks to improve the code, and some small fixes, after ↵Gery Debongnie
xmo's code review (addon web_graph) bzr revid: ged@openerp.com-20140124151635-14l3dchnrmujo5ni
2014-01-24[FIX] fixes two small issues concerning the groupby dates in graph view ↵Gery Debongnie
(addon web_graph) bzr revid: ged@openerp.com-20140124125944-wxl4zdya37pxdnqv
2014-01-23[FIX] fixes a problem with fields selection : the string was not correctly ↵Gery Debongnie
displayed (addon web_graph) bzr revid: ged@openerp.com-20140123142318-kbk6f2rsug3uxi0j
2014-01-22[REF] refactoring: removes the 'interval' attributes in groupbys and ↵Gery Debongnie
improves searchbar integration (addon web_graph) bzr revid: ged@openerp.com-20140122160707-39el7frwfj4pwd4d
2014-01-22[IMP] changes the backend code of graph view to use the new functionality of ↵Gery Debongnie
read_group (use 'field_name:interval' in readgroup instead of context (addon web_graph) bzr revid: ged@openerp.com-20140122133452-wy3hrsrokhnwc3ru
2014-01-22[IMP] two small tweaks to improve the code quality in addon web_graphGery Debongnie
bzr revid: ged@openerp.com-20140122075652-wz2uk3tv31ady4ej
2014-01-21[REF] large refactoring in graph view: changes the flow of the program to ↵Gery Debongnie
make it much simpler (addon web_graph) bzr revid: ged@openerp.com-20140121143034-rid4saax5y63g7i1
2014-01-20[IMP] optimizes pivot table so that it doesn't reload data when the groupbys ↵Gery Debongnie
have been changed in such a way that it should only fold some headers (addon web_graph) bzr revid: ged@openerp.com-20140120093254-mta9v6hjmsgfpr2n
2014-01-17[FIX] fix crash happening when user goes to graph view, switch to other ↵Gery Debongnie
view, changes groupby and goes back to graph view. (addon web_graph) bzr revid: ged@openerp.com-20140117161940-3ojz17luxtsb9qfa
2014-01-17[FIX] fixes a typo (nodata => no_data), which prevents a crash in ↵Gery Debongnie
graph_view, addon web_graph) bzr revid: ged@openerp.com-20140117153330-9vc6bzljmso9zu71
2014-01-17[IMP] adds checkmarks next to measures when they are used in graph view ↵Gery Debongnie
(addon web_graph) bzr revid: ged@openerp.com-20140117144303-tqj7cn5xd1c0xvhm
2014-01-17[IMP] makes sure that the graph view does not reload data if the user ↵Gery Debongnie
removes a measure. Also, display the 'no data' screen if there are no current measure in graph view (addon web_graph) bzr revid: ged@openerp.com-20140117102339-99kka9v6wfsgesdn
2014-01-16[FIX] fixes some issues with the col_group_bys in searchbar (main problem ↵Gery Debongnie
was that do_search is called twice when the user swap axis) (addon web_graph) bzr revid: ged@openerp.com-20140116095549-3f2hbyzj32nuj147
2014-01-15[FIX] correctly compares groupby in pivot_table to avoid bugs/crashes (now, ↵Gery Debongnie
it ignores the 'interval' attributes) so the table can interact with the graph view (addon web_graph) bzr revid: ged@openerp.com-20140115105104-qff3t47lo1lyp5wd
2014-01-15[IMP] adds search view integration in graph view (addon web_graph)Gery Debongnie
bzr revid: ged@openerp.com-20140115093749-t2s0306fchm2tnir
2014-01-14[REF] separates graph view and graph widget into two files, and renames ↵Gery Debongnie
pivot into pivot_table.js (addon web_graph) bzr revid: ged@openerp.com-20140114125142-9qj3mvu0a1fp4sis