Closed
Bug 1202423
Opened 9 years ago
Closed 9 years ago
[New-Homescreen] Provide a default app-order configuration
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cwiiis, Assigned: cwiiis)
References
Details
(Whiteboard: [systemsfe])
Attachments
(1 file)
New homescreen needs to support a default app-order JSON file, similar to verticalhome.
Assignee | ||
Comment 1•9 years ago
|
||
Going to tackle this before bug 1202422.
Assignee: nobody → chrislord.net
Status: NEW → ASSIGNED
Comment 2•9 years ago
|
||
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8662439 [details] [review] [gaia] Cwiiis:bug1202423-new-homescreen-default-app-order > mozilla-b2g:master I think it's worth Kevin also having a look at this as I'm assuming he's more familiar with the setup of default app ordering in verticalhome, and what the intentions were. This patch is quite basic, it ignores anything that doesn't have a manifestURL, and just restores order. It doesn't try to do anything clever with collections (which don't exist), or sections (which also don't exist currently in new-homescreen). It also restores columns settings, but it interprets <=3 as being 3-column and >3 as 4-column (no other settings are supported). A marionette test is included.
Attachment #8662439 -
Flags: review?(kevingrandon)
Attachment #8662439 -
Flags: review?(gmarty)
Comment 4•9 years ago
|
||
Comment on attachment 8662439 [details] [review] [gaia] Cwiiis:bug1202423-new-homescreen-default-app-order > mozilla-b2g:master Looks good to me, except the build part which I'm not familiar with, but as Kevin will review it too, Let's r+ it!
Attachment #8662439 -
Flags: review?(gmarty) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8662439 [details] [review] [gaia] Cwiiis:bug1202423-new-homescreen-default-app-order > mozilla-b2g:master Left comments, but seems fine. Thanks!
Attachment #8662439 -
Flags: review?(kevingrandon) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Suggestions followed and added unit tests (confirmed with gmarty on IRC), merged: https://github.com/mozilla-b2g/gaia/commit/3e9de022ede11800170b6665606cb00c3fd92dc5
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•