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

Issue 8920043: Fixes #1167514 and #1171529 charm token display

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by rharding
Modified:
11 years ago
Reviewers:
j.c.sackett, jeff.pihach, mp+160392
Visibility:
Public.

Description

Fixes #1167514 and #1171529 charm token display - Hack the charm-token widget to not use the BrowserCharm.id to set the node's ID attribute. There's no promise that the tokens are unique on a page of display. - Update the editorial to set the active CSS on selected charms. - Update the subapp to make sure the editorial is rendered with a currently selected charm if the url is actually a /sidebar/charm/id state. https://code.launchpad.net/~rharding/juju-gui/containers-with-id-1167514/+merge/160392 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fixes #1167514 and #1171529 charm token display #

Patch Set 3 : Fixes #1167514 and #1171529 charm token display #

Total comments: 1

Patch Set 4 : Fixes #1167514 and #1171529 charm token display #

Patch Set 5 : Fixes #1167514 and #1171529 charm token display #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -4 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M app/subapps/browser/browser.js View 1 1 chunk +6 lines, -0 lines 0 comments Download
M app/subapps/browser/views/editorial.js View 1 2 3 4 chunks +37 lines, -2 lines 0 comments Download
M app/templates/charm-token.handlebars View 1 chunk +2 lines, -2 lines 0 comments Download
M app/widgets/charm-token.js View 1 2 2 chunks +25 lines, -0 lines 0 comments Download
M test/test_charm_token.js View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9
rharding
Please take a look.
11 years ago (2013-04-23 14:42:19 UTC) #1
rharding
Please take a look.
11 years ago (2013-04-23 16:24:39 UTC) #2
jeff.pihach
LGTM with trivial comments Thanks https://codereview.appspot.com/8920043/diff/1/app/subapps/browser/views/editorial.js File app/subapps/browser/views/editorial.js (right): https://codereview.appspot.com/8920043/diff/1/app/subapps/browser/views/editorial.js#newcode60 app/subapps/browser/views/editorial.js:60: extra \n https://codereview.appspot.com/8920043/diff/1/app/widgets/charm-token.js File ...
11 years ago (2013-04-23 16:24:47 UTC) #3
rharding
Updated. https://codereview.appspot.com/8920043/diff/1/app/widgets/charm-token.js File app/widgets/charm-token.js (right): https://codereview.appspot.com/8920043/diff/1/app/widgets/charm-token.js#newcode29 app/widgets/charm-token.js:29: @param {Node/String} the node to use for the ...
11 years ago (2013-04-23 16:28:52 UTC) #4
rharding
Please take a look.
11 years ago (2013-04-23 16:30:06 UTC) #5
j.c.sackett
https://codereview.appspot.com/8920043/diff/9001/app/subapps/browser/views/editorial.js File app/subapps/browser/views/editorial.js (left): https://codereview.appspot.com/8920043/diff/9001/app/subapps/browser/views/editorial.js#oldcode64 app/subapps/browser/views/editorial.js:64: this._apiFailure(data, request, 'Failed to load sidebar content.'); Is this ...
11 years ago (2013-04-23 16:45:42 UTC) #6
rharding
Please take a look.
11 years ago (2013-04-23 16:54:25 UTC) #7
j.c.sackett
LGTM. Thanks!
11 years ago (2013-04-23 17:18:12 UTC) #8
rharding
11 years ago (2013-04-23 17:30:28 UTC) #9
*** Submitted:

Fixes #1167514 and #1171529 charm token display

- Hack the charm-token widget to not use the BrowserCharm.id to set the node's
ID attribute. There's no promise that the tokens are unique on a page of
display.
- Update the editorial to set the active CSS on selected charms.
- Update the subapp to make sure the editorial is rendered with a currently
selected charm if the url is actually a /sidebar/charm/id state.

R=jeff.pihach, j.c.sackett
CC=
https://codereview.appspot.com/8920043
Sign in to reply to this message.

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