Skip to content

Commit

Permalink
Merge pull request #4587 from wikimedia/change-diff-open
Browse files Browse the repository at this point in the history
Change watchlists version number and diff open action name
  • Loading branch information
mazevedofs authored Aug 2, 2023
2 parents 828fdfb + 6ff9c7e commit 6bb6481
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WMF Framework/Event Platform/EventPlatformClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ import CocoaLumberjackSwift
case login = "/analytics/mobile_apps/ios_login_action/1.0.2"
case navigation = "/analytics/mobile_apps/ios_navigation_events/1.0.0"
case editAttempt = "/analytics/legacy/editattemptstep/1.4.0"
case watchlist = "/analytics/mobile_apps/ios_watchlists/1.0.0"
case watchlist = "/analytics/mobile_apps/ios_watchlists/2.0.0"
}

/**
Expand Down
4 changes: 2 additions & 2 deletions Wikipedia/Code/WatchlistFunnel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ final class WatchlistFunnel {
static let shared = WatchlistFunnel()

private enum Action: String, Codable {
case openDiff = "open_diff"
case diffOpen = "diff_open"
case diffUserMenu = "diff_user_menu"
case diffUserMenuFrom = "diff_user_menu_from"
case diffUserMenuTo = "diff_user_menu_to"
Expand Down Expand Up @@ -80,7 +80,7 @@ final class WatchlistFunnel {
guard let project else {
return
}
logEvent(action: .openDiff, project: project)
logEvent(action: .diffOpen, project: project)
}

func logDiffTapSingleEditorName(project: WikimediaProject?) {
Expand Down

0 comments on commit 6bb6481

Please sign in to comment.