Closed Bug 1510331 Opened 6 years ago Closed 5 years ago

ASR Snippets: New button for Send to Device / Newsletter Templates

Categories

(Firefox :: New Tab Page, enhancement, P3)

enhancement

Tracking

()

VERIFIED FIXED
Firefox 71
Iteration:
71.1 - Sept 2 - 15
Tracking Status
firefox71 --- verified

People

(Reporter: giorgos, Assigned: jpetto)

References

Details

(Keywords: github-merged)

The ASR Send to Device and Newsletter templates display a button on the error scene, after there has been an error communicating with basket.

That button is the same from the first scene. Unfortunately the copy on that button doesn't always make sense in the error page, as it can be "Let's go!" or "Check it out!".

We would like to keep the functionality but instead of displaying the button of the first scene, display a new button with the name `error_page_button_label` and the default value of `Try again`.

Please also confirm that only those two templates are featuring this button.
Priority: -- → P3
Component: Activity Streams: Newtab → New Tab Page
Blocks: 1581195
Status: NEW → RESOLVED
Iteration: --- → 71.1 - Sept 2 - 15
Closed: 5 years ago
Keywords: github-merged
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
Assignee: nobody → jon

I have verified this issue on Latest Firefox Nightly 71.0a1(ID build:20190916155843) Windows 10 x64, Mac 10.14.5 and Arch Linux 4.16.6 x64 with the following steps:

  1. Trigger the "NEWSLETTER_TEST_DEFAULT" snippet from the ASRouter.
  2. Clicked the "Continue" button.
  3. I added a valid email.
  4. Checked the "I'm okay with Mozilla..." checkbox.
  5. I edited the form action event with"foo.com" and clicked the "Sign me up" button.

After following the steps from above The "Error! Try Again?" message was correctly displayed.

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