Closed Bug 1133338 Opened 9 years ago Closed 9 years ago

Use verticalhome for flatfish

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kgrandon, Assigned: kgrandon)

References

Details

Attachments

(3 files)

Lots of extra code around to support the old home scree. We should port flatfish to use the vertical home screen and fix any bugs that come out of that.
Blocks: 1133347
Comment on attachment 8564747 [details] [review]
[gaia] KevinGrandon:bug_1133338_flatfish_homescreen > mozilla-b2g:master

Sherman, Ricky - this extra code in the codebase is beginning to be a distraction. I'd like us to use the verticalhome app for flatfish, and fix it up if needed in 3.0. This will allow us to move the classic home screen out of the gaia codebase. Please take a look and let me know what you think.

Thanks!
Attachment #8564747 - Flags: review?(ricky060709)
Attachment #8564747 - Flags: review?(chens)
Comment on attachment 8564747 [details] [review]
[gaia] KevinGrandon:bug_1133338_flatfish_homescreen > mozilla-b2g:master

It's fine for me. If you want to remove homescreen from apps, you should also remove it in tablet/engineering.list.
Attachment #8564747 - Flags: review?(ricky060709) → review+
Comment on attachment 8564747 [details] [review]
[gaia] KevinGrandon:bug_1133338_flatfish_homescreen > mozilla-b2g:master

Agreed with Ricky, and then we can remove `homescreen.appName` in tablet/settings.json[1] yay!

[1]: https://github.com/mozilla-b2g/gaia/blob/master/build/config/tablet/settings.json#L5
Attachment #8564747 - Flags: review?(chens) → review+
I found after flashing this build into tablet we will get a empty homescreen, and back to normal after reboot. This might related to default-homescreen.json pointing to some apps doesn't exist on tablet and cause this problem.
(In reply to Sherman Chen [:chens] from comment #5)
> I found after flashing this build into tablet we will get a empty
> homescreen, and back to normal after reboot. This might related to
> default-homescreen.json pointing to some apps doesn't exist on tablet and
> cause this problem.

Thanks for reporting that Sherman. This makes sense. I guess we'll want to write a patch which populates default-homescreen.json based on device type. I'll wait on landing this until that issue is resolved.

Not sure if I can get to this soon, but if you have some cycles and want to work on that, feel free to file a bug and pick it up.
Comment on attachment 8573049 [details]
Flatfish-Verticalhome.png

Vertical homescreen on flatfish will look like this after apply attachment 8573044 [details] [review], but collections icon looks fuzzy on it.
(In reply to Sherman Chen [:chens] from comment #8)
> Created attachment 8573049 [details]
> Flatfish-Verticalhome.png

This is pretty ugly. I'd like to try going to 6 columns[1], but we'd likely need to make some updates to the home screen rendering code. I can probably help with this.

Sherman - how would you like to proceed here? Is it ok to break flatfish like this on master for a while?

[1] https://github.com/mozilla-b2g/gaia/pull/28649/files#diff-b1cd729dc5cbffa4da8fbb0b89d54973R22
I think it's ok to do it, but if fuzzy collection icon will be a concern, maybe we can remove collections from homescreen.json first and put them back later.
(In reply to Sherman Chen [:chens] from comment #11)
> I think it's ok to do it, but if fuzzy collection icon will be a concern,
> maybe we can remove collections from homescreen.json first and put them back
> later.

I think that's probably fine.
Comment on attachment 8573044 [details] [review]
[gaia] shamenchens:Bug1133338-FlatfishVerticalHome > mozilla-b2g:master

Kevin and Ricky, this patch follows Kevin's patch and create different homescreen.json based on device type, but currently removed collections from it before we can have better home screen rendering code, after that we can add it back. Could you review this patch? thanks!
Attachment #8573044 - Flags: review?(ricky060709)
Attachment #8573044 - Flags: review?(kgrandon)
Comment on attachment 8573044 [details] [review]
[gaia] shamenchens:Bug1133338-FlatfishVerticalHome > mozilla-b2g:master

r+, fix the nit before landing thanks!
Attachment #8573044 - Flags: review?(ricky060709) → review+
Comment on attachment 8573044 [details] [review]
[gaia] shamenchens:Bug1133338-FlatfishVerticalHome > mozilla-b2g:master

Thank you!
Attachment #8573044 - Flags: review?(kgrandon) → review+
Nits fixed, thanks :)
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Oops, looks like autolander is trying to land both pull requests here at the same time. Seems it's running into a few build test failures, but I think it should work. (Though it looks like mine wasn't needed)
For me as an end user it us uncomfortable that Homescreen on flatfish is horizaontal or vertical only. There are apps that are horizontal, some are vertical. Then when use of them and press Home button (software or by gesture) it is extremely annoying that app was horizontal (like Music App) and after press Home button vertical Homescreen appears (when user holds tablet still in horizontal). Android is able to do relocation of icons on tablets what helps a lot. Here also should be such feature.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: