Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(288)

Issue 11831043: Updates charm view to use Charm model.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by j.c.sackett
Modified:
10 years, 9 months ago
Reviewers:
jeff.pihach, matthew.scott, mp+176938
Visibility:
Public.

Description

Updates charm view to use Charm model. To make it easier to clean up and phase out the old API, the charm views (which have previously worked on parsed JSON) are updated to use the Charm model and the old API. This makes it much easier to translate to the new API, and further down the road, the BrowserCharm model. -Charm view uses Charm model and loadByPath -CharmCollection view, which appears to be unused now that the old search is gone, is deleted. https://code.launchpad.net/~jcsackett/juju-gui/use-models-everywhere/+merge/176938 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Updates charm view to use Charm model. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -277 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M app/app.js View 3 chunks +1 line, -21 lines 0 comments Download
M app/views/charm.js View 7 chunks +23 lines, -97 lines 0 comments Download
M test/index.html View 1 chunk +0 lines, -1 line 0 comments Download
D test/test_charm_collection_view.js View 1 chunk +0 lines, -155 lines 0 comments Download
M test/test_charm_view.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/test_subapp_app_extension.js View 1 chunk +0 lines, -1 line 0 comments Download
M undocumented View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 4
j.c.sackett
Please take a look.
10 years, 9 months ago (2013-07-25 13:36:44 UTC) #1
matthew.scott
LGTM, thanks!
10 years, 9 months ago (2013-07-25 14:22:55 UTC) #2
jeff.pihach
LGTM lookin good!
10 years, 9 months ago (2013-07-25 14:26:34 UTC) #3
j.c.sackett
10 years, 9 months ago (2013-07-25 14:41:04 UTC) #4
*** Submitted:

Updates charm view to use Charm model.

To make it easier to clean up and phase out the old API, the charm views (which
have previously worked on parsed JSON) are updated to use the Charm model and
the old API. This makes it much easier to translate to the new API, and further
down the road, the BrowserCharm model.
-Charm view uses Charm model and loadByPath
-CharmCollection view, which appears to be unused now that the old search is
gone, is deleted.

R=matthew.scott, jeff.pihach
CC=
https://codereview.appspot.com/11831043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b