Skip to content

Commit

Permalink
Merge release/1.121.0 into main
Browse files Browse the repository at this point in the history
  • Loading branch information
daxmobile authored Jan 10, 2025
2 parents be60f05 + 6a5f765 commit da6c1e1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/BuildNumber.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 339
CURRENT_PROJECT_VERSION = 340
1 change: 1 addition & 0 deletions DuckDuckGo/HomePage/View/HomePageViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ final class HomePageViewController: NSViewController {

func createRecentlyVisitedModel() -> HomePage.Models.RecentlyVisitedModel {
return .init { [weak self] url in
PixelKit.fire(GeneralPixel.privacyFeedHistoryLinkOpened, frequency: .dailyAndCount)
self?.openUrl(url)
}
}
Expand Down
6 changes: 6 additions & 0 deletions DuckDuckGo/Statistics/GeneralPixel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ enum GeneralPixel: PixelKitEventV2 {
case duckPlayerYouTubeOverlayNavigationClosed
case duckPlayerYouTubeNavigationIdle30

// Temporary Home Page Pixels
case privacyFeedHistoryLinkOpened

// Dashboard
case dashboardProtectionAllowlistAdd(triggerOrigin: String?)
case dashboardProtectionAllowlistRemove(triggerOrigin: String?)
Expand Down Expand Up @@ -695,6 +698,9 @@ enum GeneralPixel: PixelKitEventV2 {
case .duckPlayerYouTubeNavigationIdle30:
return "duckplayer_youtube_overlay_idle-30"

case .privacyFeedHistoryLinkOpened:
return "privacy_feed_history_link_opened"

case .dashboardProtectionAllowlistAdd:
return "mp_wla"
case .dashboardProtectionAllowlistRemove:
Expand Down

0 comments on commit da6c1e1

Please sign in to comment.