mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
App Layout: Add usage measures
This commit is contained in:
@@ -24,7 +24,17 @@ import AnalyticsEvents
|
||||
case threadListFilterItem
|
||||
case spacePanelSelectedSpace
|
||||
case spacePanelSwitchSpace
|
||||
|
||||
case spacePanelSwitchSubSpace
|
||||
case allChatsRecentsEnabled
|
||||
case allChatsRecentsDisabled
|
||||
case allChatsFiltersEnabled
|
||||
case allChatsFiltersDisabled
|
||||
case allChatsFilterAll
|
||||
case allChatsFilterFavourites
|
||||
case allChatsFilterUnreads
|
||||
case allChatsFilterPeople
|
||||
case spaceCreationValidated
|
||||
|
||||
/// The element name reported to the AnalyticsEvent.
|
||||
var name: AnalyticsEvent.Interaction.Name {
|
||||
switch self {
|
||||
@@ -40,6 +50,26 @@ import AnalyticsEvents
|
||||
return .SpacePanelSelectedSpace
|
||||
case .spacePanelSwitchSpace:
|
||||
return .SpacePanelSwitchSpace
|
||||
case .spacePanelSwitchSubSpace:
|
||||
return .SpacePanelSwitchSubSpace
|
||||
case .allChatsRecentsEnabled:
|
||||
return .MobileAllChatsRecentsEnabled
|
||||
case .allChatsRecentsDisabled:
|
||||
return .MobileAllChatsRecentsDisabled
|
||||
case .allChatsFiltersEnabled:
|
||||
return .MobileAllChatsFiltersEnabled
|
||||
case .allChatsFiltersDisabled:
|
||||
return .MobileAllChatsFiltersDisabled
|
||||
case .allChatsFilterAll:
|
||||
return .MobileAllChatsFilterAll
|
||||
case .allChatsFilterFavourites:
|
||||
return .MobileAllChatsFilterFavourites
|
||||
case .allChatsFilterUnreads:
|
||||
return .MobileAllChatsFilterUnreads
|
||||
case .allChatsFilterPeople:
|
||||
return .MobileAllChatsFilterPeople
|
||||
case .spaceCreationValidated:
|
||||
return .MobileSpaceCreationValidated
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user