Closed Bug 1023863 Opened 10 years ago Closed 10 years ago

The divider spacing is too tall

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(b2g-v2.0 fixed, b2g-v2.1 fixed)

RESOLVED FIXED
2.0 S5 (4july)
Tracking Status
b2g-v2.0 --- fixed
b2g-v2.1 --- fixed

People

(Reporter: padamczyk, Assigned: sfoster)

References

Details

(Whiteboard: ux-tracking, visual design, visual-tracking, [ft:systemsfe][systemsfe])

Attachments

(11 files, 12 obsolete files)

714.80 KB, image/png
Details
728.66 KB, image/png
Details
194.99 KB, image/png
Details
46 bytes, text/x-github-pull-request
kgrandon
: review+
Details | Review
1.00 MB, image/png
Details
167.44 KB, image/png
Details
1004.45 KB, image/png
Details
1.02 MB, image/png
Details
394.06 KB, image/jpeg
Details
225.59 KB, image/png
padamczyk
: ui-review+
Details
212.07 KB, image/png
padamczyk
: ui-review+
Details
The spacing between the icons is too tall... It feels slightly too tall on the 3 column grid, but far too tall on the 4 column grid.
Assignee: nobody → pla
Peter can you please check the specing, this doesn't feel right at all.
Flags: needinfo?(pla)
Not a blocker for shipping. We can get approval if we've got time.
Blocks: vertical-home-next
No longer blocks: vertical-homescreen
Flags: needinfo?(pla)
Whiteboard: ux-tracking, visual design, visual-tracking, [ft:systemsfe][systemsfe]
Attached image Updated Layout Spec for Flame (obsolete) —
Kevin,

This keeps the horizontal layout exactly as you have it on master.  The changes are with the vertical spacing.  Please contact me when you're ready to work on this, so I can help you make sense of it in terms that are more appropriate to the implementation (as we discussed last week).
Attached image Updated Layout Spec for 320x480 (obsolete) —
Kevin,

This is exactly the same as the one for Flame, except all the numbers have been divided by a scale factor of 1.5.
Needinfo'ing Kevin as a reminder.
Flags: needinfo?(kgrandon)
Right, we will look into fixing this. Going to ni? on Cristian and Sam to see if either would be interested in picking up this UI work. Thanks!
Flags: needinfo?(sfoster)
Flags: needinfo?(kgrandon)
Flags: needinfo?(crdlc)
Yeah I'll take this.
Flags: needinfo?(sfoster)
Flags: needinfo?(crdlc)
QA Contact: sfoster
Assignee: pla → sfoster
QA Contact: sfoster
Target Milestone: --- → 2.0 S5 (4july)
Attached image home-dividers-3col-flame.png (obsolete) —
Screenshot from flame, 3-col homescreen, with adjusted divider margins/pixelHeight
Screenshot from flame, 4-col homescreen, with adjusted divider margins/pixelHeight. How does this look Peter?
Flags: needinfo?(pla)
Does this look alright code-wise? See attached screenshots for preview of result
Attachment #8446242 - Flags: review?(kgrandon)
Comment on attachment 8446242 [details] [review]
PR with changes to divider style and grid item pixelHeight

The four column looks a little strange to me, divider seems a bit low. Code generally looks fine, but clearing review for now until Peter chimes in.
Attachment #8446242 - Flags: review?(kgrandon)
Hi Sam,

This is a good start.  My apologies, first of all, as I found a couple of mistakes in the spec that I posted.  I've created a small spec with these corrected, as well as outlining the differences between your screenshot and what it should be.  Please have a look and let me know if it makes sense.  I've tried to call certain things out more explicitly.

Note, I will be updating the full spec with this clearer format as well.  Stay tuned.
Flags: needinfo?(pla)
Attached image Updated Spec for FWVGA 480x854 (Flame) (obsolete) —
Attachment #8444608 - Attachment is obsolete: true
Attached image Updated Spec for FWVGA 480x854 (Flame) (obsolete) —
I've added a note in here about scaling to other resolutions.

