Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add interaction events for the activity toggles #101

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,17 @@ data class Interaction(
*/
WebSettingsAppearanceTabThemeSelector,

/**
* User toggled the 'Notifications.showbold' in Element Web/Desktop.
*/
WebSettingsNotificationsShowBoldToggle,

/**
* User toggled the 'Notifications.tac_only_notifications' in Element
* Web/Desktop.
*/
WebSettingsNotificationsTACOnlyNotificationsToggle,

/**
* User interacted with the pre-built space checkboxes in the Sidebar
* tab of Settings in Element Web/Desktop.
Expand Down
2 changes: 2 additions & 0 deletions schemas/Interaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"oneOf": [
{"const": "WebRoomListRoomTileContextMenuFavouriteToggle", "description": "User adjusted their favourites using the context menu on a room tile in the room list in Element Web/Desktop." },
{"const": "WebRoomHeaderContextMenuFavouriteToggle", "description": "User adjusted their favourites using the context menu on the header of a room in Element Web/Desktop." },
{"const": "WebSettingsNotificationsShowBoldToggle", "description": "User toggled the 'Notifications.showbold' in Element Web/Desktop." },
{"const": "WebSettingsNotificationsTACOnlyNotificationsToggle", "description": "User toggled the 'Notifications.tac_only_notifications' in Element Web/Desktop." },
{"const": "WebRoomListRoomTileNotificationsMenu", "description": "User accessed their room notification settings via the context menu on a room tile in the room list in Element Web/Desktop." },
{"const": "WebRoomHeaderContextMenuNotificationsItem", "description": "User accessed their room notification settings via the context menu on the header of a room in Element Web/Desktop." },
{"const": "WebRoomHeaderContextMenuPeopleItem", "description": "User accessed room member list using the context menu on the header of a room in Element Web/Desktop." },
Expand Down
4 changes: 4 additions & 0 deletions types/swift/Interaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ extension AnalyticsEvent {
case WebRoomTimelineThreadSummaryButton
/// User interacted with the theme radio selector in the Appearance tab of Settings in Element Web/Desktop.
case WebSettingsAppearanceTabThemeSelector
/// User toggled the 'Notifications.showbold' in Element Web/Desktop.
case WebSettingsNotificationsShowBoldToggle
/// User toggled the 'Notifications.tac_only_notifications' in Element Web/Desktop.
case WebSettingsNotificationsTACOnlyNotificationsToggle
/// User interacted with the pre-built space checkboxes in the Sidebar tab of Settings in Element Web/Desktop.
case WebSettingsSidebarTabSpacesCheckbox
/// User clicked the explore rooms button in the context menu of a space in Element Web/Desktop.
Expand Down
Loading