Rufus Pollock
f14dcdcaaf
[#154,model/query][m]: refactor to new filter structure (see ticket) updating FilterEditor widget and backends.
...
* ElasticSearch changes represents a significant refactor and now support filters and query via constant_score (did not support this before!)
2012-06-16 13:04:03 +01:00
Rufus Pollock
617d3440f0
[ #154 , backend/elasticsearch][s]: backend errors now reported up the stack (implement deferred reject when call to backend fails).
2012-06-16 12:59:01 +01:00
Rufus Pollock
87df9ea080
Merge branch 'master' of github.com:okfn/recline
2012-06-15 11:12:55 +01:00
Rufus Pollock
8fe04ddd4f
[#111,filter/geo][m]: geo filter support - filter editor working though not sure actual query is working (!).
...
* Extensive refactoring of Model.Query and View.FilterEditor to do this cleanly (geo_distance and term treated similarly now)
2012-06-15 10:51:13 +01:00
amercader
b6eb375624
[#130,view/slickgrid] Don't store sort info on state, as it is stored on the query
2012-06-12 13:22:39 +01:00
Rufus Pollock
952c85a912
Merge branch 'master' of github.com:okfn/recline
2012-06-12 13:09:08 +01:00
Rufus Pollock
75cd2fb94d
[#141,view/map][s]: support for all of elasticsearch geo_point / location objects - fixes #141 .
...
* [lon, lat]
* "lat,lon"
* Bonus (non-ES): "(lat,lon)"
Also (accidentally included):
* upgrade to qunit 1.5.0 (much better stack traces!)
2012-06-11 22:00:32 +01:00
amercader
20d7683223
[#130,view/slickgrid] Sort documents on SlickGrid view
2012-06-11 13:47:41 +01:00
Rufus Pollock
7b07a9558b
[timeline][s]: make it easy to customize timeline info in client apps by providing convertRecord method.
2012-06-11 12:46:10 +01:00
Rufus Pollock
399172b8f4
[timeline,tweaks][xs]: tweak setting of timeline width to be more robust in different circumstances.
2012-06-10 21:08:29 +01:00
Rufus Pollock
80d3576a6c
[view/timeline][s]: workarounds so that timeline can be init-ed automatically if created with a dom element.
...
* This means you don't have to do view.trigger('view:show') after creating if the view element already in the dom.
* Verite Timeline is a bit problematic in that it cannot be passed a dom element but insists on being passed an id it looks up.
2012-06-10 15:15:57 +01:00
Rufus Pollock
d2ce46cc42
[#152,timeline][xs]: handle null or undefined dates properly.
2012-06-10 14:23:03 +01:00
Rufus Pollock
75a6bbd80a
[#152,view/timeline][s]: more robust data parsing with tests - fixes #152 .
...
* Also discover and fix "bug" re momentjs timezone calculation and toDate.
2012-06-10 12:35:39 +01:00
Rufus Pollock
1e65468f33
[#151,view/graph,bugfix][xs]: parse string as numbers if we can when plotting them - fixes #151 .
2012-06-08 21:00:29 +01:00
Rufus Pollock
20191bf9fa
[#145,widget/fields][s]: ux on fields including heading, expand all and collapse all support, bugfix for weird collapsed but content not collapsed issue.
2012-06-07 19:52:20 +01:00
Rufus Pollock
9b583b8397
[#147,widget/filtereditor][s]: setting of term filter value and removal of filter working again (and tested!) - fixes #147 .
2012-06-07 00:18:08 +01:00
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
0549383073
[backend/memory][xs]: change full text query in memory backend to ignore case.
2012-06-06 17:20:43 +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
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
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
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
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
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
amercader
1cffd8fffb
[#131,slickgrid] Support renderers and derivers
2012-05-30 11:03:10 +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
Rufus Pollock
ea6f051aba
[view/map,bugfix][xs]: be more cautious about assuming a location field actually gains geodata (and geojson specifically).
...
* At present giving data with e.g. { location: 'New York'} would lead the view to crash on a JSON parsing error.
2012-05-27 02:48:54 +01:00
Rufus Pollock
c6d4116cba
[#79,refactor][s]: switch from (old) jquery.mustache to latest mustache.js - fixes #79 .
...
* This mustache has support for nested values e.g. {{sub.x.y}}
* Specifically mustache.js as of Fri Feb 24 09:58:31 2012 +0100 2f135e2e15dcc3c61385212261faaf00597bae10
2012-05-27 01:27:26 +01:00
Rufus Pollock
92543a76ee
[#128,backend/elasticsearch][s]: standardize on url field on dataset to hold url for ES backend.
...
* also ensure reasonable docs for all methods
2012-05-26 22:55:01 +01:00