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

Issue 12545044: Removes autocomplete feature flag, updates design

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by rharding
Modified:
12 years, 6 months ago
Reviewers:
mp+179440, j.c.sackett, benjamin.saller
Visibility:
Public.

Description

Removes autocomplete feature flag, updates design - Updates the CSS to more closely match the UX visual: https://drive.google.com/a/canonical.com/?pli=1#folders/0B7XG_QBXNwY1ZmdTTDdTZEdFOGM Addresses notes from initial UX feedback, see the following: - Spacing, font size, and horizontal lines need to be adjusted. - Particularly notice the darker line between categories and charms (search for "ap" to see what I mean). - Please remove the "recommended" star. All autocomplete charm results are recommended, so it is unnecessary. This required adjusting how the results were rendered and we add additional css classes on the tokens displayed to help the css find the last category result (for the longer bolder line), and for telling categories from charms. Tests were refactored to place heavier functional tests in their own suite so that they could have standardized setup/teardown that was more costly than most of the basic tests. Also added tests for the css generation mentioned above. Please QA: instructions - Load the sidebar, search for a result. The best current example is 'a' as that pulls in two categories and several results. Check for the design spacing and borders. Note that the last result will not have a border on the bottom. - Try the same in fullscreen - Search, click, search some more. Anything that doesn't behave or look correct please bring up. This removes the feature flag and provides autocomplete to all users ootb. https://code.launchpad.net/~rharding/juju-gui/ac4/+merge/179440 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removes autocomplete feature flag, updates design #

Patch Set 3 : Removes autocomplete feature flag, updates design #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -112 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/store/charm.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M app/widgets/charm-search.js View 2 chunks +38 lines, -5 lines 0 comments Download
M lib/views/browser/bws-searchbox.less View 1 2 2 chunks +64 lines, -1 line 0 comments Download
M lib/views/browser/charm-token.less View 1 1 chunk +0 lines, -19 lines 0 comments Download
M lib/views/typography.less View 1 1 chunk +6 lines, -0 lines 0 comments Download
M test/test_browser_search_widget.js View 7 chunks +137 lines, -84 lines 0 comments Download
M test/test_charm_store.js View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5
rharding
Please take a look.
12 years, 6 months ago (2013-08-09 13:41:35 UTC) #1
j.c.sackett
LGTM. \o/ This looks good! Code wise, minor comments below. QA is ok, with the ...
12 years, 6 months ago (2013-08-09 14:05:42 UTC) #2
rharding
Please take a look.
12 years, 6 months ago (2013-08-09 14:36:04 UTC) #3
benjamin.saller
Code LGTM, thanks
12 years, 6 months ago (2013-08-09 17:08:43 UTC) #4
rharding
12 years, 6 months ago (2013-08-12 19:06:53 UTC) #5
*** Submitted:

Removes autocomplete feature flag, updates design

- Updates the CSS to more closely match the UX visual:
https://drive.google.com/a/canonical.com/?pli=1#folders/0B7XG_QBXNwY1ZmdTTDdT...

Addresses notes from initial UX feedback, see the following:
- Spacing, font size, and horizontal lines need to be adjusted.
- Particularly notice the darker line between categories and charms
(search for "ap" to see what I mean).
- Please remove the "recommended" star.  All autocomplete charm results
are recommended, so it is unnecessary.

This required adjusting how the results were rendered and we add additional
css classes on the tokens displayed to help the css find the last category
result (for the longer bolder line), and for telling categories from charms.

Tests were refactored to place heavier functional tests in their own suite so
that they could have standardized setup/teardown that was more costly than
most of the basic tests. Also added tests for the css generation mentioned
above.

Please QA: instructions

- Load the sidebar, search for a result. The best current example is 'a' as
that pulls in two categories and several results. Check for the design spacing
and borders. Note that the last result will not have a border on the bottom.
- Try the same in fullscreen
- Search, click, search some more. Anything that doesn't behave or look
correct please bring up. This removes the feature flag and provides
autocomplete to all users ootb.

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

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