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

Second macOS CPM experiment #1017

Merged
merged 3 commits into from
Oct 18, 2024
Merged

Second macOS CPM experiment #1017

merged 3 commits into from
Oct 18, 2024

Conversation

muodov
Copy link
Member

@muodov muodov commented Oct 15, 2024

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/1205142657210376/1208488711477099/f
iOS PR:
macOS PR: duckduckgo/macos-browser#3397
What kind of version bump will this require?: Major/Minor/Patch

Optional:

Tech Design URL: https://app.asana.com/0/1205142657210376/1208527766092596/f
CC: @ayoy

Description:

This PR cleans up the previous experiment (#937), and creates a new subfeature for the new experiment. The experiment logic will be in the macOS PR.

Steps to test this PR:
1.
1.

OS Testing:

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

Internal references:

Software Engineering Expectations
Technical Design Template

@muodov muodov changed the title Second CPM experiment Second macOS CPM experiment Oct 15, 2024
@muodov muodov requested a review from ayoy October 15, 2024 20:34
@muodov muodov mentioned this pull request Oct 16, 2024
14 tasks
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.

LGTM 👍

@muodov muodov merged commit f1a033c into main Oct 18, 2024
8 checks passed
@muodov muodov deleted the new-cpm-experiment branch October 18, 2024 08:09
muodov added a commit to duckduckgo/macos-browser that referenced this pull request Oct 18, 2024
Task/Issue URL:
https://app.asana.com/0/1205142657210376/1208488711477099/f
Tech Design URL:
https://app.asana.com/0/1205142657210376/1208527766092596/f
CC:
BSK PR: duckduckgo/BrowserServicesKit#1017
Corresponding SERP PR:
https://dub.duckduckgo.com/duckduckgo/ddg/pull/35929 (deployed on
mtsoy.duckduckgo.com)

**Description**:

**Steps to test this PR**:
1. Run the browser
2. Change remote config URL to
https://jsonblob.com/api/1295841430403407872
3. Do a search
4. Observe a `cpme=1|0` query parameter in the search address
5. Reset the test cohort (Debug -> Reset Data -> Reset CPM Experiment
Cohort) to confirm that the value (1 or 0) is assigned randomly

<!--
Tagging instructions
If this PR isn't ready to be merged for whatever reason it should be
marked with the `DO NOT MERGE` label (particularly if it's a draft)
If it's pending Product Review/PFR, please add the `Pending Product
Review` label.

If at any point it isn't actively being worked on/ready for
review/otherwise moving forward (besides the above PR/PFR exception)
strongly consider closing it (or not opening it in the first place). If
you decide not to close it, make sure it's labelled to make it clear the
PRs state and comment with more information.
-->

**Definition of Done**:

* [ ] Does this PR satisfy our [Definition of
Done](https://app.asana.com/0/1202500774821704/1207634633537039/f)?

---
###### Internal references:
[Pull Request Review
Checklist](https://app.asana.com/0/1202500774821704/1203764234894239/f)
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)
[Pull Request
Documentation](https://app.asana.com/0/1202500774821704/1204012835277482/f)
muodov added a commit to duckduckgo/iOS that referenced this pull request Oct 18, 2024
<!--
Note: This checklist is a reminder of our shared engineering
expectations. Feel free to change it, although assigning a GitHub
reviewer and the items in bold are required.

⚠️ If you're an external contributor, please file an issue first before
working on a PR, as we can't guarantee that we will accept your changes
if they haven't been discussed ahead of time. Thanks!
-->

Task/Issue URL:
https://app.asana.com/0/1206594217714678/1208488711477099/f
Tech Design URL:
https://app.asana.com/0/1205142657210376/1208527766092596/f
CC:

**Description**:
This PR:
- bumps BSK to keep it in sync with the macOS PR
duckduckgo/BrowserServicesKit#1017
- resolves some npm dependencies that were messed up after a dependabot
update. It's changed to match what the macOS app
- updates autoconsent to the latest version

<!--
If at any point it isn't actively being worked on/ready for
review/otherwise moving forward strongly consider closing it (or not
opening it in the first place). If you decide not to close it, use Draft
PR while work is still in progress or use `DO NOT MERGE` label to
clarify the PRs state and comment with more information.
-->

**Steps to test this PR**:
1.
2.

<!--
Before submitting a PR, please ensure you have tested the combinations
you expect the reviewer to test, then delete configurations you *know*
do not need explicit testing.

Using a simulator where a physical device is unavailable is acceptable.
-->

**Definition of Done (Internal Only)**:

* [ ] Does this PR satisfy our [Definition of
Done](https://app.asana.com/0/1202500774821704/1207634633537039/f)?

**Copy Testing**:

* [ ] Use of correct apostrophes in new copy, ie `’` rather than `'`

**Orientation Testing**:

* [ ] Portrait
* [ ] Landscape

**Device Testing**:

* [ ] iPhone SE (1st Gen)
* [ ] iPhone 8
* [ ] iPhone X
* [ ] iPhone 14 Pro
* [ ] iPad

**OS Testing**:

* [ ] iOS 15
* [ ] iOS 16
* [ ] iOS 17

**Theme Testing**:

* [ ] Light theme
* [ ] Dark theme

---
###### Internal references:
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)
samsymons added a commit that referenced this pull request Oct 21, 2024
* main:
  Second macOS CPM experiment (#1017)
  fix HStack width (#1022)
  Change tab URL calculation for contentblockerrules.js and surrogates.js (#1021)
  Add Events Firing for Phishing Detection Settings (#1012)
  Sabrina/onboarding UI updates (#1015)
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