diff --git a/kotlin/lib/src/main/java/im/vector/app/features/analytics/plan/Interaction.kt b/kotlin/lib/src/main/java/im/vector/app/features/analytics/plan/Interaction.kt index 58610a8..3f1ce2c 100644 --- a/kotlin/lib/src/main/java/im/vector/app/features/analytics/plan/Interaction.kt +++ b/kotlin/lib/src/main/java/im/vector/app/features/analytics/plan/Interaction.kt @@ -188,6 +188,53 @@ data class Interaction( */ PinnedMessageStateEventClick("PinnedMessageStateEventClick"), + /** + * User clicked on the button to collapse the room list filters. + */ + RoomListFilterCollapse("RoomListFilterCollapse"), + + /** + * User clicked on the button to expand the room list filters. + */ + RoomListFilterExpand("RoomListFilterExpand"), + + /** + * User clicked on the button to filter favourites in the room list. + */ + RoomListFilterFavourites("RoomListFilterFavourites"), + + /** + * User clicked on the button to filter invites in the room list. + */ + RoomListFilterInvites("RoomListFilterInvites"), + + /** + * User clicked on the button to filter low priority messages in the + * room list. + */ + RoomListFilterLowPriority("RoomListFilterLowPriority"), + + /** + * User clicked on the button to filter mentions in the room list. + */ + RoomListFilterMentions("RoomListFilterMentions"), + + /** + * User clicked on the button to filter people in the room list. + */ + RoomListFilterPeople("RoomListFilterPeople"), + + /** + * User clicked on the button to filter rooms in the room list. + */ + RoomListFilterRooms("RoomListFilterRooms"), + + /** + * User clicked on the button to filter unread messages in the room + * list. + */ + RoomListFilterUnreads("RoomListFilterUnreads"), + /** * User tapped the already selected space from the space list. */ diff --git a/schemas/Interaction.json b/schemas/Interaction.json index 4bf0192..dea0f97 100644 --- a/schemas/Interaction.json +++ b/schemas/Interaction.json @@ -80,6 +80,16 @@ {"const": "PinnedMessageRoomInfoButton", "description": "User clicked on the Pinned messages menu item from the Room Info on Mobile and Element Web/Desktop." }, {"const": "PinnedMessageStateEventClick", "description": "User clicked on the Pinned messages state event in the timeline on Mobile and Element Web/Desktop." }, + {"const": "RoomListFilterUnreads", "description": "User clicked on the button to filter unread messages in the room list." }, + {"const": "RoomListFilterPeople", "description": "User clicked on the button to filter people in the room list." }, + {"const": "RoomListFilterRooms", "description": "User clicked on the button to filter rooms in the room list." }, + {"const": "RoomListFilterMentions", "description": "User clicked on the button to filter mentions in the room list." }, + {"const": "RoomListFilterInvites", "description": "User clicked on the button to filter invites in the room list." }, + {"const": "RoomListFilterFavourites", "description": "User clicked on the button to filter favourites in the room list." }, + {"const": "RoomListFilterLowPriority", "description": "User clicked on the button to filter low priority messages in the room list." }, + {"const": "RoomListFilterExpand", "description": "User clicked on the button to expand the room list filters." }, + {"const": "RoomListFilterCollapse", "description": "User clicked on the button to collapse the room list filters." }, + {"const": "SpacePanelSelectedSpace", "description": "User tapped the already selected space from the space list."}, {"const": "SpacePanelSwitchSpace", "description": "User tapped an unselected space from the space list -> space switching should occur."}, {"const": "SpacePanelSwitchSubSpace", "description": "User tapped an unselected sub space from the space list -> space switching should occur."}, diff --git a/types/swift/Interaction.swift b/types/swift/Interaction.swift index 9da9785..d9b706a 100644 --- a/types/swift/Interaction.swift +++ b/types/swift/Interaction.swift @@ -94,6 +94,24 @@ extension AnalyticsEvent { case PinnedMessageRoomInfoButton = "PinnedMessageRoomInfoButton" /// User clicked on the Pinned messages state event in the timeline on Mobile and Element Web/Desktop. case PinnedMessageStateEventClick = "PinnedMessageStateEventClick" + /// User clicked on the button to collapse the room list filters. + case RoomListFilterCollapse = "RoomListFilterCollapse" + /// User clicked on the button to expand the room list filters. + case RoomListFilterExpand = "RoomListFilterExpand" + /// User clicked on the button to filter favourites in the room list. + case RoomListFilterFavourites = "RoomListFilterFavourites" + /// User clicked on the button to filter invites in the room list. + case RoomListFilterInvites = "RoomListFilterInvites" + /// User clicked on the button to filter low priority messages in the room list. + case RoomListFilterLowPriority = "RoomListFilterLowPriority" + /// User clicked on the button to filter mentions in the room list. + case RoomListFilterMentions = "RoomListFilterMentions" + /// User clicked on the button to filter people in the room list. + case RoomListFilterPeople = "RoomListFilterPeople" + /// User clicked on the button to filter rooms in the room list. + case RoomListFilterRooms = "RoomListFilterRooms" + /// User clicked on the button to filter unread messages in the room list. + case RoomListFilterUnreads = "RoomListFilterUnreads" /// User tapped the already selected space from the space list. case SpacePanelSelectedSpace = "SpacePanelSelectedSpace" /// User tapped an unselected space from the space list -> space switching should occur.