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

Issue 8356044: Enable BrowserCharmView to render in sidebar too.

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

Description

Enable BrowserCharmView to render in sidebar too. - Step #1 to getting the sidebar working. Followups will hook into clicking on charms to open. Currently only direct url-able. - Pull shared code to the MainView - Adjust the sidebar render to render BrowserCharmView when you hit direct urls for it - Add the routes/callables for the /sidebar/charmid https://code.launchpad.net/~rharding/juju-gui/charm_sidebar/+merge/157198 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : Enable BrowserCharmView to render in sidebar too. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -113 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/subapps/browser/browser.js View 1 4 chunks +34 lines, -3 lines 0 comments Download
M app/subapps/browser/templates/sidebar.handlebars View 2 chunks +6 lines, -6 lines 0 comments Download
M app/subapps/browser/views/fullscreen.js View 3 chunks +1 line, -83 lines 0 comments Download
M app/subapps/browser/views/sidebar.js View 3 chunks +8 lines, -19 lines 0 comments Download
M app/subapps/browser/views/view.js View 3 chunks +74 lines, -1 line 0 comments Download
M lib/views/browser/main.less View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 5
rharding
Please take a look.
11 years ago (2013-04-04 18:39:31 UTC) #1
jeff.pihach
LGTM one question below that if it's covered then good to land. https://codereview.appspot.com/8356044/diff/1/app/subapps/browser/views/view.js File app/subapps/browser/views/view.js ...
11 years ago (2013-04-04 18:54:25 UTC) #2
rharding
Reply below. https://codereview.appspot.com/8356044/diff/1/app/subapps/browser/views/view.js File app/subapps/browser/views/view.js (right): https://codereview.appspot.com/8356044/diff/1/app/subapps/browser/views/view.js#newcode107 app/subapps/browser/views/view.js:107: var charmView = new ns.BrowserCharmView({ On 2013/04/04 ...
11 years ago (2013-04-04 18:56:32 UTC) #3
bac
LGTM with trivial changes. Thanks Rick. https://codereview.appspot.com/8356044/diff/1/app/subapps/browser/browser.js File app/subapps/browser/browser.js (right): https://codereview.appspot.com/8356044/diff/1/app/subapps/browser/browser.js#newcode150 app/subapps/browser/browser.js:150: * I think ...
11 years ago (2013-04-04 19:06:20 UTC) #4
rharding
11 years ago (2013-04-04 19:20:09 UTC) #5
*** Submitted:

Enable BrowserCharmView to render in sidebar too.

- Step #1 to getting the sidebar working. Followups will hook into clicking on
charms to open. Currently only direct url-able.
- Pull shared code to the MainView
- Adjust the sidebar render to render BrowserCharmView when you hit direct
urls for it
- Add the routes/callables for the /sidebar/charmid

R=jeff.pihach, bac
CC=
https://codereview.appspot.com/8356044
Sign in to reply to this message.

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