42 Commits

Author SHA1 Message Date
Rufus Pollock
7a95302760 [#62,facets,backend/memory][m]: add faceting support to memory backend. 2012-04-01 16:31:36 +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
bae55355a5 [#36,#39,demo/import][s]: import menu has working import from file (csv) (fixes #36, fixes #39).
* First part of #39 (import menu) in 17986f25afdf9569c3e72a8ede0fb6df3cb703d9.
2012-03-27 18:26:29 +01:00
Rufus Pollock
17986f25af [demo][s]: convert import from url to dropdown plus modal from simple form in top bar. 2012-03-24 17:25:18 +00:00
Rufus Pollock
e51fdfe7cd [demo][xs]: tweak local dataset data for testing graphing with labels. 2012-03-16 00:12:06 +00:00
Rufus Pollock
27b4b54098 [demo,bugfix][xs]: fix losing routing hash which mean we could not share urls (result of 5660c8802089193f6656ffc6552e05491c9e320a). 2012-03-15 21:57:50 +00:00
Rufus Pollock
5660c88020 [demo/js][s]: refactor demo js and add support for specifying url to load (and backend type) in the url query string.
* You can now do stuff like demo/index.html?url={path-to-your-elastic-search-instance}
2012-03-14 23:49:37 +00:00
Rufus Pollock
10ce04da43 [demo][xs]: graph view available for cases where data loaded from remote. 2012-03-14 18:44:06 +00:00
Rufus Pollock
d60d97ffff [demo][xs]: put in real ES end point insteand of old webstore endpoint in demo. 2012-03-10 09:09:05 +00:00
Rufus Pollock
b4c729b7bb [#39,demo][s]: add dropdown for selecting type of backend for the url you are importing. 2012-02-27 20:52:25 +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
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
1fd337e1d4 [#48,refactor][s]: rename DataTable to DataGrid - fixes #48. 2012-02-22 21:18:30 +00:00
Rufus Pollock
25c0177097 [#25,backend][s]: update backends to new fields setup. 2012-02-18 08:20:10 +00:00
Rufus Pollock
3ea18aa715 [#25,refactor][s]: rename header(s) -> field(s) throughout. 2012-02-17 23:43:27 +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
b179ab50cf [#43,demo][s]: fix up demo to use new form for creating datasets and backends. 2012-02-17 09:20:19 +00:00
Rufus Pollock
1daf3904af [cleaning][xs]: remove commented-out original recline code in demo/js/app.js. 2012-02-08 09:35:40 +00:00
Rufus Pollock
1539169e21 [#35,refactor][l]: fixes #35, major refactor to have datasets intialized with backend and endpoint information.
* Backbone.sync now switches on type of backend set for a dataset (allowing simultaneous use of multiple datasets with different backends)
* Datasets are initialized with backend config (see docs and code)
2012-02-08 09:27:56 +00:00
Rufus Pollock
cb5cf25ef1 [demo/js][s]: minor bugfixes to demo re webstore dataset load.
* change demo webstore url to one that works
* fix up bug with non-hiding of graph on load of new dataset from e.g. the webstore
2012-01-28 08:05:20 +00:00
Rufus Pollock
b008eba4ec [#19,demo][s]: fix up secondarily load of webstore table in demo.
* Had been broken by f176979f5bd39e78e0c66c27dced3f7c8b2dc49b with its change to use passed in element to DataExplorer rather than internal generation of element.
2012-01-15 19:06:10 +00:00
Rufus Pollock
246cdedcd2 [#19,routing][xs]: move history out to external calling code as we need to be able to reload the app (e.g. to change data source). 2012-01-15 17:41:55 +00:00
Rufus Pollock
f176979f5b [#19,routing][m]: introduce Backbone routing and use it for navigation between grid and graph views.
Some substantial other related changes:

* Switched DataExplorer view to have element it attaches to passed in rather than being created internally (this was important for FlotGraph to set up correctly).
  * Also refactored DataExplorer setup somewhat (e.g. got rid of draw function which wasn't needed -- merging necessary parts with initialize)
* Substantial refactoring of FlotGraph so that we correctly work around flot's delicateness regarding rendering (element must not be hidden etc -- see comments in code)
  * Also generally cleaner code
2012-01-10 00:07:21 +00:00
Rufus Pollock
638eff6c3c [fixes #17,view][s]: read-only mode (where editing options are hidden). 2012-01-07 03:09:45 +00:00
Rufus Pollock
08d256816f [#22,css][s]: add specific div for data explorer to live in in demo (so we are not tied to specific html).
* also minor fix to data table to have th for header row.
2012-01-06 13:02:35 +00:00
Rufus Pollock
164da57dfa [model/backend][s]: BackendMemory now works with one and only one dataset at a time (plus document what dataset data looks like).
* It is clear that if Backend is to handle syncing of Documents we need to only be working with one dataset (or: every Document has to reference a dataset -- in which case Backend and Dataset really are just one object ...).
2012-01-05 01:00:33 +00:00
Rufus Pollock
51934e1b94 [demo,test][xs]: add id to all rows/documents in fixture data for local backend data. 2012-01-05 00:26:16 +00:00
rgrp
653f59610f [refactor][s]: put model and view objects inside modules of similar name (Model, View). 2011-12-07 13:49:50 +00:00
rgrp
67f7660ab9 [css,layout][m]: get things layed out reasonably nicely again.
* Use top menu again
* Refactor main area so that data-table-container becomes data-view-container
* Fix up width of flot graph and editor so they line up reasonably nicely
2011-11-15 20:40:27 +00:00
rgrp
3bf7d9ceb4 [view,demo][m]: (refs #12) new DataExplorer parent view to hold the main app. 2011-11-09 01:41:49 +00:00
rgrp
24742a2b9e [demo][s]: refactor js into functions for readability (this will one day become a controller / view of some kind ...). 2011-11-09 01:00:23 +00:00
rgrp
2fe1b48fc3 [demo][xs]: very minor tidying. 2011-11-09 00:29:43 +00:00
rgrp
07275a8fcc [demo][s]: allow loading of demo data viewer from a webstore url. 2011-11-08 16:12:56 +00:00
rgrp
3a48044a76 [model,refactor][m]: (refs #6, refs #10) get rid of DocumentSet merging its functionality into Dataset.
* In addition fully remove remaining references in models (in getRows and getLength functions) to form of backend (this should have been in previous commit).
2011-11-05 20:20:31 +00:00
rgrp
21d9a1c2dc [model][m]: (fixes #6) create a BackendMemory (local data in memory) and refactor code to use this rather than current hard-coding-of-data approach. 2011-11-05 19:48:09 +00:00
Max Ogden
bd52bb2c58 get a datatable rendering with fake data 2011-11-04 13:18:29 +00:00
rgrp
f7e5a03174 Merge branch 'master' of github.com:okfn/recline
Conflicts:
	demo/index.html
	demo/js/app.js
	src/recline.js
2011-11-03 18:31:00 +00:00
rgrp
4d4c1708c2 [refactor,demo][s]: refactor demo (and recline.js) to use new Dataset object. 2011-11-03 09:09:01 +00:00
Max Ogden
2f9efbae09 start implementing backbone models and collections - ui is currently broken 2011-11-02 22:32:42 -07:00
rgrp
f5895560e4 [refactor][m]: (refs #1) demo app basically operational without couch (just local Dataset object).
* table displays and pagination works but you cannot do operations (updates, deletes etc) on table.
2011-10-24 21:54:31 +01:00
rgrp
3e9c588d22 [refactor][xs]: (refs #1) start moving the couch recline app specific stuff out of core into demo app. 2011-10-24 20:29:16 +01:00