Closed Bug 1846609 Opened 1 year ago Closed 1 year ago

[Survey] Add capability to auto-dismiss shopping message cards after a configured timeout

Categories

(Firefox :: Messaging System, task, P2)

task

Tracking

()

RESOLVED DUPLICATE of bug 1847120
Iteration:
119.2 - Sept 11 - Sept 22

People

(Reporter: aminomancer, Assigned: emcminn)

References

(Blocks 1 open bug)

Details

The figma spec says:

After the user submitted the survey, they see a thank you message. The message goes away by itself after 5 seconds.

Now, we already have this capability in FeatureCallout, but it's not part of the messaging bundle, so it does not already apply to messages in the shopping sidebar.

If you want to use the existing PageEventListener scheme, it could be possible to import PageEventManager in onboarding.mjs and use it just like FeatureCallout does. It might even be possible to import it into the aboutwelcome bundle, though if you do that, make sure it's conditional on location.href == "about:shoppingsidebar", since feature callout already handles it on its own.

But for this, I haven't seen any indication that we need ordinary page event listeners. So far it just seems to be this one timeout. So a simpler solution would be to just add a timeout property to the screen, with an interval and an action with navigate: true or something. To be handled by the aboutwelcome bundle. That is the simplest approach, I think.

Assignee: nobody → emcminn
Summary: Add capability to auto-dismiss shopping message cards after a configured timeout → [Survey] Add capability to auto-dismiss shopping message cards after a configured timeout
Iteration: --- → 118.1 - July 31 - Aug 11
Priority: -- → P1
Iteration: 118.1 - July 31 - Aug 11 → 118.2 - Aug 14 - Aug 25
Iteration: 118.2 - Aug 14 - Aug 25 → 119.1 - Aug 28 - Sept 8

We'll revisit this one once we know the direction microsurvey is taking.

Priority: P1 → P2

With Bug 1847120 using web component to show final confirmation screen, this should rely on existing behavior of web component

Depends on: 1847120
Iteration: 119.1 - Aug 28 - Sept 8 → 119.2 - Sept 11 - Sept 22

Addressed by the implementation of the confirmation screen.

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1847120
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.