42 Commits

Author SHA1 Message Date
bblwq
f2f2a2cf72 View toggle labels 2020-07-14 14:45:16 -04:00
Sol Villar
af84ece6cf [#427] Fixed marking of nav buttons as active. 2015-03-05 03:47:57 -03:00
Sol Villar
30ad0ad111 [#427] Fixed columns, buttons and general styles. 2015-03-05 01:14:49 -03:00
Rufus Pollock
673748d4cf Merge pull request #441 from mattfullerton/master
Minor corrections for docs
2014-08-13 11:15:48 +01:00
Matt Fullerton
a59c32e116 Minor corrections for docs 2014-08-13 12:11:48 +02:00
Matt Fullerton
0cbb1016df Typo 2014-08-13 06:39:12 +02:00
Matt Fullerton
9e1ce06ec2 Change setup code example 2014-08-12 19:26:50 +02:00
Max Méndez
3fcde1cb2f Fix problem with graph rendering when has initial state 2014-04-22 08:31:22 -06:00
kielni
8c1a1359db modify pager widget to handle boundary conditions; now takes a Dataset instead of a Query so that it has access to the record count; add tests 2014-01-17 13:07:41 -08:00
Rufus Pollock
b4f4c989cc [view/multiview][s]: do not call fetch on dataset model in MultiView initialize (should be done in code using the view if needed).
* fetch method should have been done elsewhere (by client of the view)
* calling in the view is both wasteful and causes possible bugs as it may lead to race conditions to a fetch called by client code
2013-06-02 19:03:42 +01:00
Dan Wilson
93637a7b0b Where necessary, override remove() to also remove subviews. 2013-05-14 12:45:48 +01:00
Dan Wilson
5ef821c92a Use listenTo() rather than bind() in the views so that the events get unbound upon removal. 2013-05-14 12:43:22 +01:00
Dan Wilson
8ea1a81c0a Updated code and tests to stop recline clobbering view.el. Issue #350. 2013-05-13 18:52:37 +01:00
Dan Wilson
b72dd0fb62 Enabled strict mode, and fixed issues raised. 2013-05-13 16:53:55 +01:00
Rufus Pollock
fc79518ba5 [#349,transform][s]: remove transform view and associated code - fixes #349. 2013-05-04 22:13:27 +01:00
John Glover
522e88fe41 [#340] jshint cleanup of view.multiview.js 2013-04-15 17:36:22 +02:00
John Glover
97f28e3dba [#324] Bug fix: call view.show after determining sidebar visibility
Makes sure that views that need to know their
maximum width before redrawing don't draw over
the sidebar.
2013-02-20 18:20:21 +00:00
John Glover
74d94c51d6 Merge remote-tracking branch 'origin/master' into 310-hide-filters-fields 2013-02-11 15:31:47 +01:00
John Glover
67b684d58f Hide filters and fields by default 2013-02-06 16:37:59 +01:00
John Glover
f0005bed6c Hide the sidebar if it's empty.
When updating the view check to see if the sidebar
contains any visible children elements. If not,
hide it.
2013-02-06 12:09:34 +01:00
John Martin
a4e1b53c06 Fix to make clearfix work in Internet Explorer 7 2012-10-02 14:47:43 +01:00
Dominik Moritz
8049f73f09 cleanup 2012-09-01 22:07:44 +01:00
Felix Gnass
831d656477 fixed the upper right menu and made it dynamic
The menu did not work because `this['$'+view.id]=...` was called with the wrong scope. Besides this fix, the template now looks at the actual `sidebarViews` array and renders the buttons dynamically.
2012-08-23 14:29:22 +02:00
Rufus Pollock
c7775853d0 [addendum][xs]: remove some extra comments that should have gone in last commit. 2012-08-17 08:46:44 +01:00
Rufus Pollock
70c2676fc0 [#196,bugfix][s]: add back in support for serializing *all* dataset info into state object (and restoring from it) - fixes #196.
* Also minor refactor move dataset restore functionality into multiview (it makes more sense as it is multiview which does the serializing in the first place)
* Improved tests for this!
2012-08-16 14:28:44 +01:00
Rufus Pollock
02d152c5ad [#153,#212,view/map][m]: fixes #153 bug re map rendering (see issue for more) and in process did refactoring of map view in line with #212.
* multiview: refactored to call render on all views as that is new setup for #212 (and also needed for #153)
* tutorial-views: call render now which fixes bug (this was specific issue reported in #153)
2012-08-15 11:51:08 +01:00
Rufus Pollock
6f78b7b1be [#211,view][s]: switch show/hide from events to explicit methods - fixes #211. 2012-08-15 10:57:58 +01:00
Krzysztof Trzewiczek
d43b9633ec [closes #182,view/multiview] Sidebar views moved to initialize options 2012-08-10 12:29:24 +02:00
Rufus Pollock
b9555cce6a [refactor][xs]: rename docCount to recordCount. 2012-07-01 09:01:21 +01:00
Rufus Pollock
2b3f6e1c5a [multiview,refactor][xs]: switch to SlickGrid as default view. 2012-06-28 23:57:26 +01:00
Rufus Pollock
aa1a362bb2 [#94,transform][m]: rework transform functionality and integration extensively (+ its working again!).
* view.transform.js: major refactor
  * general record transform rather than column transform
  * Normal dataset view rather than modal
  * Reworked UI
  * split out css from grid.css and simplify
* model.js + backend.memory.js: transform implemented on Dataset and Memory (Dataset passes off to _store).
* multiview: use new transform view
* _includes/recline-deps - rework to use source files rather than built ones
2012-06-28 23:52:58 +01:00
Rufus Pollock
f30c7d6273 [#162,app,multiview][s]: minor refactoring to bring up to date with new model/backend setup. 2012-06-24 15:04:01 +01:00
Rufus Pollock
a3ad4a834e [multiview][xs]: show filter editor in sidebar by default. 2012-06-16 18:00:23 +01:00
Rufus Pollock
26350fec06 [#147,widget/filtereditor][m]: add filter support in filter widget plus move to sidebar and tidy up.
* model.js: xsmall tweak to set value of term filter to empty string rather than null.
2012-06-06 23:59:09 +01:00
Rufus Pollock
ef74f13163 [#145,view/refactor][m]: switch to a proper sidebar setup where views can have both a main element and a sidebar element and this added to central sidebar.
* this fixes functional and visual bugs with current (new) setup where fields where in separate in RHS sidebar
* Refactored map and graph view to put menu/controls in the sidebar (this is quite nice!)
2012-06-06 15:19:00 +01:00
Rufus Pollock
91ec4ee6b9 [#145,view/multiview,fields][s]: much nicer sidebar layout for fields. 2012-06-05 00:19:01 +01:00
Rufus Pollock
a7b6a6ac5d [#145,widget/fields][m]: add new fields widget view which lists all fields with field info and replace facet widget in multiview with it.
* widget is very incomplete and does not yet show anything of great value (plan is to have summary info).
2012-06-04 23:47:05 +01:00
Rufus Pollock
e425106022 [ux,view/multiview][s]: turn view chooser menu and controls (filters/facets) menu into button groups and make filters/facets section toggle correctly. 2012-06-03 09:49:21 +01:00
Rufus Pollock
86fbe6d191 [#140,refactor,widget/pager][s]: split out pager from query editor into separate widget and display in different place in multiview - fixes #140. 2012-06-02 14:45:16 +01:00
Rufus Pollock
4bfcb3c027 [#124,refactor][s]: merge util.js into view.multiview.js as only utilities are query string parsing utilities and that is where they are used. 2012-05-31 21:54:13 +01:00
Rufus Pollock
03ab0da72d [#124,refactor][s]: addendum to last commit (forgot to split out filtereditor and delete from multiview). 2012-05-31 21:49:06 +01:00
Rufus Pollock
53327a7a1e [#124,refactor,view][s]: ([m] in effect) rename DataExplorer view to MultiView and split contents view.js into separate files - fixes #124. 2012-05-31 21:36:52 +01:00