2634 Commits

Author SHA1 Message Date
Rufus Pollock
afc948295e [js][xs]: remove src/recline.js (long deprecated and completely commented out). 2012-01-26 14:58:55 +00:00
Rufus Pollock
da43c7ef4f Merge branch 'master' into gh-pages 2012-01-26 14:57:21 +00:00
Rufus Pollock
b3664e5912 [doc][m]: rework home page adding significant content.
* Features
* History
* Put in Bootstrap topbar and Github fork me
2012-01-26 12:04:37 +00:00
Rufus Pollock
76b05eb846 [#31,backends][m]: add BackendDataProxy, fixes #31. 2012-01-26 11:07:27 +00:00
Rufus Pollock
c6946c2d6d [costco-csv-worker][xs]: comment out importScripts('lib/underscore.js') since does not work in normal JS. 2012-01-26 10:58:06 +00:00
Rufus Pollock
1f309a72f3 [vendor][s]: clear out unused vendor libraries (couch2, microevent, sammy).
* traverse and hotkeys also are not currently used but they may be used again in future so left in.
2012-01-23 10:01:33 +00:00
Rufus Pollock
32a74949cc [vendor][s]: remove deps-min.js and explicitly linked to required vendor libraries.
* Why: it is then explicitly clear in demos what vendor libs are needed and make its easier to use those demos as a template for integration elsewhere.
2012-01-23 10:01:05 +00:00
Rufus Pollock
3cff385397 [readme][xs]: link to demo. 2012-01-20 13:19:21 +00:00
Rufus Pollock
509bdf0816 Merge branch 'master' into gh-pages 2012-01-15 19:07:45 +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
a369c63812 [#8,Webstore][xs]: respect numDocs constraint in getDocuments. 2012-01-15 19:05:06 +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
9635bf8745 Merge branch 'master' into gh-pages 2012-01-11 12:23:48 +00:00
Rufus Pollock
04279b0150 [#22][s]: refactor notification to use Bootstrap alerts. 2012-01-11 12:22:59 +00:00
Rufus Pollock
b5593e45dc [#22][xs]: move demo/newtheme.html to demo/index.html and old index.html to origina.html. 2012-01-11 08:39:12 +00:00
Rufus Pollock
dfae2ca750 [#22,theme][s]: bootstrap-ify edit and transform forms a little. 2012-01-11 08:36:41 +00:00
Rufus Pollock
dec04dca64 [css,graph][xs]: remove border on editor area on graph. 2012-01-10 18:37:01 +00:00
Rufus Pollock
405582d4e6 [css,graph][xs]: fix up sizing of legend boxes on graph. 2012-01-10 18:33:56 +00:00
Rufus Pollock
2372b2ba37 [fix,#19][xs]: show doc count again (lost in penultimate commit). 2012-01-10 18:33:16 +00:00
Rufus Pollock
e1f2ebf89f [#19,routing][m]: graph view now supports saving and loading config from hash query string. 2012-01-10 18:26:19 +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
973e59fbdd [view/DataExplorer][xs]: micro rename of event function. 2012-01-09 19:20:33 +00:00
Rufus Pollock
9c5109381d [graph][s]: flot graph editor help show/hide functional again. 2012-01-09 19:02:08 +00:00
Rufus Pollock
07a324cc2d [graph][s]: add and remove series now working on flot graph view. 2012-01-09 18:52:11 +00:00
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
69e020254e [doc][s]: update project home page in minor ways. 2012-01-05 16:39:20 +00:00
Rufus Pollock
e57340fa56 Merge branch 'master' into gh-pages 2012-01-05 16:11:07 +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