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

Issue 9964044: Fixes black bar on fullscreen charmdetails

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

Description

Fixes black bar on fullscreen charmdetails The error was happening b/c charmdetails was reloading multiple times, which broke its render state. The multiple reloads were from _stripViewMode returning "/series/charmname-revno" or "series/charmname-revno", depending on inputs. -_stripViewMode now always removes the preceding slash on the charmID -_stripViewMode is now tested for all paths it can receive https://code.launchpad.net/~jcsackett/juju-gui/black-bar-of-horrible/+merge/167595 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Fixes black bar on fullscreen charmdetails #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -2 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/subapps/browser/browser.js View 1 chunk +1 line, -1 line 0 comments Download
M app/subapps/browser/views/charm.js View 1 chunk +1 line, -1 line 0 comments Download
M test/test_browser_app.js View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 4
j.c.sackett
Please take a look.
10 years, 10 months ago (2013-06-05 16:34:29 UTC) #1
rharding
LGTM thanks for the update.
10 years, 10 months ago (2013-06-05 16:53:57 UTC) #2
jeff.pihach
LGTM Thanks for this fix!
10 years, 10 months ago (2013-06-05 17:21:52 UTC) #3
j.c.sackett
10 years, 10 months ago (2013-06-05 17:36:09 UTC) #4
*** Submitted:

Fixes black bar on fullscreen charmdetails

The error was happening b/c charmdetails was reloading multiple times, which
broke its render state. The multiple reloads were from _stripViewMode
returning "/series/charmname-revno" or "series/charmname-revno", depending on
inputs.
-_stripViewMode now always removes the preceding slash on the charmID
-_stripViewMode is now tested for all paths it can receive

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

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