Rufus Pollock
c16b636a40
[doc,view][xs]: mention flash messages / notifications.
2012-05-24 21:57:50 +01:00
Rufus Pollock
e2b1b9f545
[#73,view/timeline][m]: many improvements to timeline - now pretty functional.
...
* reload data on query updates
* attempting to guess start date and end date fields.
* avoid initting multiple times
* refactor to be cleaner
2012-05-24 21:53:04 +01:00
Rufus Pollock
b4255ef18f
[model][s]: default string renderer will linkify http://... links.
2012-05-24 00:30:35 +01:00
Rufus Pollock
1394b9affa
[#73,app][s]: integrate timeline into multiview and app.
2012-05-22 17:01:39 +01:00
Rufus Pollock
61b1482d99
[#73,view/timeline][l]: functioning timeline view using VeriteCo Timeline library.
...
* *Much* still to do such as auto-selection of date field, checking for end date, parsing of dates, generation of summary text etc
2012-05-22 16:57:17 +01:00
Rufus Pollock
cbe668f0e3
[bugfix,view-map][xs]: issue with map not rendering due to calling redraw in render (introduced in 62a790ceb907026e3c076bbf5e2148ff3033855f).
2012-05-22 11:46:09 +01:00
Rufus Pollock
62a790ceb9
[view/map,bugfix,refactor][s]: correct bug due to misinterpretation (?) of Backbone reset and refactor so we redraw on initialize.
...
* Bug: dataset.currentDocuments.reset was being interpreted as empty rather than a re-fill of new documents and was therefore not re-adding currentDocuments items to the list of features. Fixed this.
* Discovered bug during a refactor. Refactor removed listener for query:done as this will be covered by currentDocuments.reset or similar. This also means we can initialize the view with a dataset already containing data and it will render w/o need to call query() again.
2012-05-20 13:43:33 +01:00
Rufus Pollock
ffe07e4ad5
[#116,view/grid][s]: proper support for horizontal scrolling (header scrolls with body).
2012-05-19 12:41:05 +01:00
Rufus Pollock
f5b7b7863c
[#116,bugfix][xs]: set max-width on headers as well as body cells as o/w wrap does not work.
2012-05-18 23:04:48 +01:00
Rufus Pollock
fa0f37b5f7
[#116,view/grid][s]: do not show extra header col if no scrollbar on grid body.
2012-05-17 23:57:08 +01:00
Rufus Pollock
7963dc2a09
[#116,view/grid][m]: fixed header on grid table so you can scroll and header stays fixed - fixes #116 .
...
* [s] in changes by [m] in effort
* pretty painful to do and we now have to set width of columns explicitly - though this will be useful going forward if we allow adjustable width columns.
* even support different width scrollbars in different browsers (have not tested in IE though!)
* remaining bug is that we have an overhang in header when no scrollbar for body (probably not that hard to fix ...)
2012-05-17 13:22:42 +01:00
Rufus Pollock
d42d1c0dbd
[#67,#87,link,embed][s]: encode query string uri components so they work correctly from link and embedding.
2012-05-15 05:31:15 +01:00
Rufus Pollock
57548e0d17
[#82,notifications][s]: less obtrusive notifications - fixes #82 .
...
* switch loading notification to overlay and make it persist until loading complete (then fade)
* get rid of query success notification
2012-05-15 04:42:12 +01:00
Rufus Pollock
accd96354e
[view,doc][xs]: tweak view overview info.
2012-05-13 08:32:53 +01:00
Rufus Pollock
f229d6985c
[view/grid][xs]: fix to grid css so drop-down menus are not hidden if they overflow plus move no-hidden attribute onto recline-grid making css simpler and more reliable.
2012-05-13 08:25:23 +01:00
Rufus Pollock
44942dabdc
[backend/memory][xs]: createDataset calls query on dataset object so that the Dataset object already has data in it.
2012-05-13 07:57:55 +01:00
Rufus Pollock
79ce138751
[view-graph,bugfix][xs]: hovers for time series render dates correctly (rather than as large integers).
2012-05-09 03:40:41 +01:00
Rufus Pollock
5e002adb4e
[view-graph,bugfix][s]: fix so we always redraw graph on data update (though perhaps only when graph becomes visible).
2012-05-09 03:29:43 +01:00
Rufus Pollock
b6664e9292
[view/graph][s]: make sure we do not try to draw if graph not yet properly configured.
...
* Was encountering a bug where data loads triggering a redraw but nothing yet properly configured. (This has been previously hidden by fact we don't draw if graph view is hidden -- which I had temporarily turned off).
2012-05-08 16:20:53 +01:00
Rufus Pollock
fa123b6e94
[bugfix,view-graph][xs]: hovers on bar graphs were wrong because we were not switching x,y due to it being horizontal.
2012-04-30 03:56:53 +01:00
Rufus Pollock
e4aa4e546c
[#82,flash/notify,refactor][m]: convert notify / flash messages to use events rather than call to a central function.
2012-04-26 22:45:28 +01:00
Rufus Pollock
a9b4a8728f
[#46,vendor,view][xs]: remove vendor/jquery-ui and dialog in Explorer view template as noew no longer required as using bootstrap modal - fixes #46 .
2012-04-26 22:07:55 +01:00
Rufus Pollock
6d94c89b7c
[refactor,util][s]: move query string parsing and manipulation utilities into util.js.
2012-04-26 22:06:11 +01:00
Rufus Pollock
c358a5bd43
[refactor,util][xs]: remove remaining code in util.js as not used anywhere (position and $.fn.serializeObject).
2012-04-26 21:54:10 +01:00
Rufus Pollock
07758bd3b5
[refactor,util,view-tranform][s]: move transform edit preview template out of util into view-transform-dialog.
2012-04-26 21:49:25 +01:00
Rufus Pollock
650d83e6b4
[view,util,refactor][s]: move cellEditor template into view-grid from util (as only place it is used).
2012-04-26 21:38:42 +01:00
Rufus Pollock
b28fe024a1
[#46,refactor,util][xs]: remove util functions (e.g. show, hide, observeExit) which are now no longer used after recent commits.
2012-04-26 21:31:50 +01:00
Rufus Pollock
c5512c67f5
[#46,refactor][s]: remove DataTranform view (for transforming whole doc not just column) as not used and probably not functional.
2012-04-26 21:28:01 +01:00
Rufus Pollock
562de80655
[#46,view-transform-dialog][xs]: remove dialog on exit (rather than just hiding) - seems to fix some bugginess with repeated opening of transform.
2012-04-26 21:26:25 +01:00
Rufus Pollock
9c0c4dfae3
[#46,view-grid,view-transform-dialog][s]: switch ColumnTransform to work off bootstrap modal.
2012-04-26 21:20:59 +01:00
Rufus Pollock
c9a3471b57
[view/explorer][xs]: remove (already obsolete) router and routing code from explorer.
2012-04-26 17:22:03 +01:00
Rufus Pollock
1df82c3c3d
[#75,view/graph][s]: if type of x-axis field is date make flot graph treat it as a datetime - fixes #75 .
...
* TODO / problems: have hard-coded ticks to be yyyy-MMM but that may not work well for all time series (may need to guess this from the resolution of the data or allow user to configure)
2012-04-25 23:23:13 +01:00
Rufus Pollock
d8bbac1f6f
[#85,view/graph,ux][s]: show a message on graph view when no graph yet there giving instructions on how to plot a graph (was a big ux fail) - fixes #85 .
2012-04-25 22:27:01 +01:00
Rufus Pollock
82ca51a0b6
[#85,view-graph][m]: graph controls are now correctly configure themselves from loaded state.
...
* Also heavily refactor to have a cleaner and better code e.g. using templating to add new series.
2012-04-25 22:12:42 +01:00
Rufus Pollock
dd3b17e3bb
[#88,bugfix][xs]: for some reason changing of hiddenFields on grid state was not propagating a change event.
...
* suspect this may be to do with backbone and how it checks for changes on arrays.
2012-04-25 15:53:46 +01:00
amercader
0b6840819e
[view/map,bugfix] Reapply fix from 5eb65f, lost due to a bad merge
2012-04-25 12:24:43 +01:00
amercader
a516fc1deb
[view/map][s] Listen to changes in the documents and update the map accordingly
2012-04-24 19:06:51 +01:00
amercader
653eda6f43
[view/map][xs] Small fix in the getBounds method (does not work for multi-geometries)
2012-04-24 18:53:19 +01:00
amercader
3597974469
[view/map] Don't show GeoJSON geometries in the popup as they can be quite big
2012-04-24 18:42:52 +01:00
amercader
1655690bc8
[view/map][xs] Fix lat/lon parsing (eg geoms in Greenwich can have lon 0)
2012-04-24 14:19:03 +01:00
amercader
9ed43dfdc6
[view/map] Geometries can be provided as GeoJSON strings (useful e.g. in CSV files)
2012-04-23 18:24:53 +01:00
amercader
7def51b573
[backend/localcsv] Add support for defining the text delimiter on CSV files
2012-04-23 18:23:44 +01:00
amercader
c5da3a820e
Merge branch 'master' of github.com:okfn/recline
...
Conflicts:
src/view-map.js
2012-04-23 11:37:51 +01:00
Rufus Pollock
a577866932
[#61,backend/elasticearch][s]: refactor plus support for setting request headers (e.g. Authorization) plus can set backend url on initialization.
...
* support for headers went into new _makeRequest method on backend base class
* support for setting backend url on initialization (rather than depending on it being on Dataset/Document objects)
* move upsert and delete methods out into distinct methods from being inside backbone sync
The two last of these pave the way for use of ElasticSearch backend standalone (both independent from Recline and independent of Backbone)
2012-04-23 02:30:16 +01:00
Rufus Pollock
1bf64c5f94
[#61,backend/elasticsearch][m]: create, update and delete support in elasticsearch backend -- fixes #61 .
2012-04-22 22:17:47 +01:00
Rufus Pollock
31d829f53f
[#17,backend][s]: add readonly attribute on backends indicating whether they are 'read-only'.
2012-04-22 00:03:59 +01:00
Rufus Pollock
67ff757722
[#68,field][s]: link and markdown format for strings with default formatter.
2012-04-21 23:54:49 +01:00
Rufus Pollock
24295e78a2
[view/map][s]: make map view much more robust regarding bad or missing data in location fields.
2012-04-21 23:52:22 +01:00
Rufus Pollock
793fde4617
[bugfix,view-map][s]: 30m to track down and fix a bug whereby map view was ignoring config passed to it.
...
* setupGeometryFields was running (and overwriting) even if fields set in state passed in (which I don't think we want).
2012-04-21 23:47:52 +01:00
Rufus Pollock
92ec8d5b3e
[backend/memory,bugfix][xs]: fix error on memory filtering when field value is null (cannot call toString).
2012-04-21 22:48:33 +01:00