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

Issue 11224044: Add a home link to the search widget.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by rharding
Modified:
10 years, 9 months ago
Reviewers:
benjamin.saller, j.c.sackett, mp+174482, gary.poster
Visibility:
Public.

Description

Add a home link to the search widget. - Adds the buttons and UI for the home link. - Updates the search widget to listen/fire events for that click - Updates the viewNavigate to handle requests to clear/replace the current set of search filters. https://code.launchpad.net/~rharding/juju-gui/home-link/+merge/174482 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Add a home link to the search widget. #

Total comments: 3

Patch Set 3 : Add a home link to the search widget. #

Total comments: 3

Patch Set 4 : Add a home link to the search widget. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -22 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A app/assets/images/home-icon.png View 0 chunks +-1 lines, --1 lines 0 comments Download
A app/assets/images/home-icon-hover.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M app/models/browser.js View 2 chunks +2 lines, -2 lines 0 comments Download
M app/subapps/browser/browser.js View 1 chunk +11 lines, -1 line 0 comments Download
M app/subapps/browser/templates/browser_charm.handlebars View 1 2 2 chunks +1 line, -10 lines 0 comments Download
M app/subapps/browser/views/editorial.js View 1 chunk +4 lines, -1 line 0 comments Download
M app/subapps/browser/views/view.js View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M app/templates/browser-search.handlebars View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M app/widgets/charm-search.js View 1 2 3 6 chunks +46 lines, -1 line 0 comments Download
M lib/views/browser/bws-searchbox.less View 1 chunk +14 lines, -0 lines 0 comments Download
M lib/views/browser/editorial.less View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M lib/views/browser/main.less View 1 2 3 chunks +8 lines, -2 lines 0 comments Download
M lib/views/browser/vars.less View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/test_browser_app.js View 1 3 chunks +73 lines, -0 lines 0 comments Download
M test/test_browser_editorial.js View 1 1 chunk +1 line, -0 lines 0 comments Download
M test/test_browser_search_widget.js View 1 2 2 chunks +20 lines, -6 lines 0 comments Download

Messages

Total messages: 9
rharding
Please take a look.
10 years, 9 months ago (2013-07-12 19:23:28 UTC) #1
benjamin.saller
Locally clicking the home icon seems to work but clicking the home link text does ...
10 years, 9 months ago (2013-07-12 19:39:45 UTC) #2
j.c.sackett
I have a few comments. https://codereview.appspot.com/11224044/diff/3001/app/templates/browser-search.handlebars File app/templates/browser-search.handlebars (right): https://codereview.appspot.com/11224044/diff/3001/app/templates/browser-search.handlebars#newcode6 app/templates/browser-search.handlebars:6: </div> Extra spaces in ...
10 years, 9 months ago (2013-07-12 19:47:18 UTC) #3
rharding
Please take a look.
10 years, 9 months ago (2013-07-12 20:43:24 UTC) #4
j.c.sackett
LGTM. Thanks.
10 years, 9 months ago (2013-07-12 20:58:10 UTC) #5
gary.poster
LGTM. qa good. Really want the Home to disappear on the main sidebar page. Critical ...
10 years, 9 months ago (2013-07-12 21:24:04 UTC) #6
benjamin.saller
LGTM, did have the trivial below though https://codereview.appspot.com/11224044/diff/6002/app/widgets/charm-search.js File app/widgets/charm-search.js (right): https://codereview.appspot.com/11224044/diff/6002/app/widgets/charm-search.js#newcode160 app/widgets/charm-search.js:160: ev.target.addClass('home-icon'); I'd ...
10 years, 9 months ago (2013-07-12 21:27:17 UTC) #7
rharding
Replies below https://codereview.appspot.com/11224044/diff/6002/app/widgets/charm-search.js File app/widgets/charm-search.js (right): https://codereview.appspot.com/11224044/diff/6002/app/widgets/charm-search.js#newcode160 app/widgets/charm-search.js:160: ev.target.addClass('home-icon'); On 2013/07/12 21:27:17, benjamin.saller wrote: > ...
10 years, 9 months ago (2013-07-12 21:54:09 UTC) #8
rharding
10 years, 9 months ago (2013-07-12 21:58:58 UTC) #9
*** Submitted:

Add a home link to the search widget.

- Adds the buttons and UI for the home link.
- Updates the search widget to listen/fire events for that click
- Updates the viewNavigate to handle requests to clear/replace the current set
of search filters.

R=benjamin.saller, j.c.sackett, gary.poster
CC=
https://codereview.appspot.com/11224044
Sign in to reply to this message.

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