Skip to content

Commit

Permalink
Mobile additions:
Browse files Browse the repository at this point in the history
* add screen for an Element Call started in a room
* add interaction for when tapping on the call button within a room
* add event for enabling the formatting option on the room's composer
  • Loading branch information
stefanceriu committed May 30, 2024
1 parent b7aafd2 commit de0cac4
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ data class Interaction(
*/
MobileRoomAddHome("MobileRoomAddHome"),

/**
* The user tapped the room's call button.
*/
MobileRoomCallButton("MobileRoomCallButton"),

/**
* The user enabled the formatting options on the message composer.
*/
MobileRoomComposerFormattingEnabled("MobileRoomComposerFormattingEnabled"),

/**
* User switched the favourite toggle on Room Details screen.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ data class MobileScreen(
*/
RoomAddresses("RoomAddresses"),

/**
* The user has started or joined a call in a room.
*/
RoomCall("RoomCall"),

/**
* The screen shown when tapping the name of a room from the Room
* screen.
Expand Down
2 changes: 2 additions & 0 deletions schemas/Interaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
{"const": "MobileRoomFavouriteToggle", "description": "User switched the favourite toggle on Room Details screen."},
{"const": "MobileRoomThreadListButton", "description": "User tapped on Threads button on Room screen."},
{"const": "MobileRoomThreadSummaryItem", "description": "User tapped on a thread summary item on Room screen."},
{"const": "MobileRoomComposerFormattingEnabled", "description": "The user enabled the formatting options on the message composer."},
{"const": "MobileRoomCallButton", "description": "The user tapped the room's call button."},
{"const": "MobileThreadListThreadItem", "description": "User selected a thread on ThreadList screen."},
{"const": "MobileThreadListFilterItem", "description": "User tapped on the filter button on ThreadList screen."},
{"const": "MobileAllChatsRecentsEnabled", "description": "User enabled recents from the all chats layout settings."},
Expand Down
3 changes: 2 additions & 1 deletion schemas/MobileScreen.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
{"const": "LocationSend", "description": "The screen shown to share location."},
{"const": "LocationView", "description": "The screen shown to view a shared location."},
{"const": "CreatePollView", "description": "The screen shown to create a poll."},
{"const": "EditPollView", "description": "The screen shown to edit a poll."}
{"const": "EditPollView", "description": "The screen shown to edit a poll."},
{"const": "RoomCall", "description": "The user has started or joined a call in a room."}
]
},
"durationMs": {
Expand Down
4 changes: 4 additions & 0 deletions types/swift/Interaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ extension AnalyticsEvent {
case MobileAllChatsRecentsEnabled = "MobileAllChatsRecentsEnabled"
/// User tapped on Add to Home button on Room Details screen.
case MobileRoomAddHome = "MobileRoomAddHome"
/// The user tapped the room's call button.
case MobileRoomCallButton = "MobileRoomCallButton"
/// The user enabled the formatting options on the message composer.
case MobileRoomComposerFormattingEnabled = "MobileRoomComposerFormattingEnabled"
/// User switched the favourite toggle on Room Details screen.
case MobileRoomFavouriteToggle = "MobileRoomFavouriteToggle"
/// User tapped on Leave Room button on Room Details screen.
Expand Down
2 changes: 2 additions & 0 deletions types/swift/MobileScreen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ extension AnalyticsEvent {
case Room = "Room"
/// The room addresses screen shown from the Room Details screen.
case RoomAddresses = "RoomAddresses"
/// The user has started or joined a call in a room.
case RoomCall = "RoomCall"
/// The screen shown when tapping the name of a room from the Room screen.
case RoomDetails = "RoomDetails"
/// The screen that lists public rooms for you to discover.
Expand Down

0 comments on commit de0cac4

Please sign in to comment.