Skip to content

Remove OS version from new device mailer preview#10012

Merged
aduth merged 1 commit intomainfrom
aduth-rm-os-version-new-device-preview
Jan 31, 2024
Merged

Remove OS version from new device mailer preview#10012
aduth merged 1 commit intomainfrom
aduth-rm-os-version-new-device-preview

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Jan 31, 2024

🛠 Summary of changes

Updates the content for the new device mailer preview to more realistically match what a real user would receive.

As of #9904 (LG-11899), we no longer include operating system version in device names, so the example content "macOS 123" should be stripped of the version identifier.

An alternative approach could be to use the actual parsed device name from the current request user agent, which would help keep this more guaranteed as in-sync, but is perhaps too real / identifying to the current browser?

📜 Testing Plan

  1. Go to http://localhost:3000/rails/mailers/user_mailer/new_device_sign_in
  2. Observe there is no OS version shown

changelog: Internal, Mailer Previews, Sync new device mailer preview content to live content
@aduth aduth requested a review from a team January 31, 2024 13:29
Copy link
Contributor

@kevinsmaster5 kevinsmaster5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! 👍

@aduth aduth merged commit 47c5565 into main Jan 31, 2024
@aduth aduth deleted the aduth-rm-os-version-new-device-preview branch January 31, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants