387 Commits

Author SHA1 Message Date
Rufus Pollock
dea4b3ece1 [#83,facets][s]: add date histogram facet support.
* Incomplete in various ways (e.g. cannot apply filter correctly using it) but can add and view.
2012-04-10 16:25:08 +01:00
Rufus Pollock
3c9a18ba88 [#78,jshint][s]: cleaning up backends as per jshint instructions. 2012-04-10 12:19:39 +01:00
Rufus Pollock
6c22413784 [build][s]: build docs and recline.js. 2012-04-10 01:31:49 +01:00
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
103d2a513c [#81,css][xs]: remove unused obsolete css. 2012-04-10 00:26: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
05d543199b [css][xs]: reduce padding in query editor pagination. 2012-04-10 00:04:17 +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
823ee98540 [addendum,refactor][xs]: addendum to 1be758e6b81df3abfee8cdeeeaa16ebd69a3def7 as symlinks do not work with gh-pages so need js redirects instead to relocate demo to app. 2012-04-08 09:20:21 +01:00
Rufus Pollock
debcfbbb7a [#52,docs][xs]: minor touch up to index page. 2012-04-07 13:52:47 +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
Rufus Pollock
0155d4dec5 Merge pull request #69 from amercader/master
[#64,view/map][m]: Preliminary work on the Leaflet-based map Data View from @amercader.
2012-04-04 23:59:18 -07: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
14bd9364db [build][m]: build docs and latest version of library. 2012-04-04 10:59:05 +01:00
Rufus Pollock
25ab4df892 [package.json][xs]: bump to 0.4a. 2012-04-04 10:54:41 +01:00
Rufus Pollock
2b8f1bcf64 [refactor,docs][xs]: indentation and text-wrap. 2012-04-04 10:53:50 +01:00
Rufus Pollock
76d709a1eb [#65,docs][s]: start on examples section with quickstart case using createDataset. 2012-04-04 10:49:26 +01:00
Rufus Pollock
b24d031851 [#65,refactor][xs]: remove read-only link in app (was for demo not app). 2012-04-03 22:05:02 +01:00
Rufus Pollock
1be758e6b8 [addendum,refactor][xs]: symlink app to demo so old urls do not break. 2012-04-03 22:04:09 +01:00
Rufus Pollock
b0fae7c3d0 [#65,refactor][s]: move demo to app and rework mains docs to reflect app / library distinction. 2012-04-03 21:54:22 +01:00
Rufus Pollock
51ff83646c [demo/style/images][xs]: remove long obsolete and unused images. 2012-04-03 21:23:21 +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
84b9c9f655 [build][xs]: build consolidated file. 2012-04-01 19:14:13 +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
d68529c113 [test/model][xs]: add a test for FieldList.toJSON. 2012-03-29 08:38:58 +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