Closed Bug 1821466 Opened 2 years ago Closed 2 years ago

[1.1] Add new Nimbus Messaging surface for Fullscreen Research Surfce

Categories

(Fenix :: General, enhancement)

All
Android
enhancement

Tracking

(firefox111 wontfix, firefox112 wontfix, firefox113 verified)

VERIFIED FIXED
113 Branch
Tracking Status
firefox111 --- wontfix
firefox112 --- wontfix
firefox113 --- verified

People

(Reporter: royang, Assigned: skhan)

References

Details

(Whiteboard: [fxdroid])

Attachments

(3 files)

To support Fullscreen Research Surface, add a new MessageSurfaceId in Nimbus Messaging to support FULLSCREEN surface type.

This surface type will be used to open a fullscreen custom tab to the specified URL.

Blocks: 1821475
Summary: Add new Nimbus Messaging surface for Fullscreen Research Surfce → [1.0] Add new Nimbus Messaging surface for Fullscreen Research Surfce
Summary: [1.0] Add new Nimbus Messaging surface for Fullscreen Research Surfce → [1.1] Add new Nimbus Messaging surface for Fullscreen Research Surfce
Assignee: nobody → skhan

Question : Current structure for survey includes only one button text that can be handled by nimbus. Does the second button text need to be hard coded into the UI? If not, which means second button text can be dynamic too, then we will need an updated message structure from Nimbus team.
Current Structure,

viewpoint-invitation-message:
text: "Please help Firefox by taking a short survey"
action: "https://qsurvey.mozilla.com/s3/302e5c853d63?app=android&userid=controlbranch"
trigger: [ "USER_EN_SPEAKER" ]
style: "URGENT"
type: "fullscreen"
button-label: "Take Survey"

Flags: needinfo?(jmahon)

Ah, very good question - I hope we can get away with just hard-coding that second button to "No Thanks" (at least for now), but we should check with the Product team. I'm going to forward this question to #mobile-messaging and loop you in there, Sarah. I'm going to leave my 'needinfo' on this ticket until I have a resolution with them, though.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch

We shouldn't uplift this fix to Beta 112 because it adds new strings that need to be localized.

Severity: -- → S3

Confirming decision: hard-coding the negative button to "No Thanks" (as per the Figma) is OK for this!

Flags: needinfo?(jmahon)
Attached image Screenshot_3.jpg

Using a stage experiment and a local stage build, with the message, we have encountered the following:

  • selecting to display the message on the homescreen, works as expected - tapping on the button redirects the user to the desired link,
  • selecting to display the message in fullscreen does NOT work.

The setup of the experiment can be seen here.

Devices used: Samsung Galaxy A32 (Android 12), and Google Pixel 6 (Android 13).

Flags: needinfo?(royang)
Flags: qe-verify+

Yes, currently all strings are hard-coded and will need to be localized.
:miralobontiu, the implementation for fullscreen has not been complete yet. The experiment setup will also be different than how we are triggering the homescreen message.

Flags: needinfo?(royang)

We've updated the setup of the experiment with the "survey" modification. The setup of the experiment can be seen here.
On a stage experiment and a local stage build:

  • selecting to display the message on the homescreen, works as expected - tapping on the button redirects the user to the desired link,
  • selecting to display the message as a survey does NOT work.

I'll remove the qe-verify+ flag.

Flags: qe-verify+
Whiteboard: [fxdroid]

Verified as fixed on a local Release build from 5/4 with a Samsung Galaxy Note 8 (Android 9) device.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: