Closed Bug 1211887 Opened 9 years ago Closed 9 years ago

Pinned pages look weird on the homescreen since style update

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.5+)

RESOLVED FIXED
blocking-b2g 2.5+

People

(Reporter: cwiiis, Assigned: apastor, NeedInfo)

References

Details

(Whiteboard: [systemsfe])

User Story

Visual Spec: https://mozilla.box.com/s/a25ot7ruu5u0mvxjirhrtu8d3rt5r107

Attachments

(4 files)

Since the style update of gaia pinned pages card, they look very odd on the homescreen. I had a quick look at the inspector, and it seems they ignore the size given to them by layout and force a particular size.

Web components, especially shared ones, shouldn't layout outside of their given dimensions, and they shouldn't force particular sizes unless there's a good reason. Alberto, can you take a look at this? Also n?epang, as I'm pretty sure there were homescreen mock-ups for how they should look too.
Flags: needinfo?(epang)
Flags: needinfo?(apastor)
I've added a link to the visual spec in the user story (the spec for the cards and home screen are both in there).  Alberto has implemented the cards in the pin dialogue but they aren't looking right here.  I'm sure he'll know what's going on :)
User Story: (updated)
Flags: needinfo?(epang)
Assignee: nobody → apastor
Flags: needinfo?(apastor)
Comment on attachment 8671394 [details] [review]
[gaia] albertopq:1211887-homescreen-pages > mozilla-b2g:master

Hey Eric, does that look alright now? Thanks!
Attachment #8671394 - Flags: ui-review?(epang)
Comment on attachment 8671394 [details] [review]
[gaia] albertopq:1211887-homescreen-pages > mozilla-b2g:master

Thanks Alberto, looks better now.  Have a few other questions that aren't part of this bug so will msg you about them.
Attachment #8671394 - Flags: ui-review?(epang) → ui-review+
Attachment #8671394 - Flags: review?(mhenretty)
blocking-b2g: --- → 2.5+
Whiteboard: [systemsfe]
Comment on attachment 8671394 [details] [review]
[gaia] albertopq:1211887-homescreen-pages > mozilla-b2g:master

Thanks!
Attachment #8671394 - Flags: review?(mhenretty) → review+
Merged: https://github.com/mozilla-b2g/gaia/commit/a9399f148859dc9dce73c4f2a2fd7653388aa9bc
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
This is why my pinned pages now look like - certainly an improvement, but not quite to spec.

Issues I see:
- Margin on left/right is not large enough
- Cards are more square than they should be
- Font is wrong
- Cards without detailed descriptions (which is all of mine... Is that a bug?) have the title vertical-aligned to the center instead of the top.
- Drop-shadow is not as prominent as the design

Do we want to open up another bug to finish up these polish issues? And do these issues exist in the pin-page dialog too?
Flags: needinfo?(epang)
Flags: needinfo?(apastor)
Attached image screen_comparison.png
Thanks Chris, I put together a comparison screen.  Looks like it's looking off the spec. 
https://mozilla.box.com/s/a25ot7ruu5u0mvxjirhrtu8d3rt5r107

I've made a few comments to what you've been seeing and added a few more. 

- Margin on left/right is not large enough (see pg 26 of spec)
   - Yes, should be the same as the grid view
- Cards are more square than they should be
   - Looks like the dimensions are off
- Font is wrong 
   - Wrong size
- Cards without detailed descriptions (which is all of mine... Is that a bug?) 
have the title vertical-aligned to the center instead of the top.
    - I've brought this up before, Alberto says there's another bug that will cover this (Alberto, what's the bug number).  But if there's no descriptions they default to the title vertically centered (which isn't ideal so I hope we can get the descriptions in! See page 32 of spec)
- Drop-shadow is not as prominent as the design
    - This is fine
- Default Icon not showing (pin icon shown)
- If only a favicon is available styling of icon
- White part of the card should be 95% opacity so the wallpaper can be slightly seen (sorry I forgot to add this to the spec)

Alberto can you take a look?  Feel free to open a new bug if it makes more sense.
Flags: needinfo?(epang)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: