Rufus Pollock
1ae8985b00
[view/graph][xs]: refactor to have methods in standard order and events in events hash.
2012-01-09 09:01:04 +00:00
Rufus Pollock
b183e70688
[#22,bugfix][xs]: edit button for cells had gone missing.
2012-01-07 03:17:52 +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
f1c5b8a430
[ #22 ][l]: first pass at new theme (based off bootstrap).
...
* view.js: refactor html for graph editor form; refactor navigation to be buttons.
2012-01-07 02:44:26 +00:00
Rufus Pollock
deabb59d51
[layout][s]: re-layout header section of DataExplorer view.
2012-01-06 20:32:33 +00:00
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
0b73a5ffbf
[#13,refactor][xs]: move rendering of transform preview into view.js from costco.js.
...
* Resolves TODO from e23354eb4e451bb3171ed89e40a7ebe2e3ca927f.
2012-01-06 13:38:45 +00:00
Rufus Pollock
587a4fc3b9
[tidying][xs]: comment out unused showDialog method and add some TODO comments about unconverted old recline methods.
2012-01-06 13:32:00 +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
6d32ac2b27
[refactor][s]: rename getRows to getDocuments (thereby removing outstanding TODO).
2012-01-06 12:08:55 +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
250f931c36
[refactor][s]: rename rowCount to docCount and remove getLength method as can just use dataset.docCount.
2012-01-06 11:43:17 +00:00
Rufus Pollock
e23354eb4e
[#13,transforms][l]: re-enable column transforms (bulk editing).
...
* TODO: only operates on documents in current view atm -- to do this properly want a transform function on Backend.
2012-01-05 15:44:25 +00:00
Rufus Pollock
b934307a2a
[tidying][xs]: remove src/backbone-webstore.js as long superseded by Backend stuff in src/model.js.
2012-01-05 12:48:16 +00:00
Rufus Pollock
16903be492
[src/recline.js][xs]: remove abortive started new code in this file and add deprecation notice.
2012-01-05 12:32:07 +00:00
Rufus Pollock
e65bc74a88
[#14,#6,backend,view][m]: delete row in data table now working via Backbone with backend memory.
...
* #6 : BackendMemory now supports delete for Documents.
2012-01-05 12:26:13 +00:00
Rufus Pollock
d5793c4044
[view][m]: move (disabled) cell editing into DataTableRow view and get it working in proper Backbone way (via save and sync).
...
* [m] when including previous commits and work on Backend
2012-01-05 01:46:10 +00:00
Rufus Pollock
ce076a2eac
[model/backend,#6][s]: BackendMemory now supports saving of Documents.
2012-01-05 01:39:31 +00:00
Rufus Pollock
97f50c5bf5
[test/model][s]: update webstore backend test to have ajax fully mocked so tests work fully when offline.
2012-01-05 01:36:53 +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
6e80e20f61
[vendor][xs]: trivial rename.
2011-12-13 11:27:30 +00:00
rgrp
e741ee7fff
[view][s]: (refs #14 ) switched DataTable view to render using DataTableRow view (rendering now in pure js!).
2011-12-13 06:13:13 +00:00
rgrp
01fa7343ef
[refactor][xs]: move DataTable template in view from demo/index.html.
2011-12-13 05:50:45 +00:00
rgrp
54c81d68f1
[readme][xs]: correct incorrect copyright message.
2011-12-11 16:21:25 +00:00
rgrp
39ca647ff3
[reamde][s]: minor refactoring plus add MIT license.
2011-12-11 16:20:02 +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
d35d3a8986
[view,test][m]: (refs #10 ) introduce DataTablRow view for rendering DataTable row and test it (though have not yet integrated).
2011-12-07 01:53:52 +00:00
rgrp
d7e058eb15
[model,view][s]: (refs #10 ) refactor to return DocumentList from Dataset.getRows rather than array of simple hashes.
2011-12-04 03:36:13 +00:00
rgrp
7e67a145f4
[view/datatable][m]: (refs #13 ) re-enable most of data-table menus i.e. column, row, edit (though actual actions are not yet operational).
2011-11-15 21:52:31 +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
08ab25e981
[view/chart][m]: (refs #11 ) chart now has functioning line graph (much still to do!).
2011-11-10 22:57:21 +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
22dde050e0
[addendum][xs]: missed deps-min out of previous commit (doh!).
2011-11-09 02:20:03 +00:00
rgrp
64b1ed8e03
[vendor,refactor][xs]: change _ to 000 to ensure sort order (_ has no effect on sort order in ubuntu).
2011-11-09 02:19:18 +00:00
rgrp
4be08a1127
[vendor][s]: (refs #11 ) add jquery.flot v0.7 to deps.
2011-11-09 02:07:54 +00:00
rgrp
65656975a5
[view][s]: (refs #12 , refs #11 ) add non-functioning FlotGraph view (in previous commit mostly -- by accident) and support toggling between Data Table and Graph.
2011-11-09 01:58:51 +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
224dcbadf3
[misc][xs]: remove some left-over couchapp-isms.
2011-11-09 00:13:05 +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
5eb06b982e
[model][m]: working Webstore Backend ( fixes #8 ).
2011-11-07 21:52:07 +00:00
rgrp
39ab2232a1
[test,addendum][xs]: incorrect pathes to sinon in previous commit (copy and paste error!).
2011-11-06 01:18:53 +00:00
rgrp
6e5aaf7408
[test,vendor][s]: add sinon libs as we will need these for testing webstore backend.
2011-11-06 01:13:28 +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