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

Issue 7947045: Add editorial request for browser sidebar.

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

Description

Add editorial request for browser sidebar. - Add a new cfg for the charmworld host. Currently the staging server. - Update the Charm model to be friendly to reusing and work on a model that extends it to start work on mapping Charmworld API0 data model. - Add a new store that is the Charmworld0 Api with the first function to call the sidebar_editorial data. - Make sure the App passes in the db to the subapp which passes it to the view. - Update the sidebar view to display the slider widget for chosen charms. - Update the sidebar to use charm-small to display 'new' charms from editorial content. https://code.launchpad.net/~rharding/juju-gui/sidebar_editorial/+merge/154158 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Add editorial request for browser sidebar. #

Total comments: 24

Patch Set 3 : Add editorial request for browser sidebar. #

Total comments: 1

Patch Set 4 : Add editorial request for browser sidebar. #

Patch Set 5 : Add editorial request for browser sidebar. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+580 lines, -97 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M app/app.js View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M app/config-debug.js View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M app/config-prod.js View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M app/models/charm.js View 1 2 3 4 9 chunks +181 lines, -42 lines 0 comments Download
M app/store/charm.js View 1 2 2 chunks +127 lines, -2 lines 0 comments Download
M app/subapps/browser/browser.js View 5 chunks +16 lines, -5 lines 0 comments Download
M app/subapps/browser/templates/sidebar.handlebars View 1 chunk +6 lines, -1 line 0 comments Download
M app/subapps/browser/views/sidebar.js View 1 2 3 5 chunks +123 lines, -13 lines 0 comments Download
M app/templates/charm-small-widget.handlebars View 1 chunk +1 line, -1 line 0 comments Download
M app/widgets/charm-slider.js View 1 chunk +1 line, -0 lines 0 comments Download
M app/widgets/charm-small.js View 1 chunk +1 line, -1 line 0 comments Download
M test/test_browser_app.js View 1 2 3 4 chunks +28 lines, -6 lines 0 comments Download
M test/test_charm_small_widget.js View 2 chunks +2 lines, -2 lines 0 comments Download
M test/test_charm_store.js View 1 2 12 chunks +83 lines, -24 lines 0 comments Download

Messages

Total messages: 11
rharding
Please take a look.
11 years, 1 month ago (2013-03-21 20:38:02 UTC) #1
rharding
Please take a look.
11 years, 1 month ago (2013-03-21 20:43:39 UTC) #2
j.c.sackett
A few comments, but LGTM. https://codereview.appspot.com/7947045/diff/3001/app/app.js File app/app.js (right): https://codereview.appspot.com/7947045/diff/3001/app/app.js#newcode241 app/app.js:241: cfg = cfg || ...
11 years, 1 month ago (2013-03-21 21:09:22 UTC) #3
jeff.pihach
Thanks for the work! I have a few small improvements, a few trivial comments below ...
11 years, 1 month ago (2013-03-21 21:54:50 UTC) #4
rharding
On 2013/03/21 21:09:22, j.c.sackett wrote: > A few comments, but LGTM. > > https://codereview.appspot.com/7947045/diff/3001/app/app.js > ...
11 years, 1 month ago (2013-03-22 12:46:13 UTC) #5
rharding
Comments below, updated code coming along in a second. https://codereview.appspot.com/7947045/diff/3001/app/models/charm.js File app/models/charm.js (right): https://codereview.appspot.com/7947045/diff/3001/app/models/charm.js#newcode399 app/models/charm.js:399: ...
11 years, 1 month ago (2013-03-22 13:08:27 UTC) #6
rharding
Please take a look.
11 years, 1 month ago (2013-03-22 13:12:47 UTC) #7
j.c.sackett
On 2013/03/22 12:46:13, rharding wrote: > On 2013/03/21 21:09:22, j.c.sackett wrote: > > https://codereview.appspot.com/7947045/diff/3001/app/app.js#newcode241 > ...
11 years, 1 month ago (2013-03-22 13:19:01 UTC) #8
j.c.sackett
LGTM, with one super nitpicky comment. https://codereview.appspot.com/7947045/diff/14001/app/config-debug.js File app/config-debug.js (right): https://codereview.appspot.com/7947045/diff/14001/app/config-debug.js#newcode15 app/config-debug.js:15: charmworldUrl: 'http://staging.jujucharms.com', This ...
11 years, 1 month ago (2013-03-22 13:24:59 UTC) #9
jeff.pihach
LGTM Thanks for making those changes!
11 years, 1 month ago (2013-03-22 14:18:35 UTC) #10
rharding
11 years, 1 month ago (2013-03-22 14:31:41 UTC) #11
*** Submitted:

Add editorial request for browser sidebar.

- Add a new cfg for the charmworld host. Currently the staging server.
- Update the Charm model to be friendly to reusing and work on a model that
extends it to start work on mapping Charmworld API0 data model.
- Add a new store that is the Charmworld0 Api with the first function to call
the sidebar_editorial data.
- Make sure the App passes in the db to the subapp which passes it to the
view.
- Update the sidebar view to display the slider widget for chosen charms.
- Update the sidebar to use charm-small to display 'new' charms from editorial
content.

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

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