Rufus Pollock
f8cbb60bf6
[#14,refactor][s]: move dialog and notification out of demo/index.html and into DataExplorer view template.
...
* Believe these are the last items that tie us to demo/index.html but could be wrong!
2012-01-06 18:57:16 +00:00
Rufus Pollock
48dcdd31b0
[#14,refactor][s]: move (data table) menu out of html and into DataTable view.
...
* Also rename element class to data-table-menu for greater specificity
* Allows us to get rid of a nastiness (DataTable view was binding to events outside of itself) -- and another step to making the Explorer completely autonomous and non-dependent on HTML.
2012-01-06 14:25:51 +00:00
Rufus Pollock
151dacd033
[refactor][xs]: remove mustache templates from index.html that had already been moved to src/view.js.
2012-01-06 13:46:30 +00:00
Rufus Pollock
c8c6ca3da0
[#14,refactor][s]: move all mustache templates used by util that are still in demo.html into util.js templates hash.
...
* This is important as it makes the app standalone and not depdendent on specific html (we plan for explorer to embed in different html frontends).
2012-01-06 13:42:07 +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
7a5e2edef8
[#14,view/explorer]: show total doc count in data explorer.
2012-01-06 11:59:27 +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
8b9c76fd29
[view/data-explorer][m]: (refs #14 ) introduce ability to change number of rows viewed.
...
* This also necessitated a nice refactor whereby DataExplorer subviews running off a common Backbone Collection (DocumentList) re-rendering themselves in response to changes in that Collection.
2011-12-15 16:13:43 +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
e02188e01b
[view/chart][m]: (refs #11 ) chart view working a bit more (e.g. chart renders (though empty) and drop downs have column names).
2011-11-09 02:54:31 +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
Max Ogden
d629629bf1
cleanup whitespace, rename files, build new deps with backbone
2011-11-02 19:58:56 -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
rgrp
27a63e6577
[all][s]: (refs #1 ) refactor layout to be like standard js library rather than couch app.
2011-10-24 16:00:28 +01:00