Closed
Bug 1193745
Opened 9 years ago
Closed 9 years ago
Implement the tablet tabs tray grid view on mobile
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox43 fixed)
RESOLVED
FIXED
Firefox 43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: mhaigh, Assigned: mhaigh)
References
Details
Attachments
(4 files)
Implement the tablet grid view style tabs tray on mobile, instead of the current list view. Involved in this work is swapping the listview for the gridview, changing the tab item layout and cleaning up.
Assignee | ||
Comment 1•9 years ago
|
||
Here I remove the mobile tabs tray and replace it with the tablet tabs tray. I also implement the mobile tabs item view for mobile.
Attachment #8647533 -
Flags: feedback?(michael.l.comella)
Assignee | ||
Comment 2•9 years ago
|
||
Here's portrait mode on the SGS5, keep in mind that once bug 1193374 lands the previews will be correct and once bug 1161638 lands we can get rid of the chrome at the bottom of the screen.
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8647533 [details] [diff] [review] Implement the tablet tabs tray grid view on mobile Review of attachment 8647533 [details] [diff] [review]: ----------------------------------------------------------------- In this patch, I think tabs_item_cell is unused - it's used in TabsListLayout [1], which we no longer use. Am I missing something? Also, if possible, it'd be great to merge tablet_tabs_item_cell and tabs_item_cell (or use the resource system so that there are two files with the same name). Similarly, don't forget to remove all of the old code we're no longer using - TabsListLayout, tabs_item_row. Otherwise, looks like a sound approach! [1]: https://mxr.mozilla.org/mozilla-central/search?string=tabs_layout_item_view&find=mobile%2Fandroid&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
Attachment #8647533 -
Flags: feedback?(michael.l.comella) → feedback+
Assignee | ||
Comment 5•9 years ago
|
||
Here's a build with compact tabs and grid view implemented (not aspect ratios aren't correct, so tab tray thumbnails for anything apart from about:home will look wrong). https://dl.dropboxusercontent.com/u/7163922/Work/1193745.apk Here're screenshots from all the devices I can get my hands on currently: https://www.dropbox.com/sh/6c2twk2o08rscrs/AADeKQQLEOYeweOShTkkYbjQa?dl=0 antlam & bbermes: Feedback and alterations would be appreciated
Flags: needinfo?(bbermes)
Flags: needinfo?(alam)
Comment 6•9 years ago
|
||
- how come some screenshots have an orange border around one tile, what's the purpose of the "orange border", it's the one that was last selected/viewed last, is there a way to deselect it (tapping somewhere outside in the gray area)? I wasn't able to. Looking at my device, HTC one mobile, some borders have a bigger bottom with no label or anything in it, I guess this won't happen after aspect rations is fixed? What's the dependency for fixing the aspect ratio? It's the https://bugzilla.mozilla.org/show_bug.cgi?id=1193374 bug? Otherwise, smoking... Thanks
Flags: needinfo?(bbermes) → needinfo?(mhaigh)
Comment 7•9 years ago
|
||
Looks good to me! (I tested with about:home mostly since I know the actual screenshots in the containers themselves still need work :) great job! *high five!*
Flags: needinfo?(alam)
Assignee | ||
Comment 8•9 years ago
|
||
bbermes: The orange border is the currently selected tab - you can't deselect it as there's always got to be a selected tab. Bug 1193374 landed yesterday, this fixed the aspect ratio issue you were seeing. Thanks for the feedback :)
Flags: needinfo?(mhaigh)
Assignee | ||
Comment 9•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fc718298500e
Assignee | ||
Comment 10•9 years ago
|
||
Bug 1193745 - Implement the tablet tabs tray grid view on mobile r?mcomella
Attachment #8652955 -
Flags: review?(michael.l.comella)
Comment on attachment 8652955 [details] MozReview Request: Bug 1193745 - Implement the tablet tabs tray grid view on mobile r?mcomella https://reviewboard.mozilla.org/r/17323/#review15483 Ship It! ::: mobile/android/base/resources/layout/private_tabs_panel.xml:17 (Diff revision 1) > - <view class="org.mozilla.gecko.tabs.TabsPanel$TabsLayout" > + <org.mozilla.gecko.tabs.TabsGridLayout `TabsPanel$TabsLayout` is unused, I think – let's axe it! ::: mobile/android/base/resources/values/dimens.xml:148 (Diff revision 1) > - <dimen name="tablet_tab_thumbnail_width">168dp</dimen> > + <dimen name="tablet_tab_thumbnail_width">121dp</dimen> nit: You can probably drop the `tablet_` on these. ::: mobile/android/base/tabs/TabsPanel.java (Diff revision 1) > - public Panel getCurrentPanel() { nit: I'd prefer this in a separate commit but to save time, it's fine to leave this in for now.
Attachment #8652955 -
Flags: review?(michael.l.comella) → review+
Assignee | ||
Comment 12•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3f48cdd41906
Assignee | ||
Comment 13•9 years ago
|
||
url: https://hg.mozilla.org/integration/fx-team/rev/159775bbf798b881edd420887faab3f39abe0db1 changeset: 159775bbf798b881edd420887faab3f39abe0db1 user: Martyn Haigh <mhaigh@mozilla.org> date: Thu Aug 27 13:09:28 2015 +0100 description: Bug 1193745 - Implement the tablet tabs tray grid view on mobile r=mcomella
Comment 14•9 years ago
|
||
Backed out for robocop crashes. https://treeherder.mozilla.org/logviewer.html#?job_id=4407893&repo=fx-team https://hg.mozilla.org/integration/fx-team/rev/49a82a658d1c
Assignee | ||
Comment 15•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=8d15808ff4d9
Assignee | ||
Comment 16•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9785edddce27
Assignee | ||
Comment 17•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ad1f2e56dc2c
Assignee | ||
Comment 18•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=87787d515ff9
Assignee | ||
Comment 19•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fff90ed19d2b
Assignee | ||
Comment 20•9 years ago
|
||
url: https://hg.mozilla.org/integration/fx-team/rev/6ddd2771e1643911cedf92e8714da1fa26c1e74a changeset: 6ddd2771e1643911cedf92e8714da1fa26c1e74a user: Martyn Haigh <mhaigh@mozilla.org> date: Tue Sep 01 13:57:44 2015 +0100 description: Bug 1193745 - Implement the tablet tabs tray grid view on mobile r=mcomella
Comment 21•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6ddd2771e164
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•