Closed Bug 1008934 Opened 10 years ago Closed 10 years ago

Link Clicker page needs styling for mobile clients

Categories

(Hello (Loop) :: Client, defect, P1)

defect

Tracking

(firefox34 fixed)

RESOLVED FIXED
mozilla34
Tracking Status
firefox34 --- fixed

People

(Reporter: standard8, Assigned: dhenein)

References

Details

(Whiteboard: p=8 s=33.3)

Attachments

(1 file)

It can currently be used on mobile clients, but the layout and button sizes are quite bad without zooming.
Priority: -- → P4
Whiteboard: [p=?, s=UI32]
Target Milestone: --- → mozilla32
Assignee: nobody → nperriault
Screenshots are attached to the github PR. I'm not asking for a review yet, just for early feedback about both the simplistic UI & the CSS impl. here.
Attachment #8421714 - Flags: feedback?(standard8)
Attachment #8421714 - Flags: feedback?(dmose)
Note that I don't really know what to do do with the "Conversation, portrait on mobile" case… I feel like cropping would be better than all this wasted whitespace, but I remember conversations around Talkilla where we said that cropping was bad practice…
Group: mozilla-employee-confidential
Looks like a fine start to me.

As far as portrait goes, I suspect it would look a bunch better if the portrait were vertically centered and the empty space were black, which might be a fine first iteration.

Maybe Darrin has an opinion on cropping here.  The thinking might be different on mobile, particularly if we set it up to be cropped by the viewport such that the user could make a pinch gesture to zoom out and see the whole thing.

Re the CSS, I'm surprised it's necessary to use absolute positioning on the button.  Why is that?
Attachment #8421714 - Flags: feedback?(dmose) → feedback+
Attachment #8421714 - Flags: feedback?(dhenein)
> Re the CSS, I'm surprised it's necessary to use absolute positioning on the button.  Why is that?

It's a common technique for centering vertically; alternatives are table-cell and negative margins… I don't have a very strong opinion on this but the absolution positioning trick seems the best to me.
The table-cell approach seems a bit more readable, since it includes "vertical-align" property.  That said, I don't feel terribly strongly about this.
(In reply to Dan Mosedale (:dmose) from comment #3)
> Looks like a fine start to me.
> 
> As far as portrait goes, I suspect it would look a bunch better if the
> portrait were vertically centered and the empty space were black, which
> might be a fine first iteration.

I agree, centered and on black is probably a good place to start for mobile.

> Maybe Darrin has an opinion on cropping here.  The thinking might be
> different on mobile, particularly if we set it up to be cropped by the
> viewport such that the user could make a pinch gesture to zoom out and see
> the whole thing.

Not sure yet, I want to look at how other cross platform solutions address the differing aspect ratios across desktop/mobile. This will probably be properly addressed in MVP, rather than MLP.

> Re the CSS, I'm surprised it's necessary to use absolute positioning on the
> button.  Why is that?

I guess flex-box is out of the question based on what we're aiming to support? I think Opera mobile would be the main concern...
Attachment #8421714 - Flags: feedback?(dhenein) → feedback+
Priority: P4 → P1
Whiteboard: [p=?, s=UI32] → [p=?]
Target Milestone: mozilla32 → mozilla34
Comment on attachment 8421714 [details] [review]
https://github.com/mozilla/loop-client/pull/30

I don't think there's anything extra for me to add on top of Dan and Darrin's feedback.
Attachment #8421714 - Flags: feedback?(standard8) → feedback+
Right, let me just center the videos on dark for portrait and land this baby.
Group: mozilla-employee-confidential
Assignee: nperriault → dhenein
Status: NEW → ASSIGNED
Whiteboard: [p=?] → p=8 s=33.3 [qa-]
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Flags: qe-verify-
Whiteboard: p=8 s=33.3 [qa-] → p=8 s=33.3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: