Closed Bug 2050972 Opened 19 days ago Closed 6 days ago

Add ability to dimiss current daily photo

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: maxx, Assigned: dgrant)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Requirements:

  • There should be a context menu item "Don't like today's photo" text.
  • When clicked, the current image is hidden and replaced with a random existing Wallpaper image

Figma comment: https://www.figma.com/design/i8wWurQ8yn9y5hCjnf8BYu?node-id=2254-16727#1705326776

Behavior: the context menu's "Hide today's picture" now dismisses the current
picture (the widget falls back to the empty state), and the menu shows "Show
today's picture" while dismissed (as does the empty-state eye button).
Dismissal is keyed to the picture's published date and stored in the
widgets.pictureOfTheDay.dismissedDate pref, so the next day's picture appears
again automatically.

Risk: content plus one pref; no feed or metrics.yaml change. State is a pref,
so it survives reload.

Validation: ./mach lint; newtab jest (PictureOfTheDay, incl. dismiss/restore).
Bundle/CSS regenerated at this commit.

Assignee: nobody → dgrant
Status: NEW → ASSIGNED
Attachment #9603710 - Attachment description: Bug 2050972 - Picture of the Day: let people hide today's picture until the next day. r?#home-newtab-reviewers → Bug 2050972 - Picture of the Day: Hide today's picture until the next day. r?#home-newtab-reviewers
Attachment #9603710 - Attachment description: Bug 2050972 - Picture of the Day: Hide today's picture until the next day. r?#home-newtab-reviewers → Bug 2050972 - Picture of the Day: let people hide today's picture until the next day. r?#home-newtab-reviewers
Attachment #9603710 - Attachment description: Bug 2050972 - Picture of the Day: let people hide today's picture until the next day. r?#home-newtab-reviewers → Bug 2050972 - Picture of the Day: Hide today's picture until the next day. r?#home-newtab-reviewers
Attachment #9603710 - Attachment description: Bug 2050972 - Picture of the Day: Hide today's picture until the next day. r?#home-newtab-reviewers → Bug 2050972 - Picture of the Day: let people hide today's picture until the next day. r?#home-newtab-reviewers
Pushed by csabou@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b61addce1d85 https://hg.mozilla.org/integration/autoland/rev/6d54818a37af Revert "Bug 2050972 - Picture of the Day: let people hide today's picture until the next day. r=Dre"

Backed out for causing node failures.

Push with failures

Failure log

Backout link

Status: ASSIGNED → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: