Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add attribute for checking for deprecated Mac remote message interaction #903

Merged
merged 2 commits into from
Jul 19, 2024

Conversation

samsymons
Copy link
Contributor

@samsymons samsymons commented Jul 19, 2024

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/1199333091098016/1207851439577905/f
iOS PR: duckduckgo/iOS#3107
macOS PR: duckduckgo/macos-browser#2995
What kind of version bump will this require?: Major

Optional:

Tech Design URL:
CC:

Description:

This PR adds a new attribute which can check whether a user interacted with a given remote message via the deprecated messaging system on macOS.

This new attribute is a clone of the interactedWithMessage attribute, except we provide a different array. I considered simply appending the deprecated message IDs to the array we pass to interactedWithMessage, but would prefer to keep the arrays distinct in case of reused IDs between the two.

Steps to test this PR:

  1. Check that tests pass and verify the correct behaviour

OS Testing:

  • iOS 14
  • iOS 15
  • iOS 16
  • macOS 10.15
  • macOS 11
  • macOS 12

Internal references:

Software Engineering Expectations
Technical Design Template

@samsymons samsymons requested a review from ayoy July 19, 2024 05:47
Copy link
Contributor

@ayoy ayoy left a comment

Choose a reason for hiding this comment

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

Looks great to me 👏 now that we have 2 attributes sharing the same custom evaluation mechanism we could abstract it, but let's agree to do it once we get a third attribute ;)

* main:
  Resetting all state for the VPN will cancel the tunnel and stop the monitors (#900)
  Add support for skipping sending usage pixels for remote messages (#902)
@samsymons samsymons merged commit 16686ec into main Jul 19, 2024
7 checks passed
@samsymons samsymons deleted the sam/mac-deprecated-remote-messaging-attribute branch July 19, 2024 16:21
samsymons added a commit that referenced this pull request Jul 19, 2024
* main:
  Add new deprecated Mac remote message attribute. (#903)
samsymons added a commit that referenced this pull request Jul 19, 2024
* main:
  Remove unused VPN session utilities (#898)
  Add new deprecated Mac remote message attribute. (#903)
  Resetting all state for the VPN will cancel the tunnel and stop the monitors (#900)
  Add support for skipping sending usage pixels for remote messages (#902)
  Bump Tests/BrowserServicesKitTests/Resources/privacy-reference-tests (#896)
  Removes the listen port from the wireguard client (#901)
  Be explicit when performing developer redirects (#884)
  C-S-S cross origin fixes
  Update C-S-S version (#892)
  Add a debug menu action to reset Remote Messages on macOS (#891)
  Add desktop specific RMF attributes (#883)
  Upload exception message to Sentry (#856)
  Add locale to broken site report (#889)
  Add new subfeature for duckplayer (#885)
  Swiftlint refactoring (#882)
  Remote Messaging Framework for macOS (#876)
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