Closed Bug 1026159 Opened 10 years ago Closed 10 years ago

[Rocketbar] Grid UX fixes for search app

Categories

(Firefox OS Graveyard :: Gaia::Search, defect)

x86
macOS
defect
Not set
normal

Tracking

(blocking-b2g:2.0+, b2g-v2.0 fixed, b2g-v2.1 verified)

VERIFIED FIXED
2.1 S1 (1aug)
blocking-b2g 2.0+
Tracking Status
b2g-v2.0 --- fixed
b2g-v2.1 --- verified

People

(Reporter: daleharvey, Assigned: sfoster)

References

Details

(Whiteboard: [systemsfe])

Attachments

(7 files, 11 obsolete files)

46 bytes, text/x-github-pull-request
kgrandon
: review+
Details | Review
1.15 MB, image/jpeg
Details
395.75 KB, image/png
Details
883.53 KB, image/png
Details
223.98 KB, image/png
Details
207.89 KB, image/png
Details
205.67 KB, image/png
Details
No description provided.
Summary: Grid UX fixes for search app → [Rocketbar] Grid UX fixes for search app
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking-]
blocking-b2g: --- → 2.0?
This bug needs to be fixed because currently we're only seeing 1 line of text for search results. Previously we had three lines of text. These longer labels are needed for the search app because third party app results and e.me results tend to be longer. Market place results are pre-faced by "Install" and so the Market place results are pretty unusable right now. I spoke with Kevin and he mentioned that the reason why this hasn't been done is that we need the same rendering on Home screen as in the search app. I think we can compromise to some degree, but we need at least 2 lines showing in the search app. Peter, this might mean that we need 2 lines of text showing in the homescreen if we absolutely must have the same rendering in both the home scree and the search app. Is this something that we can live with?
Flags: needinfo?(pla)
I guess from engineering we would be looking for a spec for both 3 and 4 column layouts with two lines of text. I also wanted to check, and it turns out that the marketplace manifest name field can be up to 128 characters in length. Maybe the user is already familiar enough with installed apps though that they don't need the full title. Though this has been a bit frustrating to me in the past when I book two things, and the title isn't long enough to differentiante, E.g.: Metro Maps - Stop 1 to Stop 2 Metro Maps - Stop 2 to Stop 1 It can be frustrating if both cut off at 'Metro Maps - Stop...', two lines might help that a bit.
One compromise I’d suggest is that we show 1-line text labels for the 3-column layout and 2-line text labels for the 4-column layout. It seems that with the current spacing, there should be enough space to show 2-line text labels for the 4-column layout. What do you think, Peter?
Although the current state is not great, it is not marked by UX as needed and the functionality is not blocked. At this point in the schedule this does not block.
blocking-b2g: 2.0? → -
There is good information here, but we have a more specific bug filed with screenshots in bug 1036845. Let's go ahead and use this bug as it's more specific (and a potential contributor might work on it).
Flags: needinfo?(pla)
Pushing to backlog instead of - This might be a user story for 2.1?
blocking-b2g: - → backlog
Renoming - We need this fix to land for 2.0 because otherwise the search experience and app discovery experience from Market place using the search app will be unusable in many cases. It is also a regression that resulted from the new home screen - in 1.4, the search app provided up to 3 lines of text.
blocking-b2g: backlog → 2.0?
blocking-b2g: 2.0? → 2.0+
To note, this issue affects anything that uses the grid. Collections + homescreen. It's affecting the search more because of the "Install <app name>..."
Make global adjustments to grid item height (+4px) Add override rules for the search grid items to allow line-wrapping and set height/line-height to clip after the 2nd line. As discussed with UX, removed text-shadow in this case where it is less necessary and would otherwise also get clipped. We could invert this if you prefer to make 2-lines the default for the grid items and special case homescreen to 1 line, but this seemed like the smaller change. Note I needed to use !important to override the component's stylesheet rules
Attachment #8458366 - Flags: review?(kgrandon)
Here's how it works out. This overlays the spec pretty much pixel perfect for me. Note the text shadows are gone and and > 3 line labels are neatly clipped at 2 lines.
Attachment #8458369 - Flags: ui-review?(pla)
The way the patch is done, the *only* change that should affect the homescreen grid is the increased item height. I don't think the spec had this change yet for the 3 column home?
Attachment #8458370 - Flags: review?(pla)
The same deal for 4 column homescreen. Again, the only change here should be the increased height (+4px), which just shows up as increased space below the label and between each icon row.
Attachment #8458371 - Flags: ui-review?(pla)
Comment on attachment 8458370 [details] Screenshot: Homescreen with patch applied er, ui-review, not review :)
Attachment #8458370 - Flags: review?(pla) → ui-review?(pla)
Comment on attachment 8458369 [details] Screenshot: search results with 2 line labels Hi Sam, Thanks so much for this. Did you see my updated spec? After working it out with Eric, I sent an email ~5:30pm EST with the update. I tightened up the spacing further so it is actually 10.2 rem row height instead of 10.4 rem row height that you've implemented here. The reason for tightening the spacing is so that the Homescreen 4 column grid doesn't look so sparse while still allowing enough room for the 2 line search results. This works out to a 102px row height on 320x480 screens, and 153px row height on Flame. Here is a link to the final spec: https://mozilla.box.com/s/ifl3nxduco6f0pc9a6yt I will also attach it to this bug.
Attachment #8458369 - Flags: ui-review?(pla) → ui-review-
Final layout with 10.2 rem row spacing.
Comment on attachment 8458370 [details] Screenshot: Homescreen with patch applied Hey Sam, No changes are required for the 3 column, since search results don't use the 3 column layout. I would not submit this change.
Attachment #8458370 - Flags: ui-review?(pla) → ui-review-
Needinfo'ing Kevin in case Sam is out tomorrow due to travel.
Flags: needinfo?(kgrandon)
Comment on attachment 8458371 [details] Screenshot: 4-col homescreen with patch applied Minusing for the same reason as the other 4 column ui-review. See comment 14 for details.
Attachment #8458371 - Flags: ui-review?(pla) → ui-review-
Assignee: nobody → sfoster
Whiteboard: [systemsfe]
Comment on attachment 8458366 [details] [review] Enable 2-line labels in the search results grid Thanks for the patch. Going to clear review for now till we get the ui-review sorted out. I may end up picking this up today to see if we can get it in.
Attachment #8458366 - Flags: review?(kgrandon)
Flags: needinfo?(kgrandon)
Ok I see the 2px. I'll try and update and test the patch on my flight. Basically though it looks like: const distanceBetweenIconsWithMinIconsPerRow = 36; const distanceBetweenIconsWithMaxIconsPerRow = 38; and I think in search.css, I'll end up with: #search-results .icon .title { text-shadow: none!important; height: 3.88rem; white-space: normal!important; line-height: 1.94rem; } I may not be able to resubmit this until Monday, so Kevin if you have time for this before then be my guest. Otherwise I'll pick it up when I'm back.
Flags: needinfo?(kgrandon)
Ok, thanks a lot Sam. If I can get to it or provide a patch to you I will, otherwise I think we can try on Monday.
Flags: needinfo?(kgrandon)
Target Milestone: --- → 2.1 S1 (1aug)
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking-] → [VH-FL-blocking-][VH-FC-blocking+]
Blocks: 1015336
Whiteboard: [systemsfe] → [systemsfe][ETA=7/23]
Attachment #8459705 - Flags: ui-review?(pla)
Attachment #8458369 - Attachment is obsolete: true
Attachment #8458370 - Attachment is obsolete: true
Attachment #8459707 - Flags: ui-review?
Attachment #8459707 - Flags: ui-review? → ui-review?(pla)
Attachment #8458371 - Attachment is obsolete: true
Attachment #8459708 - Flags: ui-review?(pla)
Comment on attachment 8459705 [details] Screenshot: search results with 2 line labels Grid spacing is perfect between icons and the app label spacing is also perfect - no drift when overlayed on the spec. However, all the content below the search input field is a bit too low. I'll attach an image that outlines this in more detail shortly.
Attachment #8459705 - Flags: ui-review?(pla) → ui-review-
Comment on attachment 8459707 [details] Screenshot: 3 col homescreen with patch applied Icons appear to be larger than before and this is causing the rest of the layout to be off a little. Will attach a jpg showing the discrepancies.
Attachment #8459707 - Flags: ui-review?(pla) → ui-review-
Comment on attachment 8459708 [details] Screenshot: 4-col homescreen with patch applied Almost there, but some slight differences. Will upload a jpg to outline discrepancies.
Attachment #8459708 - Flags: ui-review?(pla) → ui-review-
Attached image Search Results discrepancies (obsolete) —
Attached image 3 Column Grid discrepancies (obsolete) —
I'm not going to try to describe every problem here as I think it would be difficult and too confusing anyway. The first step is just to make sure the icons aren't larger than they used to be. Right now they look to be about 129-130px when scaled up to Flame res - they should be at 126px.
Attached image 4 Column Grid discrepancies (obsolete) —
320 wide version of search results spec for easy comparison
320 wide version of homescreen grid spec for easy comparison
Thanks for the 320w spec, that helped a lot to get this lined up.
Attachment #8459705 - Attachment is obsolete: true
Attachment #8459802 - Flags: ui-review?(pla)
Attachment #8459707 - Attachment is obsolete: true
Attachment #8459708 - Attachment is obsolete: true
Attachment #8459730 - Attachment is obsolete: true
Attachment #8459731 - Attachment is obsolete: true
Attachment #8459733 - Attachment is obsolete: true
Attachment #8459806 - Flags: ui-review?(pla)
Comment on attachment 8459804 [details] Screenshot: 3 col homescreen with patch applied Btw the icon size I think was just an artifact of me taking the screenshot while i was mid-transition. I have this lined up on top of the spec and it looks bang-on to me now.
Attachment #8459804 - Flags: ui-review?(pla)
Comment on attachment 8458366 [details] [review] Enable 2-line labels in the search results grid Here's a pre-emptive R+ once the ui-review passes. The !important declarations really make me sad though =( Is there no way to avoid them?
Attachment #8458366 - Flags: review+
Kevin, I updated the PR which hadn't changed much while Peter and I went back and forth on the ui review. Other than the little spacing tweaks in the icon titles, the main changes are adjusting spacing between the listings and search box - which touches both the verticalhome and search apps. The !importants are sadly necessary: the grid component uses a scoped stylesheet whose rules we can't override with selector specificity - we have to bring out the big guns.
Comment on attachment 8459802 [details] Screenshot: search results with 2 line labels Hi Sam, The grid part is perfection. The search results are still 0.1rem lower than in Eric's spec, but after speaking with Kevin, we can deal with this in a separate bug. Going to ui-review+. Great job!
Attachment #8459802 - Flags: ui-review?(pla) → ui-review+
Comment on attachment 8459806 [details] Screenshot: 4-col homescreen with patch applied Looks good to me.
Attachment #8459806 - Flags: ui-review?(pla) → ui-review+
Comment on attachment 8459804 [details] Screenshot: 3 col homescreen with patch applied The app labels are now 0.2 rem too high. Everything else lines up perfectly (icon position, row height, etc.). So close, but I'm gonna minus.
Attachment #8459804 - Flags: ui-review?(pla) → ui-review-
Working blind here as this now looks 2px/0.2rem too low to me, but should be the adjustment you need.
Attachment #8459804 - Attachment is obsolete: true
Attachment #8461098 - Flags: ui-review?(pla)
Attachment #8461098 - Attachment is obsolete: true
Attachment #8461098 - Flags: ui-review?(pla)
Attachment #8461260 - Flags: ui-review?(pla)
Comment on attachment 8461260 [details] Screenshot: 3 col homescreen with patch applied Perfect! Thanks so much Sam. :)
Attachment #8461260 - Flags: ui-review?(pla) → ui-review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
https://moztrap.mozilla.org/manage/case/14056/ created Waiting for this to land in 2.0 Gaia c72257b2d27135bfcd68e89dd584182797784016 Gecko https://hg.mozilla.org/mozilla-central/rev/06ac51c2b8a8 BuildID 20140724040205 Version 34.0a1 ro.build.version.incremental=110 ro.build.date=Fri Jun 27 15:57:58 CST 2014 B1TC00011230
Status: RESOLVED → VERIFIED
Whiteboard: [systemsfe][ETA=7/23] → [systemsfe]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: