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

Issue 8080043: Adds charm container widget.

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

Description

Adds charm container widget. -Adds a new widget, CharmContainer. CharmContainer accepts CharmSmall widgets as children. It has a set cutoff which is the maximum number of items it will intially show, and an expander action that shows/hides the remaining items. It can be named, and is meant to be used to loosely categorize a group of charms, e.g. "Popular", "New". https://code.launchpad.net/~jcsackett/juju-gui/charm-container/+merge/155955 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 20

Patch Set 2 : Adds charm container widget. #

Total comments: 14

Patch Set 3 : Adds charm container widget. #

Patch Set 4 : Adds charm container widget. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+327 lines, -6 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M app/modules-debug.js View 1 chunk +4 lines, -0 lines 0 comments Download
A app/templates/charm-container.handlebars View 1 chunk +6 lines, -0 lines 0 comments Download
A app/widgets/charm-container.js View 1 2 1 chunk +178 lines, -0 lines 0 comments Download
M app/widgets/charm-small.js View 2 chunks +3 lines, -2 lines 0 comments Download
A lib/views/browser/charm-container.less View 1 chunk +5 lines, -0 lines 0 comments Download
M lib/views/browser/charm-small.less View 1 1 chunk +10 lines, -4 lines 0 comments Download
M lib/views/stylesheet.less View 1 chunk +1 line, -0 lines 0 comments Download
M test/index.html View 1 chunk +1 line, -0 lines 0 comments Download
A test/test_charm_container.js View 1 2 1 chunk +117 lines, -0 lines 0 comments Download

Messages

Total messages: 10
j.c.sackett
Please take a look.
12 years, 11 months ago (2013-03-28 13:04:24 UTC) #1
jeff.pihach
Thanks for this! I have just a few minor improvements listed below. https://codereview.appspot.com/8080043/diff/1/app/widgets/charm-container.js File app/widgets/charm-container.js ...
12 years, 11 months ago (2013-03-28 15:20:09 UTC) #2
j.c.sackett
Thanks for comments; I've made most of those fixes, but have some questions about others. ...
12 years, 11 months ago (2013-03-28 16:34:19 UTC) #3
j.c.sackett
Please take a look.
12 years, 11 months ago (2013-03-28 16:57:42 UTC) #4
jeff.pihach
LGTM - Thanks for making those changes :)
12 years, 11 months ago (2013-03-28 17:02:51 UTC) #5
rharding
lgtm but I'd like to make sure we square away _events as a ATTR before ...
12 years, 11 months ago (2013-03-28 17:24:16 UTC) #6
j.c.sackett
Replied to your comments; changes coming. https://codereview.appspot.com/8080043/diff/7001/app/widgets/charm-container.js File app/widgets/charm-container.js (right): https://codereview.appspot.com/8080043/diff/7001/app/widgets/charm-container.js#newcode74 app/widgets/charm-container.js:74: var visible = ...
12 years, 11 months ago (2013-03-28 17:40:16 UTC) #7
j.c.sackett
Please take a look.
12 years, 11 months ago (2013-03-28 20:17:18 UTC) #8
rharding
LGTM thanks for working through it today.
12 years, 11 months ago (2013-03-28 20:23:29 UTC) #9
j.c.sackett
12 years, 11 months ago (2013-03-28 20:34:15 UTC) #10
*** Submitted:

Adds charm container widget.

-Adds a new widget, CharmContainer. CharmContainer accepts CharmSmall widgets
as children. It has a set cutoff which is the maximum number of items it will
intially show, and an expander action that shows/hides the remaining items. It
can be named, and is meant to be used to loosely categorize a group of charms,
e.g. "Popular", "New".

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

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