617 Commits

Author SHA1 Message Date
Rufus Pollock
ed734d90e4 Merge branch 'master' of github.com:okfn/recline 2012-06-07 00:00:47 +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
68b6a9356f [view/map,bugfix][xs]: autozoom working again after breakage in ef74f13163cfee02dd28b8f5ecf6f08e59619ce3.
* had change autozoom to be part of state and had not done find/replace fully due to a self.autoZoom case as well as this.autoZoom case.
2012-06-06 23:19:55 +01:00
Rufus Pollock
5dbc086c06 Merge pull request #146 from icmurray/master
[backend/dataproxy,bugfix][s]: Fix to dataproxy backend to allow viewing files with duplicate column title names from @icmurray.
2012-06-06 10:21:56 -07:00
Rufus Pollock
0549383073 [backend/memory][xs]: change full text query in memory backend to ignore case. 2012-06-06 17:20:43 +01:00
Rufus Pollock
1a8375ff85 [test,bugfix][xs]: addendum fix to rename of label to title in demo in f1e2f7c4aee1deb1c24724b1e0266e0742b83380. 2012-06-06 17:17:24 +01:00
Rufus Pollock
aaa72447b2 [#145,css/multiview][xs]: do not set width on fields widget now it is in sidebar. 2012-06-06 15:37:55 +01:00
Rufus Pollock
a14157234d [widget/filtereditor][xs]: remove close button since we have toggle in multiview. 2012-06-06 15:28:27 +01:00
Rufus Pollock
f1e2f7c4ae [test/fixtures][xs]: rename label to title so we have a nicer demo. 2012-06-06 15:22:13 +01:00
Rufus Pollock
11f2236ea8 [view/map][xs]: use geojson field name if it exists. 2012-06-06 15:19:47 +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
Ian Murray
b3ed2ea2d5 [dataproxy][s] Rename duplicate fieldIds from dataproxy results.
Allow the dataproxy backend to be used for viewing files where
the column names are not unique.  This occurs, for example, when
more than 1 column has not been given a column title at all.

Prior to this commit, when encountering such a file, the dataproxy
backend would error-out leaving the user without any feedback as
to what went wrong.
2012-06-06 13:59:42 +01:00
Rufus Pollock
e73be69499 [refactor][s]: standardize naming of files to use '.' rather than '-' as separator. 2012-06-06 10:40:22 +01:00
Rufus Pollock
63cb8a62b7 [#145,bugfix][s]: avoid generating an infinite loop in render event binding of fields widget (as occurred in certain cases). 2012-06-06 06:20:48 +01:00
Rufus Pollock
56a29c80a7 [#145,css/multiview][xs]: micro tweaks to make sidebar look better and to space header from rest of material. 2012-06-05 00:31:28 +01:00
Rufus Pollock
a1a62321d4 [#145,bugfix][s]: was not re-rendering fields on data update correctly for case of genuine async load of field summaries. 2012-06-05 00:28:26 +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
58cac002dc [#145,widget/fields,model][m]: working fields widget with field summary data generated by Dataset.getFieldsSummary function.
* Layout is still not right -- need to put widget in sidebar (though looks a lot better)
* Datset.getFieldsSummary to compute facets for fields
* Remove facet usage in the demo
2012-06-04 23:57:24 +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
915f00e21a [view/timeline,bugfix][xs]: timeline crashes if no entries so create placeholder entry for timeline if no entries from data. 2012-06-03 22:08:22 +01:00
Rufus Pollock
530ebc44a2 [build][xs]: build recline.js. 2012-06-03 21:55:26 +01:00
Rufus Pollock
8cc80d70f1 [doc/download][xs]: update for latest deps. 2012-06-03 21:27:22 +01:00
Rufus Pollock
19ff6c7183 [app/settings][s]: add support for app settings.
* Only settings is datahub api key
* Store in local storage
* Modal dialog to set
2012-06-03 21:24:23 +01:00
Rufus Pollock
028dfca859 [#110,app,load,ux][s]: refactor import/load menu to be called load, to support DataHub directly, and have better UX.
* List options to load from in dropdown menu rather than modal dialog
* Provide some help info in load dialog
* Support DataHub (including auto-guessing of Data API) - fixes #110.
2012-06-03 10:00:41 +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
00052bba0f [view/slickgrid][s]: slickgrid supports renderers/formatters correctly and does not escape html. 2012-06-02 22:42:34 +01:00
Rufus Pollock
a6dff8ce28 [backend/memory][xs]: rename DataWrapper to Store. 2012-06-02 20:02:10 +01:00
Rufus Pollock
170f10268c [#141,view/map][s]: support for location objects with form {lon: ..., lat: ...}. 2012-06-02 19:02:55 +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
b63f4daad8 [#124,test][xs]: missing change to test - should have been in 4bfcb3c02742b5a0a4649512320ac0e071ae374e. 2012-06-01 14:40:55 +01:00
Rufus Pollock
40cc355065 [#124,css][xs]: rename data-explorer.css to multiview.css. 2012-06-01 14:38:24 +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
Rufus Pollock
c1c1881660 [#129,refactor][l]: ([s] in effort) rename Document to Record - fixes #129. 2012-05-31 21:08:00 +01:00
Rufus Pollock
e7aa60c7d2 [#77,view/timeline][xs]: use new summary function to product timeline text and use title attribute (if present) for heading. 2012-05-30 23:39:26 +01:00
Rufus Pollock
2a7807638b [#77,model][s]: add summary function to product infobox style summary for a doc (all keys and values atm). 2012-05-30 23:37:32 +01:00
Rufus Pollock
6f31228520 [#135,view/timeline][s]: switch to using momentjs for date parsing. 2012-05-30 23:36:29 +01:00
Rufus Pollock
faad3e2329 [#135,app,test][xs]: reference momentjs - should have been in e1a7a659da7d9d653540b7c8e85b1deec5ccb643. 2012-05-30 23:34:00 +01:00
Rufus Pollock
ef04420f60 [#73,view/timeline,bugfix][xs]: recalculate start/end field names on reset of fields (o/w did not work for e.g. ES backends). 2012-05-30 23:32:45 +01:00
Rufus Pollock
e1a7a659da [#135,view/graph,bugfix][xs]: fix graph time series bug due to variable date parsing. 2012-05-30 23:31:28 +01:00
Rufus Pollock
e293eaaa89 [#135,vendor/moment][s]: introduce momentjs at v1.6.2. 2012-05-30 23:30:57 +01:00
Rufus Pollock
0c0b487ef5 [app][s]: reintroduce the timeline view to app (lost in d339fea2d92a230cbb459fb5a34aefddb949ea1a). 2012-05-30 22:53:48 +01:00
Adrià Mercader
4eea15806c Merge pull request #134 from amercader/master
Support for renderers and derivers on SlickGrid view
2012-05-30 05:16:15 -07:00
amercader
1cffd8fffb [#131,slickgrid] Support renderers and derivers 2012-05-30 11:03:10 +01:00
amercader
365b340019 [#119,css/slickgrid][xs]: Fix for context menu, broken in 55c85b 2012-05-28 17:06:32 +01:00
Rufus Pollock
f05d5c2906 [#113,doc][s]: fix up docs to work again after latest refactorings. 2012-05-27 23:49:38 +01:00
Rufus Pollock
9838e69b2d [build][s]: regular build of recline.js plus all auto docs. 2012-05-27 23:49:06 +01:00
Rufus Pollock
55c85b7b5a [#119,css/slickgrid][xs]: fix for left border (currently had border all way down side even if no cells) plus prefix everything with .recline-slickgrid. 2012-05-27 23:34:41 +01:00
Rufus Pollock
d339fea2d9 [#119,view/slickgrid][m]: first pass implementation of slickgrid view courtesy of @amercader.
New setup supports:

* Column hiding
* Column reordering
* Column sorting
* Column resizing
* Fit columns to the div width

All these options are stored on the view state and applied when initializing the view if necessary.

Now also utilize slickgrid view as default grid view.
2012-05-27 23:31:42 +01:00