Closed Bug 1779024 Opened 2 years ago Closed 2 years ago

Create Feature Callout message surface using aboutwelcome

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
105 Branch
Iteration:
105.1 - July 25 - Aug 5
Tracking Status
firefox105 --- verified

People

(Reporter: mviar, Assigned: mviar)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file, 1 obsolete file)

Create featureCallout.js with a render function that takes a message configuration with a parent_selector attribute for each screen and position set to callout. Eventually, this component may fetch messages for itself, but for this iteration it can accept the message as an argument.

The message configuration should follow the multistage spotlight schema. A script tag with featureCallout.js can be included in the html of the parent page, or the render function can be imported and called by the parent page's JS. The render function should create a callout element and append it to the body of the parent document. The aboutwelcome.js bundle and related links can be dynamically added to the parent document's head. featureCallout.js can position the element based on the position of its parent element (as defined by the parent_selector for the current screen).

featureCallout.js should define the AW window functions as seen in render_multistage in spotlight.js. This includes capturing or defining an event when the screens change in aboutwelcome so that the callout can be re-positioned.

Updates should be made for the callout positioned screens in aboutwelcome.scss to match new designs.

Iteration: --- → 104.2 - July 11 - July 22
Blocks: 1779423
Blocks: 1779436
Blocks: 1779480
Blocks: 1781079
Blocks: 1781080
Blocks: 1781084
Blocks: 1781086
Blocks: 1781088
Iteration: 104.2 - July 11 - July 22 → 105.1 - July 25 - Aug 5
No longer blocks: 1781080
Attachment #9286509 - Attachment description: WIP: Bug 1779024 - Create Feature Callout message surface using aboutwelcome → Bug 1779024 - Create Feature Callout message surface using aboutwelcome
Blocks: 1781429
Depends on: 1783070
No longer depends on: 1783070
Pushed by mviar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/92717aa5366c
Create Feature Callout message surface using aboutwelcome r=pdahiya,Gijs,Mardak
See Also: → 1783222
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch

I‘ve verified this enhancement using the latest Firefox Nightly 105.0a1 (Build ID: 20220807214336) on Windows 10 x64, macOS 12.3.1, and Ubuntu 20.04 x64.

  • The “Hop between devices with tab pickup” screen is shown on the “about:firefoxview” page if the “browser.firefox-view.feature-tour” pref is set to “{}” value.
  • The “Get back your closed tabs in a snap” screen is displayed after clicking the “Next” button from the “Hop between devices with tab pickup” screen.
  • The “Add a splash of color” screen is shown after clicking the “Next” button from the “Get back your closed tabs in a snap” screen.
  • The “Add a splash of color” screen is dismissed and the “about:firefoxview” page is still displayed after clicking the “Finish” button from the “Add a splash of color” screen.
Status: RESOLVED → VERIFIED
Attachment #9285102 - Attachment is obsolete: true

These messages got turned off in bug 1821826 and to be cleaned up in bug 1828508.

Blocks: 1828508
See Also: → 1821826
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: