Closed Bug 1421306 Opened 7 years ago Closed 7 years ago

Show rich icons for top sites that are in a tippy top service manifest

Categories

(Firefox :: New Tab Page, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 59
Tracking Status
firefox58 --- fixed
firefox59 --- fixed

People

(Reporter: Mardak, Assigned: rrosario)

References

(Blocks 1 open bug)

Details

User Story

https://github.com/mozilla/activity-stream/compare/2da0b43b8347d793a44623ef1f71f5b5d344a47c...1ad0fea723e3fb12789fbf1f332204b167f65923

Attachments

(1 file)

Some top sites don't advertise the rich icons to firefox, but we can scrape them and make them available as a manifest with ios user agent to find more apple-touch icons. Users should see fewer screenshots avoiding issues like bug 1412505.

Fixed as part of export bug 1415812.
https://hg.mozilla.org/mozilla-central/rev/b4d1db669c93
Blocks: 1415812
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
gchang says this bug has missed 58.0b8. It doesn't have a patch with beta approval flag. Please attach the appropriate patch without install.rdf.in changes and request approval ASAP.
Flags: needinfo?(andrei.br92)
Comment on attachment 8933417 [details]
Bug 1421306 - Show rich icons for top sites that are in a tippy top service manifest.

Approval Request Comment
[Feature/Bug causing the regression]: feature https://bugzilla.mozilla.org/show_bug.cgi?id=1386767
[User impact if declined]: user experience on activity stream page is affected by lower quality topsite images
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]:
[Is the change risky?]: no
[Why is the change risky/not risky?]: covered by tests, already tested in beta
[String changes made/needed]:no
Flags: needinfo?(andrei.br92)
Attachment #8933417 - Flags: approval-mozilla-beta?
Comment on attachment 8933417 [details]
Bug 1421306 - Show rich icons for top sites that are in a tippy top service manifest.

https://reviewboard.mozilla.org/r/204342/#review209896

This is missing NewTabUtils changes

::: browser/extensions/activity-stream/data/content/activity-stream.bundle.js:1692
(Diff revision 1)
>   * @param acc Accumulator for reducer.
>   * @param topsite Entry in TopSites.
>   */
>  function countTopSitesIconsTypes(topSites) {
>    const countTopSitesTypes = (acc, link) => {
> -    if (link.tippyTopIcon) {
> +    if (link.tippyTopIcon || link.faviconRef === "tippytop") {

This requires NewTabUtils changes adding faviconRef.
Attachment #8933417 - Flags: review?(edilee) → review-
Comment on attachment 8933417 [details]
Bug 1421306 - Show rich icons for top sites that are in a tippy top service manifest.

https://reviewboard.mozilla.org/r/204342/#review210244
Attachment #8933417 - Flags: review?(edilee) → review+
Comment on attachment 8933417 [details]
Bug 1421306 - Show rich icons for top sites that are in a tippy top service manifest.

Fix a lower quality topsite images on on activity stream page. Beta58+.
Attachment #8933417 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
User Story: (updated)
Depends on: 1423506
Blocks: 1423668
Depends on: 1433637
Blocks: 1421428
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: