summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph_view.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-21[FIX] various small UI tweaksGéry Debongnie
2014-10-21[IMP] some cleanups in graph/kanban viewsGéry Debongnie
notable: disable the group by integration in graph view, because of crash (the search view was rewritten and too much search logic was in the graph view. This is a temporary measure, the graph view will be split into pivot/graph views, and the search integration will be done correctly in the near future.
2014-10-21[IMP] graph view integration into view manager headerGéry Debongnie
2014-10-21[FIX] fixes many issues with the various viewsGéry Debongnie
the views don't always return a proper promise, or were somewhat fragile and broke with the changes in the view manager.
2014-09-26[MERGE] forward port of branch saas-3 up to fe8106fChristophe Simonis
2014-09-26[FIX] fix context problem in graph viewGéry Debongnie
The group_by query expects the context to have group_by_no_leaf = true, so we can not just blindly forward the context to the groupby query. This is a defensive way to fix the problem, to avoid other possible crashes. But the context shouldn't have group_by_no_leaf anyway, it does not make sense to explicitely do that in the action
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-15[FIX] web: fixes issues with custom filters and search viewGéry Debongnie
The problem was that when the user manipulates the graph view (in pivot table mode), the graph view resetted the group by facet in the search view. It was not a problem unless a custom filter with a groupby was already there, in which case, the group bys were duplicated. The search view is now smarter, it only resets the additional groupbys (and col_groupbys). Also, to prevent usability problems, the graph view disable the '+/-' groupbys added by a custom filters. Note that this fix is only temporary: a revamp of custom filters, facets, search view is coming in the next months. (at least, that's the idea). Right now, too much 'search logic' is in the graph view. Another note: this fix is somewhat fragile: it makes some assumptions about the search query (mainly that the custom filter is the first facet, also, that no other filters add groupbys/col_groupbys)
2014-08-22[ADD] doc: new documentation, with training tutorials, and new scaffoldingRaphael Collet
2014-08-21[IMP] Graph views: show always measure + filters record measures in contextqdc
2014-04-22[FIX] correct fix for the scrolling problem in graph view: the view now ↵Gery Debongnie
saves its scrolling position before redrawing itself (addon web_graph) bzr revid: ged@openerp.com-20140422150316-m51u750732re8qib
2014-02-26[FIX] fixes various problems with the graph view and the filters in the ↵Gery Debongnie
searchbar. Now, it should properly compute and update the groupby/col_groupby in the search bar (addon web_graph) bzr revid: ged@openerp.com-20140226111710-q11qx1tb2l0nryxf
2014-02-10[FIX] make sure the graph view takes the col_group_by from the search view ↵Gery Debongnie
and not from the context. It was taken from the context, and had the unfortunate side effect that the user could not ungroup by removing the facet from the search view. (addon web_graph) bzr revid: ged@openerp.com-20140210153221-olkv8xee02r9voer
2014-02-10[FIX] fixes a bug caused by two consecutive calls to do_search, with ↵Gery Debongnie
incomplete informations in the first call. These calls then triggered useless queries and caused an incorrect (but brief) display of partial information in graph view (addon web_graph) bzr revid: ged@openerp.com-20140210112313-z9elwhmjil41jcd2
2014-02-07[FIX] correctly use the col group by instead of groupby when reading the ↵Gery Debongnie
context and initializing a graph view (addon web_graph) bzr revid: ged@openerp.com-20140207135339-ohrjh6uvu22tjavh
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[IMP] graph_view now properly honors the 'interval' attribute of field names ↵Gery Debongnie
in the xml description (addon web_graph) bzr revid: ged@openerp.com-20140124084222-dq1gpg1tg8rinozx
2014-01-23[FIX] fixes a crash happening when in dashboards, the graph view was trying ↵Gery Debongnie
to access undefined attributes (addon web_graph) bzr revid: ged@openerp.com-20140123113450-ec4fubf1urkdutw7
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-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-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 'widet_config' => 'widget_config' (it previously crashed ↵Gery Debongnie
the graph view) (addon web_graph) bzr revid: ged@openerp.com-20140117085842-vxaxes0yv3dr7t24
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[IMP] supports col groupby in search view in graph view (addon web_graph)Gery Debongnie
bzr revid: ged@openerp.com-20140115155137-qwy0sr49zhizgmf6
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