Skip to content

Commit

Permalink
Merge pull request #100 from matrix-org/dbkr/mark_all_threads_read_ev…
Browse files Browse the repository at this point in the history
…ents

Event for marking all threads read on web/desktop
  • Loading branch information
dbkr authored Apr 2, 2024
2 parents b79748f + 57345ca commit d98781b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,12 @@ data class Interaction(
*/
WebThreadsActivityCentreRoomItem,

/**
* User clicked on the button to mark all threads in a room as read in
* Element Web/Desktop.
*/
WebThreadsMarkAllReadButton,

/**
* User selected a thread in the Threads panel in Element Web/Desktop.
*/
Expand Down
1 change: 1 addition & 0 deletions schemas/Interaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
{"const": "WebThreadsPanelThreadItem", "description": "User selected a thread in the Threads panel in Element Web/Desktop." },
{"const": "WebThreadsActivityCentreButton", "description": "User clicked on the Threads Activity Centre button of Element Web/Desktop." },
{"const": "WebThreadsActivityCentreRoomItem", "description": "User clicked on a room in the Threads Activity Centre of Element Web/Desktop." },
{"const": "WebThreadsMarkAllReadButton", "description": "User clicked on the button to mark all threads in a room as read in Element Web/Desktop." },
{"const": "WebRoomTimelineThreadSummaryButton", "description": "User clicked a thread summary in the timeline of a room in Element Web/Desktop." },
{"const": "WebUserOnboardingHeaderSendDm", "description": "User clicked on the send DM CTA in the header of the new user onboarding page in Element Web/Desktop." },
{"const": "WebUserOnboardingTaskSendDm", "description": "User clicked on the action of the find people task on the new user onboarding page in Element Web/Desktop." },
Expand Down
2 changes: 2 additions & 0 deletions types/swift/Interaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ extension AnalyticsEvent {
case WebThreadsActivityCentreButton
/// User clicked on a room in the Threads Activity Centre of Element Web/Desktop.
case WebThreadsActivityCentreRoomItem
/// User clicked on the button to mark all threads in a room as read in Element Web/Desktop.
case WebThreadsMarkAllReadButton
/// User selected a thread in the Threads panel in Element Web/Desktop.
case WebThreadsPanelThreadItem
/// User clicked the theme toggle button in the user menu of Element Web/Desktop.
Expand Down

0 comments on commit d98781b

Please sign in to comment.