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

Issue 11348043: Add support for icons using new api endpoint.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by rharding
Modified:
10 years, 10 months ago
Reviewers:
mp+175019, matthew.scott, gary.poster
Visibility:
Public.

Description

Add support for icons using new api endpoint. - The charmworld backend will determine logic for icon display - Change the file helper to an icon helper and update to fetch that in all icon locations - Update tests for the new helper - Move the mock logic for that helpers into the module itself since it's responsible for it. A little hacky, but nicer than repeating the code 10x in any test that might output a charm icon link. Note: this cannot land until the charmworld changes that add the api lands. This is qa'd against the branch of charmworld to verify it works. https://code.launchpad.net/~rharding/juju-gui/use-icon-api/+merge/175019 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Add support for icons using new api endpoint. #

Patch Set 3 : Add support for icons using new api endpoint. #

Patch Set 4 : Add support for icons using new api endpoint. #

Total comments: 1

Patch Set 5 : Add support for icons using new api endpoint. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -173 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M app/models/charm.js View 1 2 3 2 chunks +0 lines, -26 lines 0 comments Download
M app/store/charm.js View 1 chunk +18 lines, -0 lines 0 comments Download
M app/subapps/browser/browser.js View 1 chunk +4 lines, -3 lines 0 comments Download
M app/subapps/browser/templates/browser_charm.handlebars View 1 2 3 1 chunk +1 line, -12 lines 0 comments Download
M app/templates/charm-token.handlebars View 1 2 3 1 chunk +3 lines, -24 lines 0 comments Download
M app/widgets/charm-token.js View 1 2 3 4 2 chunks +1 line, -10 lines 0 comments Download
M test/index.html View 1 chunk +0 lines, -1 line 0 comments Download
M test/test_browser_charm_details.js View 1 2 3 4 4 chunks +6 lines, -26 lines 0 comments Download
M test/test_browser_editorial.js View 1 2 3 4 3 chunks +8 lines, -13 lines 0 comments Download
M test/test_browser_search_view.js View 1 2 3 4 3 chunks +8 lines, -11 lines 0 comments Download
M test/test_charm_container.js View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download
M test/test_charm_store.js View 2 chunks +13 lines, -1 line 0 comments Download
M test/test_charm_token.js View 1 2 3 4 3 chunks +8 lines, -41 lines 0 comments Download
M test/test_charm_token_drag_and_drop.js View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download
M test/test_charm_view.js View 1 2 3 4 3 chunks +7 lines, -2 lines 0 comments Download
M test/test_service_module.js View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M test/utils.js View 1 2 3 4 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 7
rharding
Please take a look.
10 years, 10 months ago (2013-07-16 13:57:43 UTC) #1
rharding
Please take a look.
10 years, 10 months ago (2013-07-16 14:04:08 UTC) #2
rharding
Please take a look.
10 years, 10 months ago (2013-07-16 14:08:19 UTC) #3
matthew.scott
LGTM, thanks
10 years, 10 months ago (2013-07-16 14:34:29 UTC) #4
rharding
Please take a look.
10 years, 10 months ago (2013-07-16 17:03:50 UTC) #5
gary.poster
LGTM with removal of test helpers in app code per discussion. https://codereview.appspot.com/11348043/diff/12001/app/subapps/browser/views/charm.js File app/subapps/browser/views/charm.js (right): ...
10 years, 10 months ago (2013-07-16 17:50:10 UTC) #6
rharding
10 years, 10 months ago (2013-07-16 19:09:14 UTC) #7
Please take a look.
Sign in to reply to this message.

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