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

Issue 13413045: Show 5 downgrades, then expand link

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by matthew.scott
Modified:
10 years, 8 months ago
Reviewers:
mp+184865, benjamin.saller
Visibility:
Public.

Description

Show 5 downgrades, then expand link Per UX, this branch shows 5 downgrades with an expand link in the case of not having an upgrade available, rather than all downgrades at once. https://code.launchpad.net/~makyo/juju-gui/5-upgrades/+merge/184865 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -30 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/viewlets/service-overview.js View 2 chunks +22 lines, -12 lines 1 comment Download
M test/test_inspector_overview.js View 8 chunks +19 lines, -18 lines 0 comments Download

Messages

Total messages: 2
matthew.scott
Please take a look.
10 years, 8 months ago (2013-09-10 19:51:01 UTC) #1
benjamin.saller
10 years, 8 months ago (2013-09-10 21:11:46 UTC) #2
Code LGTM, didn't QA

https://codereview.appspot.com/13413045/diff/1/app/views/viewlets/service-ove...
File app/views/viewlets/service-overview.js (right):

https://codereview.appspot.com/13413045/diff/1/app/views/viewlets/service-ove...
app/views/viewlets/service-overview.js:279: return
d.downgrades.slice(d.upgradeAvailable ? 0 : 5);
The number 5 occurs enough places here that you might want to define it a single
place.
Sign in to reply to this message.

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