Open Bug 1950524 Opened 23 days ago Updated 1 day ago

Set RC notification card hasSeen pref to false when RC sidebar panel is closed

Categories

(Firefox :: Shopping, task, P2)

task
Points:
2

Tracking

()

ASSIGNED

People

(Reporter: kpatenio, Assigned: kpatenio)

References

Details

(Whiteboard: [fidefe-RCSidebar])

Attachments

(1 file)

In Bug 1945646, we use a pref browser.shopping.experience2023.newPositionCard.hasSeen to determine when to show or hide the new position notification card. Due to lack of caching, the card may not reliably reappear when we manually close then reopen the sidebar. It will however come back when RC auto opens on another PDP.

To keep things simple, let's set the hasSeen pref to false whenever the RC panel is closed after rendering the card. We can assume that the user took action to dismiss the card by closing the sidebar. Setting the pref can be easily done before the RC actors are teared down when closing the panel. Ex. RCParent

Severity: -- → N/A
Points: --- → 2
Priority: -- → P2
Whiteboard: [fidefe-RCSidebar]
Assignee: nobody → kpatenio
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: