basho/riak_control — pull request #37 by cmeiklejohn (2012-08-15 21:02:48+00:00)
Title: Convert to Ember.js.

First, let me apologize for the massive size of this pull request. I explored breaking this apart into a bunch of smaller commits, but it was going to be too difficult as the introduction of the Ember router forced a bunch of changes across the entire application.

Outline of the changes in this pull request:

* Add a set of rebar plugins to be used when compiling the application to concatenate JavaScript files and compile Handlebars templates.
* Upgrade jQuery; add Ember.js, Handlebars and Minispade.
* Deprecate pjax.
* Introduce the router for routing page requests.
* Convert the Ring and Snapshot pages over to Ember MVC.
* Use legacy action pub/sub code to keep cluster page functioning for the time being as it's being deprecated.
* Implement new webmachine modules for providing more RESTful resources which no longer return unnecessary data.
* Use ember-data to load cluster and partition information, convert snapshot page to derive state of cluster rather than use an additional 3rd endpoint for this information.
* Back button support, filters and pagination now have URL's /ring/filter/node/dev1@127.0.0.1/page/2, for instance.

Outstanding issues:

* Sidebar is not properly collapsing, @jgnewman maybe you could take a look at this?

As we do not have automated tests for any of the visual states, we need to pretty extensively test this before merging.

@jgnewman