Rufus Pollock
de185c25b8
[whitespace][xs]: .
2012-04-14 18:01:48 +01:00
Rufus Pollock
670eb1e1de
[#88,view/grid,refactor][s]: switch DataGrid to use new state setup (and introduce new Model ObjectState for this purpose).
...
* Switched hiddenFields to be part of state object (only state on DataGrid at the moment).
2012-04-14 12:58:39 +01:00
Rufus Pollock
5eb075b14c
[#45,test/view-grid][s]: add test for hide column functionality on DataGrid (first test of this view).
2012-04-14 12:44:07 +01:00
Rufus Pollock
77414ff9ca
[#88,view/refactor][s]: start on state management and serialization with getState function on Explorer.
2012-04-14 11:42:02 +01:00
Rufus Pollock
b0bf06c52e
[#34,query,backend/memory][s]: memory backend support query string (q parameter).
2012-04-14 10:00:17 +01:00
amercader
9bffad30ad
[view/map][xs] Fix typo
2012-04-12 08:31:01 +01:00
amercader
45c05a3334
[view/map] Ignore empty fields and replace non-crossbrowser commands
2012-04-11 18:47:15 +01:00
amercader
9080fb8c6b
[#64,view/map] Add source docs and links from home page
2012-04-11 17:33:17 +01:00
amercader
a8018c4e18
[#64,view/map] Add small editor for user input
...
Right now the form lets you define the fields where the geometries are
stored (either in a single GeoJSON field or a pair of lat/lon fields).
When adding features, if wrong geometries are found (ie wrong field
values), the process will stop and an error notice will be shown.
2012-04-11 14:15:39 +01:00
amercader
e65b3f5418
[merge] from upstream master
2012-04-11 10:38:47 +01:00
Rufus Pollock
11f4fb1151
[#78,tidying][s]: fixes for as many jshint issues as possible in src/*.js.
2012-04-10 20:21:18 +01:00
amercader
23c6a6e81b
[view/map][s] Recalculate Leaflet sizes when showing the container div
2012-04-10 17:14:22 +01:00
amercader
5891149087
[#86,view] Fire view show/hide events
2012-04-10 17:12:53 +01:00
amercader
5ff7260396
[#64,view/map] More flexible geom field detection (case insensitive and checks 'location')
2012-04-10 17:09:06 +01:00
Rufus Pollock
498e9712c6
[#68,model/Field][s]: introduce default renderers for object and float:percentage.
2012-04-10 16:36:55 +01:00
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
amercader
9f0c0d753a
[#64,view/map] Listen to changes in documents to refresh the map
...
Added new listeners to refresh the markers whenever a document(s) is
added or removed, or all documents are reset. Instead of recreating
everytime all markers, only the necessary ones are added or removed.
2012-04-10 13:16:37 +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
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