Closed
Bug 903919
Opened 11 years ago
Closed 11 years ago
[Flatfish][Gallery] add support for large device
Categories
(Firefox OS Graveyard :: Gaia::Gallery, defect)
Tracking
(blocking-b2g:koi+, b2g-v1.2 fixed)
People
(Reporter: gduan, Assigned: gduan)
References
Details
(Whiteboard: QARegressExclude)
Attachments
(10 files, 1 obsolete file)
Expect: Modify and Merge experiment tablet work from https://github.com/gaia-local/gaia to master
Updated•11 years ago
|
blocking-b2g: --- → koi+
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Assignee | ||
Comment 6•11 years ago
|
||
add support for landscape mode
Assignee | ||
Comment 7•11 years ago
|
||
Assignee | ||
Comment 8•11 years ago
|
||
Assignee | ||
Comment 9•11 years ago
|
||
Assignee | ||
Comment 10•11 years ago
|
||
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 791954 [details]
PR to master
This patch has done below things for tablet version (it will not affect mobile version).
1. 4 pictures per row for portrait, 6 for landscape
2. enlarge toobar and font
I already attached screenshots after this patch, please also kindly check.
Attachment #791954 -
Flags: review?(dflanagan)
Comment 12•11 years ago
|
||
Comment on attachment 791954 [details]
PR to master
I think there are a couple of unnecessary styles in gallery-large.css, so please check that before landing.
Otherwise, it looks good. I didn't know you could apply media queries to link elements. That is a really nice way to load device-specific styles!
Attachment #791954 -
Flags: review?(dflanagan) → review+
Assignee | ||
Comment 13•11 years ago
|
||
Thank you! Merge into master, https://github.com/mozilla-b2g/gaia/commit/693af4e4c936eed0c580ba0cc6d78b343af44202
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 14•11 years ago
|
||
I found 4th pic in landscape mode has 0 right-margin, which make the layout wired. So, I revert it by my self.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 15•11 years ago
|
||
Hi David, This patch has added below code into gallery_large.css and other part doesn't change. Please kindly review. Thanks. @media (orientation: landscape) { .thumbnail:nth-child(4n) { margin-right: 0.4rem; } }
Attachment #791954 -
Attachment is obsolete: true
Attachment #805711 -
Flags: review?(dflanagan)
Comment 16•11 years ago
|
||
Comment on attachment 805711 [details]
PR to master
Ah. You need the 4n setting to override the landscape layout for smaller screen sizes, don't you? I'd suggest you add a comment to the css about that because otherwise it looks like a mistake.
I suppose eventually we ought to use media queries for each separate screen resolution in this app so that only one file is loaded and we don't have to override things.
But this is okay for now.
Attachment #805711 -
Flags: review?(dflanagan) → review+
Assignee | ||
Comment 17•11 years ago
|
||
Thanks David, comment added. Merged into master, https://github.com/mozilla-b2g/gaia/commit/77b1393ee3a7db1550daafa7ae855bc8094b9c72
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Comment 18•11 years ago
|
||
I was not able to uplift this bug to v1.2. If this bug has dependencies which are not marked in this bug, please comment on this bug. If this bug depends on patches that aren't approved for v1.2, we need to re-evaluate the approval. Otherwise, if this is just a merge conflict, you might be able to resolve it with: git checkout v1.2 git cherry-pick -x -m1 77b1393ee3a7db1550daafa7ae855bc8094b9c72 <RESOLVE MERGE CONFLICTS> git commit
Flags: needinfo?(gduan)
Assignee | ||
Comment 19•11 years ago
|
||
Thanks James. This bug has some small bug, so I revert it from master and push again. I will revert it and push to v1.2.
Flags: needinfo?(gduan)
Assignee | ||
Comment 20•11 years ago
|
||
Revert original patch, https://github.com/mozilla-b2g/gaia/commit/8856dda7a1fa4b9f1c961cad3e915d2ba471db44#diff-f62de2b1ff35d1547e0d1ee394fcf092 Merge into v1.2, https://github.com/mozilla-b2g/gaia/commit/def8e152db6a317162c03a316f68c409f3af3979
Updated•11 years ago
|
status-b2g-v1.2:
--- → fixed
Updated•11 years ago
|
Whiteboard: QARegressExclude
You need to log in
before you can comment on or make changes to this bug.
Description
•