Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit 784ddb5

Browse files
Merge remote-tracking branch 'origin/main' into jkt/shared-web-tests
2 parents 8f4a97f + 4676645 commit 784ddb5

File tree

80 files changed

+3003
-2246
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+3003
-2246
lines changed

.maestro/release_tests/application-lock.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ tags:
99
- runFlow:
1010
file: ../shared/setup.yaml
1111

12+
- tapOn: "Browsing Menu"
1213
- tapOn: "Settings"
1314
- scrollUntilVisible:
1415
element: "General"

.maestro/release_tests/autoclear.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ tags:
2121

2222
# Enable autoclear
2323

24+
- tapOn: "Browsing Menu"
2425
- tapOn: "Settings"
2526
- assertVisible: "Default Browser"
2627
- scrollUntilVisible:

.maestro/release_tests/emailprotection.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ tags:
77
- runFlow:
88
file: ../shared/setup.yaml
99

10-
- tapOn: Settings
10+
- tapOn: "Browsing Menu"
11+
- tapOn: "Settings"
1112
# Handling two different flows because of the current experiment
1213
# TODO: Remove the unused flow when the experiment is completed.
1314
- runFlow:

.maestro/release_tests/password-authentication.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ tags:
1010
file: ../shared/setup.yaml
1111

1212
# Validate passcode requested when accessing passwords for the first time
13+
- tapOn: "Browsing Menu"
1314
- tapOn: "Settings"
1415
- scrollUntilVisible:
1516
element: "Passwords"
@@ -30,6 +31,7 @@ tags:
3031
- tapOn: "Done"
3132

3233
# Validate initial authentication
34+
- tapOn: "Browsing Menu"
3335
- tapOn: "Settings"
3436
- scrollUntilVisible:
3537
element: "Passwords"
@@ -54,6 +56,7 @@ tags:
5456

5557
- tapOn: "DuckDuckGO"
5658

59+
- tapOn: "Browsing Menu"
5760
- tapOn: "Settings"
5861
- scrollUntilVisible:
5962
element: "Passwords"

.maestro/release_tests/password-management.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ tags:
1010
file: ../shared/setup.yaml
1111

1212
# Validate passcode requested when accessing passwords for the first time
13+
- tapOn: "Browsing Menu"
1314
- tapOn: "Settings"
1415
- scrollUntilVisible:
1516
element: "Passwords"
@@ -53,6 +54,7 @@ tags:
5354
- tapOn: "Done"
5455

5556
# Validate everything was saved
57+
- tapOn: "Browsing Menu"
5658
- tapOn: "Settings"
5759
- scrollUntilVisible:
5860
element: "Passwords"

Configuration/BuildNumber.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CURRENT_PROJECT_VERSION = 0
1+
CURRENT_PROJECT_VERSION = 1

