-
Notifications
You must be signed in to change notification settings - Fork 423
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 rollout for cookie popup management enabled by default #2373
Merged
Merged
Changes from 4 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
20584ed
Enable cookie popup management by default
dus7 45343c4
Do not show cookie consent dialog
dus7 6dfee02
Remove CookieConsentDialog UI
dus7 1122f5e
Remove pixels
dus7 657b30d
Bring back `popupFound` message and handle gracefully
dus7 c008798
Merge branch 'main' into mariusz/default-autoconsent
dus7 39027b8
Update BSK reference
dus7 9ac23cb
Add AutoconsentOnByDefault feature flag
dus7 9e5dddb
Remove autoconsentPromptSeen setting
dus7 6bb8686
Merge branch 'main' into mariusz/default-autoconsent
dus7 fd996b8
Disable file_length check for AutoconsentUserScript again
dus7 12e29a5
Update BSK reference
dus7 dbc9d1b
Remove leftover comments
dus7 1b2812e
Merge branch 'main' into mariusz/default-autoconsent
dus7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,17 +105,12 @@ | |
1CB7B82123CEA1F800AA24EA /* DateExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1CB7B82023CEA1F800AA24EA /* DateExtension.swift */; }; | ||
1CB7B82323CEA28300AA24EA /* DateExtensionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1CB7B82223CEA28300AA24EA /* DateExtensionTests.swift */; }; | ||
1E016AB42949FEB500F21625 /* OmniBarNotificationViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E016AB32949FEB500F21625 /* OmniBarNotificationViewModel.swift */; }; | ||
1E016AB6294A5EB100F21625 /* CustomDaxDialog.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E016AB5294A5EB100F21625 /* CustomDaxDialog.swift */; }; | ||
1E05D1D629C46EBB00BF9A1F /* DailyPixel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E05D1D529C46EBB00BF9A1F /* DailyPixel.swift */; }; | ||
1E05D1D829C46EDA00BF9A1F /* TimedPixel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E05D1D729C46EDA00BF9A1F /* TimedPixel.swift */; }; | ||
1E05D1DB29C47B3300BF9A1F /* DailyPixelTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E05D1D929C47B2B00BF9A1F /* DailyPixelTests.swift */; }; | ||
1E0A75EA27A2FBD000A2BFB6 /* Downloads.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1E0A75E927A2FBD000A2BFB6 /* Downloads.storyboard */; }; | ||
1E162605296840D80004127F /* Triangle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E162604296840D80004127F /* Triangle.swift */; }; | ||
1E1626072968413B0004127F /* ViewExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E1626062968413B0004127F /* ViewExtension.swift */; }; | ||
1E16260B296845120004127F /* cookie-banner-illustration-animated.json in Resources */ = {isa = PBXBuildFile; fileRef = 1E162609296845120004127F /* cookie-banner-illustration-animated.json */; }; | ||
1E16260C296845120004127F /* cookie-banner-illustration-animated-dark.json in Resources */ = {isa = PBXBuildFile; fileRef = 1E16260A296845120004127F /* cookie-banner-illustration-animated-dark.json */; }; | ||
1E162610296C5C630004127F /* CustomDaxDialogViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E16260F296C5C630004127F /* CustomDaxDialogViewModel.swift */; }; | ||
1E162613296C62820004127F /* CookieConsentDaxDialogViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E162612296C62820004127F /* CookieConsentDaxDialogViewModel.swift */; }; | ||
1E162615296D910F0004127F /* cookie-icon-animated-40-dark.json in Resources */ = {isa = PBXBuildFile; fileRef = 1E162614296D910F0004127F /* cookie-icon-animated-40-dark.json */; }; | ||
1E1D8B5D2994FFE100C96994 /* AutoconsentMessageProtocolTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E1D8B5C2994FFE100C96994 /* AutoconsentMessageProtocolTests.swift */; }; | ||
1E1D8B6129950FD200C96994 /* AutoconsentBackgroundTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E1D8B6029950FD200C96994 /* AutoconsentBackgroundTests.swift */; }; | ||
|
@@ -1210,17 +1205,12 @@ | |
1CB7B82023CEA1F800AA24EA /* DateExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DateExtension.swift; sourceTree = "<group>"; }; | ||
1CB7B82223CEA28300AA24EA /* DateExtensionTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DateExtensionTests.swift; sourceTree = "<group>"; }; | ||
1E016AB32949FEB500F21625 /* OmniBarNotificationViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OmniBarNotificationViewModel.swift; sourceTree = "<group>"; }; | ||
1E016AB5294A5EB100F21625 /* CustomDaxDialog.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomDaxDialog.swift; sourceTree = "<group>"; }; | ||
1E05D1D529C46EBB00BF9A1F /* DailyPixel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DailyPixel.swift; sourceTree = "<group>"; }; | ||
1E05D1D729C46EDA00BF9A1F /* TimedPixel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TimedPixel.swift; sourceTree = "<group>"; }; | ||
1E05D1D929C47B2B00BF9A1F /* DailyPixelTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DailyPixelTests.swift; sourceTree = "<group>"; }; | ||
1E0A75E927A2FBD000A2BFB6 /* Downloads.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Downloads.storyboard; sourceTree = "<group>"; }; | ||
1E162604296840D80004127F /* Triangle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Triangle.swift; sourceTree = "<group>"; }; | ||
1E1626062968413B0004127F /* ViewExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewExtension.swift; sourceTree = "<group>"; }; | ||
1E162609296845120004127F /* cookie-banner-illustration-animated.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "cookie-banner-illustration-animated.json"; sourceTree = "<group>"; }; | ||
1E16260A296845120004127F /* cookie-banner-illustration-animated-dark.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "cookie-banner-illustration-animated-dark.json"; sourceTree = "<group>"; }; | ||
1E16260F296C5C630004127F /* CustomDaxDialogViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomDaxDialogViewModel.swift; sourceTree = "<group>"; }; | ||
1E162612296C62820004127F /* CookieConsentDaxDialogViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CookieConsentDaxDialogViewModel.swift; sourceTree = "<group>"; }; | ||
1E162614296D910F0004127F /* cookie-icon-animated-40-dark.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "cookie-icon-animated-40-dark.json"; sourceTree = "<group>"; }; | ||
1E1D8B5C2994FFE100C96994 /* AutoconsentMessageProtocolTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AutoconsentMessageProtocolTests.swift; sourceTree = "<group>"; }; | ||
1E1D8B6029950FD200C96994 /* AutoconsentBackgroundTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AutoconsentBackgroundTests.swift; sourceTree = "<group>"; }; | ||
|
@@ -3095,16 +3085,6 @@ | |
name = AppTPBreakageForm; | ||
sourceTree = "<group>"; | ||
}; | ||
1E16260029683B4D0004127F /* CustomDaxDialog */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
1E1626082968418F0004127F /* Animations */, | ||
1E162611296C62350004127F /* Model */, | ||
1E016AB5294A5EB100F21625 /* CustomDaxDialog.swift */, | ||
); | ||
name = CustomDaxDialog; | ||
sourceTree = "<group>"; | ||
}; | ||
1E162603296840790004127F /* SwiftUI */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
|
@@ -3116,24 +3096,6 @@ | |
name = SwiftUI; | ||
sourceTree = "<group>"; | ||
}; | ||
1E1626082968418F0004127F /* Animations */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
1E16260A296845120004127F /* cookie-banner-illustration-animated-dark.json */, | ||
1E162609296845120004127F /* cookie-banner-illustration-animated.json */, | ||
); | ||
name = Animations; | ||
sourceTree = "<group>"; | ||
}; | ||
1E162611296C62350004127F /* Model */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
1E16260F296C5C630004127F /* CustomDaxDialogViewModel.swift */, | ||
1E162612296C62820004127F /* CookieConsentDaxDialogViewModel.swift */, | ||
); | ||
name = Model; | ||
sourceTree = "<group>"; | ||
}; | ||
1E162616296D962A0004127F /* Model */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
|
@@ -4942,7 +4904,6 @@ | |
F11CEF581EBB66C80088E4D7 /* Tutorials */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
1E16260029683B4D0004127F /* CustomDaxDialog */, | ||
858650CF2469BCC100C36F8A /* DaxOnboarding */, | ||
85EE7F53224667C3000FE757 /* WebContainer */, | ||
85C11E4A209084DE00BFFEB4 /* HomeRow */, | ||
|
@@ -6085,7 +6046,6 @@ | |
isa = PBXResourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
1E16260C296845120004127F /* cookie-banner-illustration-animated-dark.json in Resources */, | ||
AA4D6A8D23DE49A5007E8790 /* [email protected] in Resources */, | ||
F47E53DB250A9A1C0037C686 /* Onboarding.xcassets in Resources */, | ||
AA4D6ACC23DE4D27007E8790 /* [email protected] in Resources */, | ||
|
@@ -6148,7 +6108,6 @@ | |
85A313972028E78A00327D00 /* release_notes.txt in Resources */, | ||
9865DFFD22A84CF300D27829 /* FavoriteHomeCell.xib in Resources */, | ||
1EE411FE2858B9300003FE64 /* dark-shield.json in Resources */, | ||
1E16260B296845120004127F /* cookie-banner-illustration-animated.json in Resources */, | ||
AA4D6AD323DE4D27007E8790 /* [email protected] in Resources */, | ||
AA4D6AA123DE4CC4007E8790 /* [email protected] in Resources */, | ||
984147A824F0259000362052 /* Onboarding.storyboard in Resources */, | ||
|
@@ -6531,7 +6490,6 @@ | |
D664C7C72B289AA200CBFA76 /* PurchaseInProgressView.swift in Sources */, | ||
D6E83C122B1E6AB3006C8AFB /* SettingsView.swift in Sources */, | ||
F1668BCE1E798081008CBA04 /* BookmarksViewController.swift in Sources */, | ||
1E162610296C5C630004127F /* CustomDaxDialogViewModel.swift in Sources */, | ||
8590CB69268A4E190089F6BF /* DebugEtagStorage.swift in Sources */, | ||
D6D12CA62B291CAA0054390C /* AppStoreRestoreFlow.swift in Sources */, | ||
D6D4B77C2B5AE99500996546 /* SubscriptionFlowNavController.swift in Sources */, | ||
|
@@ -6770,7 +6728,6 @@ | |
98DA6ECA2181E41F00E65433 /* ThemeManager.swift in Sources */, | ||
C159DF072A430B60007834BB /* EmailSignupViewController.swift in Sources */, | ||
37A6A8FE2AFD0208008580A3 /* FaviconsFetcherOnboarding.swift in Sources */, | ||
1E016AB6294A5EB100F21625 /* CustomDaxDialog.swift in Sources */, | ||
02341FA42A437999008A1531 /* OnboardingStepView.swift in Sources */, | ||
F1CA3C3B1F045B65005FADB3 /* Authenticator.swift in Sources */, | ||
CBD4F13D279EBFA000B20FD7 /* HomeMessageCollectionViewCell.swift in Sources */, | ||
|
@@ -6960,7 +6917,6 @@ | |
3132FA2827A0788400DD7A12 /* PassKitPreviewHelper.swift in Sources */, | ||
8505836C219F424500ED4EDB /* TextFieldWithInsets.swift in Sources */, | ||
CBD4F13F279EBFAF00B20FD7 /* HomeMessageViewModel.swift in Sources */, | ||
1E162613296C62820004127F /* CookieConsentDaxDialogViewModel.swift in Sources */, | ||
1E4DCF4A27B6A38000961E25 /* DownloadListRepresentable.swift in Sources */, | ||
2DC3FC65C6D9DA634426672D /* AutofillNoAuthAvailableView.swift in Sources */, | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make reasoning about this and following changes easier, note
autoconsentPromptSeen
was set totrue
after user enabled the feature (https://github.com/duckduckgo/iOS/pull/2373/files#diff-d04b75c0b651987027e4a487112e5facbd38ff7c45b585c5e202b118eaf68b3dL71).