131 Commits

Author SHA1 Message Date
Rufus Pollock
28ab026ca1 [view,bugfix][xs]: correct bug in query editor introduced by change in css in 07adbe2386116f8ac8ca4c716344b3d6dc513354. 2012-03-10 09:09:57 +00:00
Rufus Pollock
07adbe2386 [ux,query,#53][s]: make it clear that search box is for searching. 2012-03-10 09:06:20 +00:00
Rufus Pollock
fc979023e6 [view,backend/dataproxy][s]: handle errors from dataproxy better and notify errors better in view. 2012-02-29 22:01:37 +00:00
Rufus Pollock
e6ce2ca533 [backend/dataproxy][s]: simplify by not bothering to query proxy on Dataset fetch and instead just set fields as part of query. 2012-02-29 21:59:47 +00:00
Rufus Pollock
1b9102e4b0 [css][xs]: remove bootstrap button stuff from css and switch to bootstrap disable to grey out button for active view. 2012-02-29 21:29:34 +00:00
Rufus Pollock
b5f2a3bbc5 [view/grid,css][xs]: add zebra striped for grid and fix width of search box. 2012-02-29 13:55:11 +00:00
Rufus Pollock
6daf354f3c [css][s]: refactor notification to remove obsolete css and display spinner using css. 2012-02-29 13:46:57 +00:00
Rufus Pollock
5c3781826a [#55,notify][xs]: correct clearNotifications to use .alert rather that .alert-messages. 2012-02-29 13:20:54 +00:00
Rufus Pollock
ca89b8f916 [doc][xs]: correct alert-message to alert in notify function docs. 2012-02-29 13:19:11 +00:00
Rufus Pollock
94651fbff4 [#55,misc][s]: switch to bootstrap v2.0 making some minor changes to html and css as a result (fixes #55). 2012-02-29 12:52:03 +00:00
Rufus Pollock
57978c324b [docs,build][m]: build latest version of the docs doing some tidying of the docs along the way. 2012-02-28 22:58:20 +00:00
Rufus Pollock
64056da3aa [backend/elasticsearch][s]: ES backend supports full text queries and sorting. 2012-02-28 21:08:18 +00:00
Rufus Pollock
ae587506f3 [#34,query][s]: switch to proper ES style sort structure. 2012-02-28 16:43:37 +00:00
Rufus Pollock
bd6123403e [#34,query][s]: rename offset to from on query object.
* More natural in fact and we may as well go whole hog with ES structure.
2012-02-27 20:54:02 +00:00
Rufus Pollock
a9c1b2ae07 [#54,backend/es][m]: ElasticSearch backend (readonly atm) - fixes #54. 2012-02-24 22:32:30 +00:00
Rufus Pollock
df79583bde [#50,backend,refactor][s]: complete backend split / rename refactor by removing Backend prefix from Backend classes - fixes #50.
* Backend prefix unnecessary now that everything in recline.Backend module.
2012-02-24 19:17:51 +00:00
Rufus Pollock
519274113e [backend,refactor][xs]: remove stuff from memory backend that should have gone in last commit. 2012-02-24 14:14:20 +00:00
Rufus Pollock
e3a0615e43 [backend,refactor][s]: split backends in separate files and put in separate module recline.Backend. 2012-02-24 14:12:45 +00:00
Rufus Pollock
a470e66ff3 [#53,view/query][s]: add free text query input to query editor (though backend does not yet use it). 2012-02-24 10:08:19 +00:00
Rufus Pollock
0a17c428cd [#53,#27,pagination][s]: pagination support (fixes #27).
* Also refactor to have doc count (which is dataset info) outside of query editor.
2012-02-24 10:00:00 +00:00
Rufus Pollock
e32d541fc7 [#53,#27,view/query][s]: support for offset in query editor. 2012-02-24 09:59:30 +00:00
Rufus Pollock
aaa01b2191 [refactor,model,view][s]: add explicit query start, done and fail events for dataset and use them in DataExplorer to generate notifications. 2012-02-24 09:11:17 +00:00
Rufus Pollock
f6dc590b3c [view/flot-graph,bugfix][xs]: fix exception on data change when flot not visible. 2012-02-24 09:07:59 +00:00
Rufus Pollock
12bb498d52 [#53,view/query][s]: start on a query editor by factoring out current size/offset form out of DataExplorer into separate QueryEditor view.
* This is also necessary prep for #27 (pagination and offset support)
2012-02-22 22:02:38 +00:00
Rufus Pollock
1fd337e1d4 [#48,refactor][s]: rename DataTable to DataGrid - fixes #48. 2012-02-22 21:18:30 +00:00
Rufus Pollock
1abf2769bd [#48,view/grid][xs]: split out DataTable (soon to be Grid or DataGrid) into its own file. 2012-02-22 21:06:58 +00:00
Rufus Pollock
5b70170ec7 [#40,view][s]: add support for CellRenderer as argument to DataTable and DataTableRow (fixes #40). 2012-02-18 10:30:24 +00:00
Rufus Pollock
7837105494 [build][s]: add latest build version of recline plus latest built docs. 2012-02-18 09:12:41 +00:00
Rufus Pollock
4074f380d8 [#25,view,refactor][s]: get views working with new field setup (fixes #25).
* One nastiness along the way (30m delay!) that is worth noting: flot graph was a problem because it turned out that a) (re-)render triggered by dataset attributes change and fields only got set *after* core dataset attributes and so info was rendering.
* model.test.js: basic test for Dataset.toTemplateJSON
2012-02-18 09:07:35 +00:00
Rufus Pollock
25c0177097 [#25,backend][s]: update backends to new fields setup. 2012-02-18 08:20:10 +00:00
Rufus Pollock
a75e04701f [#25,model][xs]: turns out the hack to allow simple arguments to Field ctor does *not* work. 2012-02-18 08:11:38 +00:00
Rufus Pollock
2da6c1a297 [#25,model][xs]: remove artificial field attribute (follow up to penultimate commit cf42e43ff0f32ba24e940455b060ae278025942b). 2012-02-18 07:48:14 +00:00
Rufus Pollock
0364f3e847 [#25,typo][xs]: left in console.log. 2012-02-18 07:44:35 +00:00
Rufus Pollock
cf42e43ff0 [#25,model][s]: introduce new Field Model and FieldList collection and attach to Dataset.
* NB: no refactoring elsewhere yet to take account of this
* model.test.js: tests for Field (first proper model tests!)
2012-02-18 07:33:15 +00:00
Rufus Pollock
3ea18aa715 [#25,refactor][s]: rename header(s) -> field(s) throughout. 2012-02-17 23:43:27 +00:00
Rufus Pollock
5f5fafbb22 [#49,view][xs]: sort from DataTable working again.
* And this change shows how new setup is nicer (i.e. cleaner) :-)
2012-02-17 23:10:03 +00:00
Rufus Pollock
866ad12a15 [#49,query][s]: introduce Query model object and use it in Dataset.
* tests: refactor Memory backend tests so that tests are independent (to avoid issues of carry over of query state)
* TODO: use query stuff in views - NB sorting seems broken in DataTable.
2012-02-17 23:05:34 +00:00
Rufus Pollock
7fa2517450 [whitespace][xs]: whitespace. 2012-02-17 22:36:22 +00:00
Rufus Pollock
ed3d20b20f [#42,flot-graph][s]: reinstate configuration of graph from routing info lost in penultimate commit a9cfd4412c8a4b9645e100997a4d1898620b0290.
* view.js: bunch of utility functions for parsing and composing query strings for hash routing (plus tests).
2012-02-17 21:47:51 +00:00
Rufus Pollock
b285987ef4 [#42,docs][s]: add docco build of view docs (plus tweak to view Docs). 2012-02-17 21:46:09 +00:00
Rufus Pollock
a9cfd4412c [#42,view][m]: allow configuring of DataExplorer with views to show.
* TODO: Some issues regarding configuring the FlotGraph from query string
2012-02-17 20:30:26 +00:00
Rufus Pollock
23e46e9c6f [#41,view,refactor][s]: merge DataTable and DataExplorer views back into view.js.
* Also improve docs for views a little bit (better use or markdown)
2012-02-17 12:40:25 +00:00
Rufus Pollock
87fa752908 [#43,backend][s]: GDocs backend working (and has improved docs). 2012-02-17 09:16:02 +00:00
Rufus Pollock
7f923d3ccf [backend][s]: Webstore and DataProxy now passing tests again. 2012-02-17 09:10:24 +00:00
Rufus Pollock
2d4e6a2ecc [#43,model][m]: refactor Dataset and BackendMemory to the new setup approach.
* NB: other model tests broken as a result.
2012-02-17 08:53:36 +00:00
Rufus Pollock
57effa02aa [whitespace][xs]: correct indentation issues introduced in b3a71e82cca77bfe24c93290dd321174c85ab3b7. 2012-02-16 19:51:05 +00:00
Friedrich Lindenberg
467e27a95d Split views into separate files. fixes #41. 2012-02-16 17:04:49 +01:00
Friedrich Lindenberg
7e79d39f8d Styling for show/hide columns 2012-02-14 16:30:11 +01:00
Rufus Pollock
21173b6acf [#35,all][m]: crude error catching for backends based on timeouts (best we can do with JSONP) - fixes #35.
* Show errors in UI
* required some extensive refactoring to use done/fail on promise rather than then
2012-02-10 03:16:49 +00:00
Rufus Pollock
d17fa4a169 [#35,view][s]: notifications for loading of data (and success thereof) both on initialization and on new queries.
* refactor notify to fadeOut notifications (for persist=false)
* refactor DataExplorer to have a common query method
* new clearNotifications method
2012-02-10 02:02:03 +00:00