[Survey] Add capability to auto-dismiss shopping message cards after a configured timeout
Categories
(Firefox :: Messaging System, task, P2)
Tracking
()
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 | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
We'll revisit this one once we know the direction microsurvey is taking.
Comment 2•1 year ago
|
||
With Bug 1847120 using web component to show final confirmation screen, this should rely on existing behavior of web component
Reporter | ||
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
Addressed by the implementation of the confirmation screen.
Description
•