Skip to content

Commit

Permalink
Add interaction for enabling/disabling optimised media uploads. (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave authored Oct 24, 2024
1 parent c9ad6c2 commit 632f426
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,16 @@ data class Interaction(
*/
MobileRoomThreadSummaryItem("MobileRoomThreadSummaryItem"),

/**
* User disabled the Optimised Media Uploads setting.
*/
MobileSettingsOptimizeMediaUploadsDisabled("MobileSettingsOptimizeMediaUploadsDisabled"),

/**
* User enabled the Optimised Media Uploads setting.
*/
MobileSettingsOptimizeMediaUploadsEnabled("MobileSettingsOptimizeMediaUploadsEnabled"),

/**
* User validated the creation of a new space.
*/
Expand Down
4 changes: 3 additions & 1 deletion schemas/Interaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@
{"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": "MobileRoomListRoomContextMenuUnreadToggle", "description": "User adjusted their unread rooms using the context menu on a room in the room list."},
{"const": "MobileRoomListRoomContextMenuFavouriteToggle", "description": "User adjusted their favourite rooms using the context menu on a room in the room list."}
{"const": "MobileRoomListRoomContextMenuFavouriteToggle", "description": "User adjusted their favourite rooms using the context menu on a room in the room list."},
{"const": "MobileSettingsOptimizeMediaUploadsEnabled", "description": "User enabled the Optimised Media Uploads setting."},
{"const": "MobileSettingsOptimizeMediaUploadsDisabled", "description": "User disabled the Optimised Media Uploads setting."}
]
},
"index": {
Expand Down
4 changes: 4 additions & 0 deletions types/swift/Interaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ extension AnalyticsEvent {
case MobileRoomThreadListButton = "MobileRoomThreadListButton"
/// User tapped on a thread summary item on Room screen.
case MobileRoomThreadSummaryItem = "MobileRoomThreadSummaryItem"
/// User disabled the Optimised Media Uploads setting.
case MobileSettingsOptimizeMediaUploadsDisabled = "MobileSettingsOptimizeMediaUploadsDisabled"
/// User enabled the Optimised Media Uploads setting.
case MobileSettingsOptimizeMediaUploadsEnabled = "MobileSettingsOptimizeMediaUploadsEnabled"
/// User validated the creation of a new space.
case MobileSpaceCreationValidated = "MobileSpaceCreationValidated"
/// User tapped on the filter button on ThreadList screen.
Expand Down

0 comments on commit 632f426

Please sign in to comment.