Skip to content

Commit

Permalink
Add interaction type for making room list rooms as unread or favourite
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Feb 2, 2024
1 parent 8c698b4 commit 28d1e65
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
4 changes: 3 additions & 1 deletion schemas/Interaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@
{"const": "MobileAllChatsFilterFavourites", "description": "User tapped the Favourites filter in the All Chats filter tab."},
{"const": "MobileAllChatsFilterUnreads", "description": "User tapped the Unreads filter in the All Chats filter tab."},
{"const": "MobileAllChatsFilterPeople", "description": "User tapped the People filter in the All Chats filter tab."},
{"const": "MobileSpaceCreationValidated", "description": "User validated the creation of a new space."}
{"const": "MobileSpaceCreationValidated", "description": "User validated the creation of a new space."},
{"const": "MobileRoomListRoomContextMenuUnreadToggle", "description": "User adjusted their unread rooms using the context menu on a room in the room list"},
{"const": "MobileRoomListRoomContextMenuFavouriteToggle", "description": "User adjusted their favourites using the context menu on a room in the room list"}
]
},
"index": {
Expand Down
12 changes: 12 additions & 0 deletions types/kotlin2/Interaction.kt
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,18 @@ data class Interaction(
*/
MobileRoomLeave,

/**
* User adjusted their favourites using the context menu on a room in
* the room list
*/
MobileRoomListRoomContextMenuFavouriteToggle,

/**
* User adjusted their unread rooms using the context menu on a room in
* the room list
*/
MobileRoomListRoomContextMenuUnreadToggle,

/**
* User tapped on Threads button on Room screen.
*/
Expand Down
4 changes: 4 additions & 0 deletions types/swift/Interaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ extension AnalyticsEvent {
case MobileRoomAddHome
/// User tapped on Leave Room button on Room Details screen.
case MobileRoomLeave
/// User adjusted their favourites using the context menu on a room in the room list
case MobileRoomListRoomContextMenuFavouriteToggle
/// User adjusted their unread rooms using the context menu on a room in the room list
case MobileRoomListRoomContextMenuUnreadToggle
/// User tapped on Threads button on Room screen.
case MobileRoomThreadListButton
/// User tapped on a thread summary item on Room screen.
Expand Down

0 comments on commit 28d1e65

Please sign in to comment.