702 Commits

Author SHA1 Message Date
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
Rufus Pollock
13d1a9e0bd [#128,state][s]: move to simpler state serialization for backend/dataset in which we just store url attribute of dataset (if present). 2012-05-26 22:51:50 +01:00
Rufus Pollock
ed4f315a97 [#128,backend/csv][s]: rename localcsv to csv and make into a module recline.Backend.CSv. 2012-05-26 19:00:39 +01:00
Rufus Pollock
72ed877ae2 [#128,misc][s]: final wiring up to have everything working again -- fixes #128. 2012-05-26 18:26:47 +01:00
Rufus Pollock
feaaf78639 [#128,backend/gdocs][s]: minor refactoring to make cleaner and have it actually work. 2012-05-26 18:07:36 +01:00
Rufus Pollock
e9d1b8a55a [#128,backend/gdoc][s]: refactor gdocs to standard backend setup. 2012-05-26 17:46:51 +01:00
Rufus Pollock
5890007c59 [#128,backend/dataproxy][s]: refactor to new setup. 2012-05-26 16:20:18 +01:00
Rufus Pollock
ad7fc1a029 [#128,backend][xs]: minor tweaks to memory backend to follow style in ES - all tests passing again (though stuff still broken in app!). 2012-05-26 16:07:05 +01:00
Rufus Pollock
1bc8c77098 [#128,backend/elasticsearch][m]: rework elasticsearch model to new cleaner setup. 2012-05-26 15:53:59 +01:00
Rufus Pollock
23b32dff1c [#128,backend/memory,misc][l]: commence major backend refactor by converting recline.Backend.Memory to module and splitting existing code into BackboneSyncer and DataWrapper.
* Lots of other changes to having passing tests (note some actual functionality is likely a little broken esp around state serialization and the app)
2012-05-26 14:26:01 +01:00
Rufus Pollock
9518d2483d [backend,refactor][xs]: move Backbone.sync override into recline.Model from recline.Backend.base. 2012-05-25 09:01:03 +01:00
Rufus Pollock
59e7b93b78 [view-graph][xs]: remove help section in sidebar editor as not needed (self-explanatory). 2012-05-25 08:03:39 +01:00
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