Closed
Bug 903915
Opened 11 years ago
Closed 11 years ago
[Flatfish][Homescreen] add support for large device
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect)
Tracking
(blocking-b2g:koi+)
RESOLVED
FIXED
blocking-b2g | koi+ |
People
(Reporter: gasolin, Assigned: gasolin)
References
Details
Attachments
(3 files, 1 obsolete file)
Expect:
Modify and Merge experiment tablet work from
https://github.com/gaia-local/gaia
to master
Assignee | ||
Comment 1•11 years ago
|
||
1. landscape 3x5 (Maximum 15 icons for page)
2. 5 dock icons by default
Updated•11 years ago
|
blocking-b2g: --- → koi+
Comment 2•11 years ago
|
||
Looks like you have a merge conflict there and you should ask for review.
Assignee | ||
Comment 3•11 years ago
|
||
This is a WIP (need some CSS polish to align page icons and dock icons)
I push it out early for reference howto setup the review environment (in github PR comment).
BTW, UX responded that they might have some ideas beyond the basic homescreen interactions. So we'd hold back the system and homecreen work for large device.
Assignee | ||
Comment 4•11 years ago
|
||
@Tim, I've fixed current homescreen layouts from gaia-local to master.
But at gaia-local we only have landscape view.
Should I send for review or wait UX to provide portrait design?
Attachment #790136 -
Attachment is obsolete: true
Flags: needinfo?(timdream)
Comment 5•11 years ago
|
||
I'll wait until tomorrow. The scheduling and scope issue should be resolved by that time.
Flags: needinfo?(timdream)
Assignee | ||
Comment 6•11 years ago
|
||
Comment 7•11 years ago
|
||
Can we use a simple geometric shape like a white hollow circle as we did on the other devices? Thanks.
Assignee | ||
Comment 8•11 years ago
|
||
You mean software button? software button asset issue is filed in bug 905957
Assignee | ||
Comment 9•11 years ago
|
||
I've send mail to @neo and he will handle the UX issue.
Neo, is the minimum tablet homescreen UX looks as you expect?
Flags: needinfo?(nhsieh)
Comment 10•11 years ago
|
||
Fred, the icons are scaled very badly. If we use this resolution for them we need new assets. Is there a bug for that?
Assignee | ||
Comment 11•11 years ago
|
||
After checking with current 1x/2x images, both are not clear enough for tablet device. Need UX's help to provide icons. fired in bug 906594
Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 788829 [details]
pull request redirect to github
The environment setup for large device is described in github PR descriptions
Attachment #788829 -
Flags: review?(crdlc)
Comment 13•11 years ago
|
||
Comment on attachment 788829 [details]
pull request redirect to github
The CSS looks perfect for me.
My concern is in JS code. If I understood the goal of this pr is to support large devices in landscape, in other words, 15 icons per page, right?
IMHO we should touch here and add this new number of icons:
https://github.com/mozilla-b2g/gaia/blob/master/apps/homescreen/js/grid.js#L43
Just a question, on this kind of devices are there orientation changes on homescreen?
Thanks and good work!
Assignee | ||
Comment 14•11 years ago
|
||
Thanks for catch that! I found css is not enough to strict the icon number (but just hide it), will wait bug 903913 land and change the default icons to 5x3.
There will be orientation changes on tablet homescreen, but not sure if it happens in 1.2. The portrait mode will be a separate bug since orientation is not ready in real device yet.
Assignee | ||
Updated•11 years ago
|
Attachment #788829 -
Flags: review?(crdlc)
Comment 15•11 years ago
|
||
ok thanks a lot Fred
Assignee | ||
Comment 16•11 years ago
|
||
Comment on attachment 788829 [details]
pull request redirect to github
the ScreenLayout script is landed, we can use `if (ScreenLayout.getCurrentLayout() !== 'tiny')`
to detect devices larger than phone(tiny).
sizes denotes:
- tiny(phone)
- small(tablet)
- medium(desktop)
- large (wide screen)
Attachment #788829 -
Flags: review?(crdlc)
Comment 17•11 years ago
|
||
Hi Fred, As I mentioned, Patryk is our visual design lead in this project now. Any visual design issues please let him know. Thanks
Flags: needinfo?(nhsieh)
Assignee | ||
Comment 19•11 years ago
|
||
update:
In current design, the homescreen will fixed in landscape mode in tablet, fixed in portrait mode in phone.
So there will be a new orientation mode called 'default', which will specify the default orientation mode in gecko. And present the correspondent mode per device. (will do that in another patch after that feature is implemented)
Assignee | ||
Comment 20•11 years ago
|
||
above comment tracked in bug 911668
Comment 21•11 years ago
|
||
I have to review this one during today, my apologies for the delay because of I am busy
Status: NEW → ASSIGNED
Flags: needinfo?(crdlc)
Comment 22•11 years ago
|
||
Hi Fred,
Please review the comments on Github. When you will address comments or reply me, please add a comment here because sometimes I don't follow github e-mails every hours
Thanks
Assignee | ||
Comment 23•11 years ago
|
||
Hi I fixed all addressed issues (calculated icon size on page.js, remove redundant font color settings, comments), please kindly review again
regards -moz-box-sizing, its still '-moz-box-sizing' now, only IE/old opera browser use un-prefixed 'box-sizing'
https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing
Flags: needinfo?(crdlc)
Comment 24•11 years ago
|
||
Comment on attachment 788829 [details]
pull request redirect to github
Good work! please review the latest comments, thanks for all
Attachment #788829 -
Flags: review?(crdlc) → review+
Assignee | ||
Comment 25•11 years ago
|
||
Thanks! I'll fix unit-test issue before merge it.
Assignee | ||
Comment 26•11 years ago
|
||
fixed unit-test issue and merged into gaia-master
https://github.com/mozilla-b2g/gaia/commit/d77edfa4987d1eaf32e815151e3e55b013ea2b87
thanks!
Flags: needinfo?(crdlc)
Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•