Skip to content

Commit

Permalink
Merge pull request #4589 from wikimedia/diff-user-menu-action-change
Browse files Browse the repository at this point in the history
Diff user menu action change
  • Loading branch information
mazevedofs authored Aug 3, 2023
2 parents 6bb6481 + a7b240f commit cbeb622
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 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/2.0.0"
case watchlist = "/analytics/mobile_apps/ios_watchlists/3.0.0"
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"location" : "https://github.com/wikimedia/wikipedia-ios-components.git",
"state" : {
"branch" : "main",
"revision" : "3e484e694759f137f92361d2e83cb3bce7b3b974"
"revision" : "6dafa78148de54647565fd04d1c32c8114869ef5"
}
},
{
Expand Down
8 changes: 4 additions & 4 deletions Wikipedia/Code/WatchlistFunnel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ final class WatchlistFunnel {
private enum Action: String, Codable {
case diffOpen = "diff_open"
case diffUserMenu = "diff_user_menu"
case diffUserMenuFrom = "diff_user_menu_from"
case diffUserMenuTo = "diff_user_menu_to"
case diffUserMenuPrevious = "diff_user_menu_previous"
case diffUserMenuDisplay = "diff_user_menu_display"
case diffUserPage = "diff_user_page"
case diffUserTalk = "diff_user_talk"
case diffUserContribution = "diff_user_contribution"
Expand Down Expand Up @@ -94,14 +94,14 @@ final class WatchlistFunnel {
guard let project else {
return
}
logEvent(action: .diffUserMenuFrom, project: project)
logEvent(action: .diffUserMenuPrevious, project: project)
}

func logDiffTapCompareToEditorName(project: WikimediaProject?) {
guard let project else {
return
}
logEvent(action: .diffUserMenuTo, project: project)
logEvent(action: .diffUserMenuDisplay, project: project)
}

func logDiffTapUserPage(project: WikimediaProject?) {
Expand Down
Binary file modified Wikipedia/iOS Native Localizations/en.lproj/Localizable.strings
Binary file not shown.

0 comments on commit cbeb622

Please sign in to comment.