Closed
Bug 1181602
Opened 9 years ago
Closed 9 years ago
Display pin badge for Firefox Apps
Categories
(Firefox OS Graveyard :: Gaia::System::Browser Chrome, defect)
Firefox OS Graveyard
Gaia::System::Browser Chrome
ARM
Gonk (Firefox OS)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: benfrancis, Assigned: apastor)
References
Details
(Whiteboard: [systemsfe])
Attachments
(4 files)
Built-in Gaia apps currently show the default icon, they should show the app icon. I think we can get this from the AppWindow object if necessary.
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → apastor
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8631620 [details] [review] [gaia] albertopq:1181602-icon-apps > mozilla-b2g:master Ben, could you please review this? Thanks!
Attachment #8631620 -
Flags: review?(bfrancis)
Reporter | ||
Comment 3•9 years ago
|
||
Comment on attachment 8631620 [details] [review] [gaia] albertopq:1181602-icon-apps > mozilla-b2g:master I haven't fully reviewed this yet but I quickly tested it out. I noticed that for Facebook I see a tiny icon and for Twitter I just see the default icon, not sure what's going on there?
Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8631620 [details] [review] [gaia] albertopq:1181602-icon-apps > mozilla-b2g:master This is great. r+ with some comments... I don't think the logic for converting from Firefox App Manifest to W3C App Manifest icons format should live in AppWindow, it should probably live in IconsHelper (or possibly ManifestHelper or WebManifestHelper). Also, it would be better to use a consistent format for a processed manifest.icons rather than trying to support both a string and Set. We're not testing for absolute app:// URLs but I'm not sure if that's a problem in practice.
Attachment #8631620 -
Flags: review?(bfrancis) → review+
Assignee | ||
Comment 5•9 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/0585f7ec07d0ed12f5bb53e051d01d33b91288cb
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 6•9 years ago
|
||
reverted for causing bug 1183348. master: https://github.com/mozilla-b2g/gaia/commit/a4278e41c08fa619edbd6537b6182d46dc475a4e (In reply to Ben Francis [:benfrancis] from comment #4) > Also, it would be better to use a consistent format for a processed > manifest.icons rather than trying to support both a string and Set. I agree with this in theory, but it seems weird that manifest.icons will mean something else in the system app then it will everywhere else. Perhaps the icons helper can generate a new processed icons field rather than overwrite manifest.icons. In any case, if we do overwrite, we will have to make sure we fix all the places in the system app that use manifest.icons (app_window, attention_window, and cards_helper it seems).
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 7•9 years ago
|
||
sam has a suggestion for fixing cards_helper: https://bugzilla.mozilla.org/show_bug.cgi?id=1183199#c5
Comment 8•9 years ago
|
||
Alberto, bug 1183199 seems to come down to the _convertToWebManifestIcons call here that replaces app.manifest.icons. We should and will update Card to just use the new icons helpers, but I think the safest bet to get this re-landed without growing scope is just to avoid this side-effect.
Comment 9•9 years ago
|
||
The backout here caused a unit test to perma-fail. Disabling for now, so please re-enable this test when re-lands. https://github.com/mozilla-b2g/gaia/commit/7676b68b4d32ed13243eeb719188847121bd5611
Comment 10•9 years ago
|
||
Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8633367 [details] [review] [gaia] albertopq:1181602-icon-apps > mozilla-b2g:master Sorry for the inconvenience. Overriding the real manifest wasn't the intention. Thanks for catching this!
Attachment #8633367 -
Flags: review?(sfoster)
Comment 12•9 years ago
|
||
Comment on attachment 8633367 [details] [review] [gaia] albertopq:1181602-icon-apps > mozilla-b2g:master Looks good to me.
Attachment #8633367 -
Flags: review?(sfoster) → review+
Assignee | ||
Comment 13•9 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/32f1eba8fded1873561cde59dd87301c86ee646e
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Comment 14•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•