~matsubara/juju-gui/juju-gui-test

  • Committer: Rick Harding
  • Author(s): Richard Harding
  • Date: 2013-06-21 11:04:35 UTC
  • mfrom: (738.1.14 related-charm)
  • Revision ID: rick.harding@canonical.com-20130621110435-khq78hehks4dtdzc
Add support for related charm loading and display

- Adds a new store endpoint for the related charm api call
- Adds the idea of relatedCharms for model ATTRS
- Adds two helpers to take the api response data into something we can use in
the app
- Renders out the related charms in the template in fullscreen as an ajax
request
- Updates the charm details to handle click events on charm tokens 
- Adds tests for the model helpers and the details view
- Updates a bunch of tests. There were left over testing Nodes that caused
stray tests to fail. I fixed those and also went back and cleaned up the stray
test mess.
- Updates the css to work out so that the tokens can fit. There's a
redesign-a-coming so the work was to fit in currently and the redesign will
move the layout at a later date.

Notes:

- This does not currently add the related charm display to the interfaces tab.
It's a slightly different UX and this branch was taking too long as is.

- I'm not happy with the relatedCharms ATTR. It's not really an ATTR but I
wanted this cached into the model because we'll use that when we add related
charms to the interfaces tab. We don't want to re-request the data. However,
in sidebar move it will not have been requested yet. My plan is to re-evaluate
and possibly refactor when doing the interfaces tab display.

R=
CC=
https://codereview.appspot.com/10416044
Filename Latest Rev Last Changed Committer Comment Size
..
app 6 11 years ago kapil.foss at gmail reshape Diff
archives 105.1.1 11 years ago Gary Poster now with more linting and less lint! Diff
bin 1 11 years ago kapil.foss at gmail initial layout Diff
docs 1 11 years ago kapil.foss at gmail initial layout Diff
lib 43 11 years ago Benjamin Saller test aggrigation works, the matching pattern is *. Diff
test 12 11 years ago Benjamin Saller Includings basic router A simple test setup using Diff
.bzrignore 682.1.2 10 years ago Brad Crittenden added minimal redirecting http_server 393 bytes Diff Download File
.jshintignore 702.2.3 10 years ago Benjamin Saller lint etc 164 bytes Diff Download File
.jshintrc 649.2.8 10 years ago Benjamin Saller lint 7.2 KB Diff Download File
.lbox 419.1.4 11 years ago Gary Poster add .lbox confguration 29 bytes Diff Download File
File .lbox.check 628.1.16 10 years ago Benjamin Saller review feedback 22 bytes Diff Download File
CHANGES.yaml 754 10 years ago Gary Poster Set version back to unreleased. 4.8 KB Diff Download File
config.js 418.2.3 11 years ago Rick Harding Setup the sidebar to work and toggle, but not via 370 bytes Diff Download File
COPYING 667.1.1 10 years ago Gary Poster add license bits 33.7 KB Diff Download File
grunt.js 292.1.1 11 years ago Gary Poster Correct release docs; improve review docs; make al 566 bytes Diff Download File
HACKING 696 10 years ago Benji York Add a websocket log replay utility. Using the uti 14.2 KB Diff Download File
Makefile 743.2.4 10 years ago Nicola Larosa Fixes per reviews. 24.9 KB Diff Download File
manifest.json 82.5.6 11 years ago Francesco Banconi Merged trunk, resolved conflicts. 377 bytes Diff Download File
npm-shrinkwrap.json 533.4.5 11 years ago Nicola Larosa Add the generated npm-shrinkwrap.json file, add do 28.9 KB Diff Download File
package.json 533.4.8 11 years ago Nicola Larosa Revert most version constraint changes. 759 bytes Diff Download File
README 357.1.3 11 years ago Nicola Larosa Improve Makefile targets, link the code doc from t 1.8 KB Diff Download File
recess.json 304.5.3 11 years ago Matthew Scott Plugging recess into generateTemplates 124 bytes Diff Download File
File server.js 667.1.2 10 years ago Gary Poster compress copyright statement 1.1 KB Diff Download File
File test-server.js 667.1.2 10 years ago Gary Poster compress copyright statement 1.6 KB Diff Download File
File test-server.sh 702.2.4 10 years ago Benjamin Saller review feedback, better docs 242 bytes Diff Download File
undocumented 702.2.11 10 years ago Benjamin Saller final review feedback 8.3 KB Diff Download File