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

Enable credentials import promo for all users #1014

Merged
merged 18 commits into from
Oct 21, 2024

Conversation

graeme
Copy link
Contributor

@graeme graeme commented Oct 10, 2024

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/1202926619870900/1208282574906775/f
iOS PR: duckduckgo/iOS#3427
macOS PR: duckduckgo/macos-browser#3383
What kind of version bump will this require?: Major

Optional:

Task/Issue URL: https://app.asana.com/0/1202926619870900/1208282574906775/f
Tech Design URL: https://app.asana.com/0/1202926619870900/1208502988382869/f

Description:

  • We're rolling out ✓ Promote password import in autofill menu [2w] and the conversion rate seems pretty decent. If we expand the addressable userbase we're likely to improve the user experience of many more users.

  • With ✓ Promote password import in autofill menu [2w] we're promoting import to <7 days users with less than 10 passwords saved.

  • To make this promotion even more impactful, we can expand the coverage to existing users, but to make it impactful we'll need more lax heuristics and a way for users to dismiss this promo.

Steps to test this PR:
Test Instructions

OS Testing:

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

Internal references:

Software Engineering Expectations
Technical Design Template

@graeme graeme self-assigned this Oct 10, 2024
@@ -91,7 +91,10 @@ public class WebsiteAutofillUserScript: AutofillUserScript {
}
// Sets the last message host, so we can check when it messages back
lastOpenHost = hostProvider.hostForMessage(message)
passwordImportDelegate?.autofillUserScriptWillDisplayOverlay(serializedInputContext)
if passwordImportDelegate?.autofillUserScriptShouldDisplayOverlay(serializedInputContext) != true {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To block the overlay if the permanent dismissal flag has been set

@graeme graeme requested a review from amddg44 October 15, 2024 10:31
@graeme graeme marked this pull request as ready for review October 16, 2024 13:30
@@ -259,24 +186,12 @@ class AutofillUserScriptTests: XCTestCase {

// MARK: Private

// Default vaules here are those that will result in a `true` value for credentialsImport. Override to test `false` case.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved all this to the app

@graeme graeme merged commit 9f62aac into main Oct 21, 2024
7 checks passed
@graeme graeme deleted the graeme/enable-import-prompt-for-all-users branch October 21, 2024 09:50
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