Core/FeatureFlag.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ extension FeatureFlag: FeatureFlagDescribing {
180180
case .syncSeamlessAccountSwitching:
181181
return .remoteReleasable(.subfeature(SyncSubfeature.seamlessAccountSwitching))
182182
case .aiChatNewTabPage:
183-
return .internalOnly()
183+
return .enabled
184184
case .testExperiment:
185185
return .remoteReleasable(.subfeature(ExperimentTestSubfeatures.experimentTestAA))
186186
case .maliciousSiteProtection:

Core/PixelEvent.swift

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ extension Pixel {
7676
case settingsAutoconsentOff
7777

7878
case browsingMenuOpened
79+
case browsingMenuOpenedNewTabPage
7980
case browsingMenuNewTab
8081
case browsingMenuAddToBookmarks
8182
case browsingMenuEditBookmark
@@ -95,6 +96,7 @@ extension Pixel {
9596
case browsingMenuFireproof
9697
case browsingMenuAutofill
9798
case browsingMenuAIChat
99+
case browsingMenuListAIChat
98100

99101
case addressBarShare
100102
case addressBarSettings
@@ -669,7 +671,8 @@ extension Pixel {
669671
case bookmarksMigrationCouldNotPrepareDatabaseOnFailedMigration
670672
case bookmarksMigrationCouldNotRemoveOldStore
671673
case bookmarksMigrationCouldNotPrepareMultipleFavoriteFolders
672-
674+
675+
case bookmarksOpenFromToolbar
673676
case syncSignupDirect
674677
case syncSignupConnect
675678
case syncLogin
@@ -962,7 +965,6 @@ extension Pixel {
962965
// MARK: Launch time
963966
case appDidFinishLaunchingTime(time: BucketAggregation)
964967
case appDidShowUITime(time: BucketAggregation)
965-
case appDidBecomeActiveTime(time: BucketAggregation)
966968

967969
// MARK: AI Chat
968970
case aiChatNoRemoteSettingsFound(settings: String)
@@ -1061,6 +1063,7 @@ extension Pixel.Event {
10611063
case .settingsMoreSearchSettings: return "m_settings_more_search_settings"
10621064

10631065
case .browsingMenuOpened: return "mb"
1066+
case .browsingMenuOpenedNewTabPage: return "m_nav_menu_ntp"
10641067
case .browsingMenuNewTab: return "mb_tb"
10651068
case .browsingMenuAddToBookmarks: return "mb_abk"
10661069
case .browsingMenuEditBookmark: return "mb_ebk"
@@ -1080,9 +1083,7 @@ extension Pixel.Event {
10801083
case .browsingMenuAutofill: return "m_nav_autofill_menu_item_pressed"
10811084

10821085
case .browsingMenuShare: return "m_browsingmenu_share"
1083-
case .browsingMenuAIChat: return "m_aichat_menu_tab_icon"
10841086
case .browsingMenuListPrint: return "m_browsing_menu_list_print"
1085-
10861087
case .addressBarShare: return "m_addressbar_share"
10871088
case .addressBarSettings: return "m_addressbar_settings"
10881089
case .addressBarCancelPressedOnNTP: return "m_addressbar_cancel_ntp"
@@ -1629,7 +1630,7 @@ extension Pixel.Event {
16291630
return "m_d_bookmarks_migration_could_not_prepare_database_on_failed_migration"
16301631
case .bookmarksMigrationCouldNotRemoveOldStore: return "m_d_bookmarks_migration_could_not_remove_old_store"
16311632
case .bookmarksMigrationCouldNotPrepareMultipleFavoriteFolders: return "m_d_bookmarks_migration_could_not_prepare_multiple_favorite_folders"
1632-
1633+
case .bookmarksOpenFromToolbar: return "m_nav_bookmarks"
16331634
case .syncSignupDirect: return "m_sync_signup_direct"
16341635
case .syncSignupConnect: return "m_sync_signup_connect"
16351636
case .syncLogin: return "m_sync_login"
@@ -1951,7 +1952,6 @@ extension Pixel.Event {
19511952
// MARK: Launch time
19521953
case .appDidFinishLaunchingTime(let time): return "m_debug_app-did-finish-launching-time-\(time)"
19531954
case .appDidShowUITime(let time): return "m_debug_app-did-show-ui-time-\(time)"
1954-
case .appDidBecomeActiveTime(let time): return "m_debug_app-did-become-active-time-\(time)"
19551955

19561956
// MARK: AI Chat
19571957
case .aiChatNoRemoteSettingsFound(let settings):
@@ -1961,9 +1961,11 @@ extension Pixel.Event {
19611961
case .openAIChatFromWidgetQuickAction: return "m_aichat-widget-quickaction"
19621962
case .openAIChatFromWidgetControlCenter: return "m_aichat-widget-control-center"
19631963
case .openAIChatFromWidgetLockScreenComplication: return "m_aichat-widget-lock-screen-complication"
1964+
case .browsingMenuAIChat: return "m_aichat_menu_tab_icon"
1965+
case .browsingMenuListAIChat: return "m_browsing_menu_list_aichat"
19641966

19651967
// MARK: Lifecycle
1966-
case .appDidTransitionToUnexpectedState: return "m_debug_app-did-transition-to-unexpected-state-3"
1968+
case .appDidTransitionToUnexpectedState: return "m_debug_app-did-transition-to-unexpected-state-4"
19671969

19681970
case .debugBreakageExperiment: return "m_debug_breakage_experiment_u"
19691971

Core/StatisticsLoader.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ public class StatisticsLoader {
5454
}
5555

5656
public func load(completion: @escaping Completion = {}) {
57+
let completion = {
58+
self.refreshAppRetentionAtb()
59+
completion()
60+
}
5761
if statisticsStore.hasInstallStatistics {
5862
completion()
5963
return

Core/UserDefaultsPropertyWrapper.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ public struct UserDefaultsWrapper<T> {
5757
case daxLastShownContextualOnboardingDialogType = "com.duckduckgo.ios.daxLastShownContextualOnboardingDialogType"
5858

5959
case notFoundCache = "com.duckduckgo.ios.favicons.notFoundCache"
60-
case faviconSizeNeedsMigration = "com.duckduckgo.ios.favicons.sizeNeedsMigration"
6160
case faviconTabsCacheNeedsCleanup = "com.duckduckgo.ios.favicons.tabsCacheNeedsCleanup"
6261

6362
case legacyCovidInfo = "com.duckduckgo.ios.home.covidInfo"

0 commit comments

Comments
 (0)