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

Sabrina/revert cards experiment #2119

Merged
merged 5 commits into from
Jan 26, 2024
Merged

Conversation

SabrinaTardio
Copy link
Collaborator

Task/Issue URL: https://app.asana.com/0/1204186595873227/1206438236962578/f

Description: Will revert the remove new tab cards experiment.

Steps to test this PR:

  1. Run ./clean-app.sh debug.
  2. In MainWindowController comment out line 68, 69 , 70 and 73 (#if DEBUG)
  3. A add a string to to Users default for the key pixel.experiment.cohort
  4. Run the app and check that the cleanup() function in Pixel experiment is called.
  5. Complete the onboarding and check that the cards are shown
  6. re run the app and again check the cards are shown.
  7. Try clean data and run the app a couple of times and check if cards are always visible.

<!—
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.
—>

Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

}

// Often used
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I thought it was worth leaving those here since they will probably often be used although atm they will not be called

@@ -81,156 +81,159 @@ class PixelExperimentTests: XCTestCase {
PixelExperiment.fireEnrollmentPixel()
}

Copy link
Collaborator Author

@SabrinaTardio SabrinaTardio Jan 25, 2024

Choose a reason for hiding this comment

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

Tests will not be working but I thought that we might want to keep the tests since we keep the pixels as common wanted pixels for experiments.
This could be much nicer when we have remote configurable pixels………..

Copy link
Contributor

@brindy brindy left a comment

Choose a reason for hiding this comment

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

Please remove the commented out code (it's a slippery slope leaving it in), but otherwise LGTM. :)

@SabrinaTardio SabrinaTardio merged commit a7bc520 into main Jan 26, 2024
14 checks passed
@SabrinaTardio SabrinaTardio deleted the sabrina/revert-cards-experiment branch January 26, 2024 12:26
samsymons added a commit that referenced this pull request Jan 30, 2024
* main:
  Restore VPN pixels in main browser (#2129)
  Bump BSK to 103.0.2 (#2126)
  Fix `site:` queries escaping with iOS 17 SDK (#640) (#2130)
  Add January 2024 brokers (part 2) (#2125)
  lastSentDate + web breakage report improvements (#2041)
  Remove VPN metadata admin check (#2127)
  Add Spokeo mirror sites (#2086)
  appcastManager: Retain release notes for all versions (#2123)
  Don't report CancellationError from BookmarksFaviconsFetcher (#2120)
  Sabrina/revert cards experiment (#2119)
  Bump version to 1.72.0 (113)
  Update embedded files
  Release Branch: VPN fixes (#2113)
  Adds info about whether the login items are actually running (#2122)
  Remove connection status awaiter. (#2121)
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