184 Commits

Author SHA1 Message Date
Rufus Pollock
70c43015ea [#68,view-grid,refactor][xs]: switch to new field / doc renderer and deriver.
* remove existing cellRenderer and switch to calling doc.getFieldValue(field)
2012-04-10 01:30:06 +01:00
Rufus Pollock
0f4a0a6189 [#68,fields][m]: add format attribute plus support for renderer and deriver functions. 2012-04-10 01:24:34 +01:00
Rufus Pollock
28c9be4268 [#81,css][s]: tidying up css by ensuring top level data explorer and grid view have recline- in them. 2012-04-10 00:22:27 +01:00
Rufus Pollock
f57c94382f [#62,#66,ux,menus][s]: add to top menu filters and facets buttons which show filter editor and facet viewer respectively. 2012-04-10 00:15:03 +01:00
Rufus Pollock
6703233efc [view/query-editor][s]: reinstate editable pagination removed in f9f5be654097598da3fb2ccc29bc4d4f4c42c0ec. 2012-04-09 23:47:05 +01:00
Rufus Pollock
517c95f78a [#66,filters][m]: full editing of text filters plus add text filter via column menu in grid view - fixes #66. 2012-04-09 11:15:50 +01:00
Rufus Pollock
008c124096 [#66,filters,view][m]: new FilterEditor view which shows current filters and allowed them to be removed. 2012-04-08 10:47:25 +01:00
Rufus Pollock
9a3c0523c6 [#78,tidying][xs]: add /*jshint multistr:true */ to all files where we use multiline strings to avoid unnecessary jshint warnings. 2012-04-08 09:33:20 +01:00
Rufus Pollock
2cd9192480 [#52,docs/model][m]: document all model elements in detail.
* List more items in main index doc page
* Major extension of source docs including
  * Query object with its spec
  * Facet
  * etc
2012-04-07 13:49:13 +01:00
amercader
278d244ad1 [#64,map] Support GeoJSON and lat/lon geometry fields
The view will check for a set of default field names to see if there is
a field containing geometries in GeoJSON format. If not, will check
similarly for a pair of fields with lat/lon values.
2012-04-04 17:56:01 +01:00
amercader
7df22effa3 [#64,map] Preliminary work on the map view
Basic map view that plots points into a Leaflet map. Right now only
models with two "lat"/"lon" fields are supported. Some problems
regarding zooming to markers bounds when div not visible.
2012-04-04 14:27:44 +01:00
Rufus Pollock
b1f90a3b27 [#66,#62,filters,facets,view][s]: facet view checkbox now triggers filter on that field and value. 2012-04-02 21:06:22 +01:00
Rufus Pollock
5a73ced225 [#66,filters,elasticsearch][s]: elasticsearch support for filters (addTermFilter on Query). 2012-04-02 21:05:56 +01:00
Rufus Pollock
36548ceffc [#66,filters][s]: memory backend support for filters. 2012-04-02 21:05:28 +01:00
Rufus Pollock
1eb7df9a7c [#66,model][s]: addTermFacet on Query object.
* Also fix a major bug (that was causing weird test failures) re setting defaults (you cannot set defaults with objects).
2012-04-02 21:04:52 +01:00
Rufus Pollock
aa42e49192 [#62,facets,ux][s]: add facets via column menus and tidy up facet viewer (hide support, plus do not show if no facets). 2012-04-01 19:13:08 +01:00
Rufus Pollock
ccdc2aed2d [#62,facets/view][s]: start refactoring the facet viewer to something nicer.
* facet listing are bootstrap dropdowns and rename from FacetQueryEditor to FacetViewer to better reflect purpose.
2012-04-01 18:55:07 +01:00
Rufus Pollock
add2afa93a [view/grid][xs]: remove obsolete unused menu options (and associated TODOs) plus delete column (since not working).
* Not clear how easy it is to implement delete column.
2012-04-01 18:26:47 +01:00
Rufus Pollock
f51450ef7b [#62,facets,backend][xs]: limit facet on memory backend to 10 by default. 2012-04-01 18:22:01 +01:00
Rufus Pollock
56285f0a07 [#62,model][xs]: trigger re-query (and facet computation) whenever facets change.
* This is far from perfect (we recompute query results as well as facets) but optimizing can come later.
2012-04-01 16:45:31 +01:00
Rufus Pollock
ae8a3ddab0 [model][xs]: remove HACK code that is no longer needed.
* Code is obsolete because issue it addressed arose from binding to all event on queryState and we no longer do that.
2012-04-01 16:37:43 +01:00
Rufus Pollock
7a95302760 [#62,facets,backend/memory][m]: add faceting support to memory backend. 2012-04-01 16:31:36 +01:00
Rufus Pollock
80165659b1 [#62,faceting][s]: basic faceting fully functional on ES. 2012-04-01 14:20:12 +01:00
Rufus Pollock
6ba8c82408 [#62,facets][s]: partially working faceting with elasticsearch. 2012-04-01 13:51:15 +01:00
Rufus Pollock
157d77ebb1 [#57,backend,model][m]: switch to having backend query methods return a QueryResult object - fixes #57. 2012-04-01 11:45:42 +01:00
Rufus Pollock
e5e24f72de [#52,doc,refactor][s]: move instructions re creating a backend into backend/base source docs and tidy doc page a bit. 2012-04-01 11:11:38 +01:00
Rufus Pollock
767f9a23d6 [#57,backend,refactor][s]: create a recline.Backend.Base model which other backends inherit from.
* At the moment this added little other than a cleaner structure but will help with change for #57.
2012-04-01 10:49:22 +01:00
Rufus Pollock
3412962a35 [#62,faceting][s]: introduce Facet and FacetList models and use them.
* Conceptual breakthrough on how Faceting and Filtering interact (have updated issue #62 as a result).
2012-03-31 18:06:41 +01:00
Rufus Pollock
905659d86f [#62,view/query][m]: start of faceting support with QueryFacetEditor.
* QueryFacetEditor in DataExplorer which displays facets but nothing yet happens.
* NB: very much less than half way through (things look worse rather than better atm).
2012-03-31 15:08:27 +01:00
Rufus Pollock
e3819d8f4e [#51,bugfix][xs]: fix bug in pulling of fields from document in createDataset (corrects error in 5fc486d8083a27db21993fc7d58c2c2dae75c17f). 2012-03-31 11:09:10 +01:00
Rufus Pollock
5fc486d808 [#51,bugfix][s]: fix for pulling fields from first row of data if no fields are provided (addendum to cb81fe87aff266e148428fbb5895552c4e66769f). 2012-03-29 08:22:57 +01:00
Rufus Pollock
724e6bfc39 Merge branch 'master' of github.com:okfn/recline 2012-03-28 08:55:00 +01:00
Tom Rees
ee9e7d07fb Fixing IE7 compatibility issues 2012-03-27 18:26:43 +01:00
Rufus Pollock
f51b4b6d79 [#36,backend/localcsv][m]: local csv 'backend' completed with new csvToDataset function - fixes #36. 2012-03-27 17:05:34 +01:00
Rufus Pollock
cb81fe87af [#51,backend/memory][s]: simple createDataset method to create in-memory dataset from raw array of hashes (and optional other info). 2012-03-27 17:02:13 +01:00
Rufus Pollock
995a053400 [#36,backend/localcsv][s]: start on local 'backend' with CSV parser and test. 2012-03-27 08:27:10 +01:00
Rufus Pollock
c8cc82a31c [#59,bugfix][xs]: dropdowns on grid header drop to left rather than right - fixes #59.
* utilizing bootstrap v2.0.2 support for pull-right on dropdowns.
2012-03-25 14:57:08 +01:00
Rufus Pollock
d1445ee12f [#58,flot-graph][s]: switch to horizontal bar chart as normal bar chart tick labels are borked without rotation when lots of bars (rotation not yet in flot core [1]).
[1]: https://github.com/flot/flot/pull/15
2012-03-23 03:53:49 +00:00
Rufus Pollock
70ea2bd863 [#34,bugfix,view][s]: fix issues with interaction of hash changes with view updating.
* Problem was in e.g. default demo that with new hash we were not matching on grid view and hence only displaying that (so we displayed both grid and graph which was nasty ...)
* Fix this by better match on route. Also improve by using router.navigate on query update
2012-03-23 02:41:53 +00:00
Rufus Pollock
3ff0bf1f28 [refactor][s]: remove costco-csv-worker (we are not using it). 2012-03-20 10:34:20 +00:00
Rufus Pollock
ded2360328 [#58,view/flot-graph][s]: tooltips for bar chart and, for bar charts, label x-axis with x values rather than numbers. 2012-03-16 00:22:41 +00:00
Rufus Pollock
dc0dc0b76e [view/flot-graph][s]: tool tips now show true x-axis value in case where non-numeric (e.g. for bar). 2012-03-16 00:13:40 +00:00
Rufus Pollock
93d4b84080 [doc][s]: minor correction to model docs. 2012-03-15 00:47:32 +00:00
Rufus Pollock
95a394bd13 [backend/webstore][s]: remove webstore backend. 2012-03-15 00:27:53 +00:00
Rufus Pollock
dd4fbeceb5 [backend/gdocs][s]: support being given standard 'user' gdocs url by extracting spreadsheet key and generating url with it.
* This makes gdocs backend much easier to use!
2012-03-15 00:24:21 +00:00
Rufus Pollock
d99b4db0ac [#58,flot][s]: tooltips for flot graphs (fixes #58). 2012-03-14 23:12:39 +00:00
Rufus Pollock
a9b65b4d1d [#58,flot-graph][s]: support for new types of graph: bars, points and points and lines. 2012-03-14 22:32:40 +00:00
Rufus Pollock
b13bae046b [css][xs]: make new menus in data grid a bit nicer. 2012-03-14 21:31:41 +00:00
Rufus Pollock
f9f5be6540 [view/query][s]: refactor query view to have from / size changes in new dropdown query menu rather than in pagination. 2012-03-14 21:14:56 +00:00
Rufus Pollock
6d69ef64d9 [view/util][xs]: minor correction to parseQueryString function to handle empty query strings correctly. 2012-03-14 21:04:25 +00:00