I'm going to obsolete and stop supporting the HVGA (320x480) spec as it is simply dividing everything by 1.5, and is redundant, and creates more work.
Attachment #8444610 - Attachment is obsolete: true
Attachment #8446658 - Attachment is obsolete: true
I've plugged in the new numbers for 3-cols and heres how it looks
Flags: needinfo?(pla)
(In reply to Sam Foster [:sfoster] from comment #15)
> Created attachment 8447359 [details]
> 3 column, highlighting divider and icon height
> 
> I've plugged in the new numbers for 3-cols and heres how it looks

Hold that thought, I've got my 4 and 3 col dimensions mixed up. I'll update shortly.
Flags: needinfo?(pla)
Attachment #8446723 - Attachment is obsolete: true
Attached image home-dividers-3col-flame.png (obsolete) —
Updated to latest spec, with 10rem item height, 5rem divider total height
Attachment #8446236 - Attachment is obsolete: true
Attachment #8447425 - Flags: ui-review?(pla)
Attached image home-dividers-4col-flame.png (obsolete) —
Updated to latest spec, with item height at 10rem, divider height 5rem
(In reply to Sam Foster [:sfoster] from comment #18)
> Created attachment 8447425 [details]
> home-dividers-3col-flame.png
> 
> Updated to latest spec, with 10rem item height, 5rem divider total height

Ack, not helping! I mean 12rem item height, 6rem divider total height for the 3-columns case
Comment on attachment 8446242 [details] [review]
PR with changes to divider style and grid item pixelHeight

See notes in GH, slight update on various values per latest spec. Same approach.
Attachment #8446242 - Flags: review?(kgrandon)
Attached image home-dividers-4col-flame.png (obsolete) —
from IRC: 15:25 <peterla> .. Ive come up with a rule that would make the 3 column and 4 column more consistent
15:25 <peterla> the 3 column divider area is 6 rem total height
15:26 <peterla> if we just put the top of the divider 1/3 of the way down
15:26 <peterla> that would mean 2, 0.2, 3.8 for a total of 6 rem
15:26 <peterla> for 4 column
15:26 <peterla> if you could do
15:26 <peterla> 1.6, 0.2, 3.2 for a total of 5 rem
15:27 <peterla> that would make them both feel about the same
15:28 <peterla> (it’s actually 1.667, 0.2, 3.133, but i rounded it)

For 3 cols, these are the exact values I was using already. I've updated the 4 col margin values and updated the screenshot. It looks pretty bang on middle to me...
Attachment #8447426 - Attachment is obsolete: true
Attachment #8447524 - Flags: ui-review?(pla)
Comment on attachment 8446242 [details] [review]
PR with changes to divider style and grid item pixelHeight

Looks fine to me, thanks!
Attachment #8446242 - Flags: review?(kgrandon) → review+
Comment on attachment 8447524 [details]
home-dividers-4col-flame.png

This lines up perfectly with the spec!  Nice job!
Attachment #8447524 - Flags: ui-review?(pla) → ui-review+
Comment on attachment 8447425 [details]
home-dividers-3col-flame.png

Hey Sam,

This is really close but the divider is about 0.3 rem too high, and the app labels are also 0.3 rem too low.

See attachment after this comment for comparison.

You're really close!
Attachment #8447425 - Flags: ui-review?(pla) → ui-review-
Attached image SamFeedbackJune30 (obsolete) —
See this screenshot for feedback on 3-column layout.  It's really close.
Attached image SamFeedbackJune30.png
Oops.  Accidentally attached photoshop file instead of png.
Attachment #8448303 - Attachment is obsolete: true
Screenshot of 3-column homescreen. I've got this lined up against the spec and it seems pixel-perfect to me?
Attachment #8448869 - Flags: ui-review?(padamczyk)
Screenshot of 4-column homescreen from Flame. I've lined this up against the spec and it seems pixel-perfect to me?
Attachment #8447425 - Attachment is obsolete: true
Attachment #8447524 - Attachment is obsolete: true
Attachment #8448872 - Flags: ui-review?(padamczyk)
I think it would be nicer if there was a little bit more spacing underneath the search bar and a little less around the divider, so that they matched. It feels that the space around the first row of icons on the top and bottom should be symmetric.
Whiteboard: ux-tracking, visual design, visual-tracking, [ft:systemsfe][systemsfe] → ux-tracking, visual design, visual-tracking, [ft:systemsfe][systemsfe][2.0-VH-bug-bash]
Whiteboard: ux-tracking, visual design, visual-tracking, [ft:systemsfe][systemsfe][2.0-VH-bug-bash] → ux-tracking, visual design, visual-tracking, [ft:systemsfe][systemsfe]
Comment on attachment 8448872 [details]
home-dividers-4col-flame.png (updated 07/01)

Thanks Sam, this matches Peter spec!
https://bugzilla.mozilla.org/attachment.cgi?id=8448304
Attachment #8448872 - Flags: ui-review?(padamczyk) → ui-review+
Comment on attachment 8448869 [details]
home-dividers-3col-flame.png (updated 07/01)

Please refer to Peter's spec: https://bugzilla.mozilla.org/attachment.cgi?id=8448304

The text labels and the dividers should be moved up 3px
Thanks!
Attachment #8448869 - Flags: ui-review?(padamczyk) → ui-review-
Attached image 3columns.jpg (obsolete) —
This is the flame sized screenshot from Peter's spec. There are 2 issues:
1. The app labels are 3px (0.3rem) too low
2. The divider is 3px (0.3rem) too high
Flags: needinfo?(sfoster)
Attachment #8449650 - Attachment mime type: image/jpeg → image/png
Attachment #8449650 - Attachment mime type: image/png → image/jpeg
Attached image 3columns.jpg
Attachment #8449650 - Attachment is obsolete: true
Update eleventy-billion. Sorry as changes to either column configuration can affect the other I have to update both screen caps.
Attachment #8448869 - Attachment is obsolete: true
Attachment #8449758 - Flags: ui-review?(padamczyk)
Flags: needinfo?(sfoster)
And the 4-col. In this one I essentially unapply the scaling to normalize the labels. Also applying that 0.75 scaling to the divider height seemed to get a result that matched the mockup (though as this is a fractional pixel value we should double check it on a 1:1 pixel ratio device)
Attachment #8448872 - Attachment is obsolete: true
Attachment #8449762 - Flags: ui-review?(padamczyk)
Attachment #8449762 - Flags: ui-review?(padamczyk) → ui-review+
Attachment #8449758 - Flags: ui-review?(padamczyk) → ui-review+
We're all good to go. I'm out until July 8th, if you or someone gets a minute could you land and request uplift? Otherwise I'll do it when I'm back next week
Flags: needinfo?(kgrandon)
Whiteboard: ux-tracking, visual design, visual-tracking, [ft:systemsfe][systemsfe] → ux-tracking, visual design, visual-tracking, [ft:systemsfe][systemsfe][checkin-needed]
Blocks: vertical-homescreen
No longer blocks: vertical-home-next
Flags: needinfo?(kgrandon)
(In reply to Sam Foster [:sfoster] from comment #37)
> We're all good to go. I'm out until July 8th, if you or someone gets a
> minute could you land and request uplift? Otherwise I'll do it when I'm back
> next week

Thanks for sticking with this Sam!

Master: https://github.com/mozilla-b2g/gaia/commit/0a217d24a7b21fef96bc8057d644f49f79068bfe
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment on attachment 8446242 [details] [review]
PR with changes to divider style and grid item pixelHeight

We would like to have these style changes in 2.0 for the vertical homescreen.
Attachment #8446242 - Flags: approval-gaia-v2.0?(bbajaj)
Whiteboard: ux-tracking, visual design, visual-tracking, [ft:systemsfe][systemsfe][checkin-needed] → ux-tracking, visual design, visual-tracking, [ft:systemsfe][systemsfe]
Attachment #8446242 - Flags: approval-gaia-v2.0?(bbajaj) → approval-gaia-v2.0+
(In reply to Sam Foster [:sfoster] from comment #37)
> We're all good to go. I'm out until July 8th, if you or someone gets a
> minute could you land and request uplift? Otherwise I'll do it when I'm back
> next week

Great work Sam!  Thanks for sticking with this!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: