merged element 1.8.10

This commit is contained in:
Arnfried Griesert
2022-05-03 12:48:01 +02:00
1235 changed files with 50869 additions and 23132 deletions
@@ -17,8 +17,30 @@
import AnalyticsEvents
/// A tappable UI element that can be track in Analytics.
/// A tappable UI element that can be tracked in Analytics.
@objc enum AnalyticsUIElement: Int {
case sendMessageButton
case roomThreadListButton
case roomThreadSummaryItem
case threadListThreadItem
case threadListFilterItem
case spacePanelSelectedSpace
case spacePanelSwitchSpace
/// The element name reported to the AnalyticsEvent.
var name: AnalyticsEvent.Interaction.Name {
switch self {
case .roomThreadListButton:
return .MobileRoomThreadListButton
case .roomThreadSummaryItem:
return .MobileRoomThreadSummaryItem
case .threadListThreadItem:
return .MobileThreadListThreadItem
case .threadListFilterItem:
return .MobileThreadListFilterItem
case .spacePanelSelectedSpace:
return .SpacePanelSelectedSpace
case .spacePanelSwitchSpace:
return .SpacePanelSwitchSpace
}
}
}