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

Issue 10140047: Check for tab id and load tab in charm details.

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+168570, jeff.pihach, j.c.sackett
Visibility:
Public.

Description

Check for tab id and load tab in charm details. - Make the hash part of the subapp state - Do not reload or redraw the charm details because a different tab was selected - The anchor should update itself in the url as each tab is selected. - Hitting a direct link to a specific charm with the tab id anchor will load the charm details and auto load the tab specified. https://code.launchpad.net/~rharding/juju-gui/direct-2-tab/+merge/168570 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 3

Patch Set 2 : Check for tab id and load tab in charm details. #

Total comments: 1

Patch Set 3 : Check for tab id and load tab in charm details. #

Patch Set 4 : Check for tab id and load tab in charm details. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -2 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 2 3 3 chunks +16 lines, -1 line 0 comments Download
M app/subapps/browser/views/charm.js View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M test/test_browser_charm_details.js View 1 2 3 2 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 8
rharding
Please take a look.
10 years, 10 months ago (2013-06-11 01:05:11 UTC) #1
j.c.sackett
https://codereview.appspot.com/10140047/diff/1/app/subapps/browser/browser.js File app/subapps/browser/browser.js (right): https://codereview.appspot.com/10140047/diff/1/app/subapps/browser/browser.js#newcode424 app/subapps/browser/browser.js:424: } You assign the function var hasChanged (I'm assuming ...
10 years, 10 months ago (2013-06-11 13:31:53 UTC) #2
rharding
Replied https://codereview.appspot.com/10140047/diff/1/app/subapps/browser/browser.js File app/subapps/browser/browser.js (right): https://codereview.appspot.com/10140047/diff/1/app/subapps/browser/browser.js#newcode424 app/subapps/browser/browser.js:424: } On 2013/06/11 13:31:53, j.c.sackett wrote: > You ...
10 years, 10 months ago (2013-06-11 13:47:57 UTC) #3
rharding
Please take a look.
10 years, 10 months ago (2013-06-11 13:51:06 UTC) #4
jeff.pihach
LGTM with an additional test request. https://codereview.appspot.com/10140047/diff/6001/test/test_browser_charm_details.js File test/test_browser_charm_details.js (right): https://codereview.appspot.com/10140047/diff/6001/test/test_browser_charm_details.js#newcode767 test/test_browser_charm_details.js:767: I am wondering ...
10 years, 10 months ago (2013-06-11 14:21:26 UTC) #5
rharding
On 2013/06/11 14:21:26, jeff.pihach wrote: > LGTM with an additional test request. > > https://codereview.appspot.com/10140047/diff/6001/test/test_browser_charm_details.js ...
10 years, 10 months ago (2013-06-11 14:24:21 UTC) #6
j.c.sackett
LGTM. Thanks for the changes.
10 years, 10 months ago (2013-06-11 14:26:16 UTC) #7
rharding
10 years, 10 months ago (2013-06-11 14:50:35 UTC) #8
*** Submitted:

Check for tab id and load tab in charm details.

- Make the hash part of the subapp state
- Do not reload or redraw the charm details because a different tab was
selected
- The anchor should update itself in the url as each tab is selected.
- Hitting a direct link to a specific charm with the tab id anchor will load
the charm details and auto load the tab specified.

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

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