Skip to content

Commit d817a25

Browse files
authored
Merge pull request #117 from matrix-org/t3chguy/improve-scripts
2 parents 1f10e0a + d08e2b2 commit d817a25

File tree

10 files changed

+10
-616
lines changed

10 files changed

+10
-616
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
- name: 📕 Validate
3131
run: yarn build
3232

33+
- run: git diff --exit-code
34+
3335
- name: 📕 Validate TS
3436
run: yarn build:ts
3537

kotlin/lib/src/main/java/im/vector/app/features/analytics/plan/Interaction.kt

Lines changed: 0 additions & 373 deletions
Original file line numberDiff line numberDiff line change
@@ -204,379 +204,6 @@ data class Interaction(
204204
* switching should occur.
205205
*/
206206
SpacePanelSwitchSubSpace("SpacePanelSwitchSubSpace"),
207-
208-
/**
209-
* User clicked the create room button in the add existing room to space
210-
* dialog in Element Web/Desktop.
211-
*/
212-
WebAddExistingToSpaceDialogCreateRoomButton("WebAddExistingToSpaceDialogCreateRoomButton"),
213-
214-
/**
215-
* User clicked the create DM button in the home page of Element
216-
* Web/Desktop.
217-
*/
218-
WebHomeCreateChatButton("WebHomeCreateChatButton"),
219-
220-
/**
221-
* User clicked the create room button in the home page of Element
222-
* Web/Desktop.
223-
*/
224-
WebHomeCreateRoomButton("WebHomeCreateRoomButton"),
225-
226-
/**
227-
* User clicked the explore rooms button in the home page of Element
228-
* Web/Desktop.
229-
*/
230-
WebHomeExploreRoomsButton("WebHomeExploreRoomsButton"),
231-
232-
/**
233-
* User clicked on the mini avatar uploader in the home page of Element
234-
* Web/Desktop.
235-
*/
236-
WebHomeMiniAvatarUploadButton("WebHomeMiniAvatarUploadButton"),
237-
238-
/**
239-
* User clicked the explore rooms button next to the search field at the
240-
* top of the left panel in Element Web/Desktop.
241-
*/
242-
WebLeftPanelExploreRoomsButton("WebLeftPanelExploreRoomsButton"),
243-
244-
/**
245-
* User clicked on the avatar uploader in the profile settings of
246-
* Element Web/Desktop.
247-
*/
248-
WebProfileSettingsAvatarUploadButton("WebProfileSettingsAvatarUploadButton"),
249-
250-
/**
251-
* User interacted with pin to sidebar checkboxes in the quick settings
252-
* menu of Element Web/Desktop.
253-
*/
254-
WebQuickSettingsPinToSidebarCheckbox("WebQuickSettingsPinToSidebarCheckbox"),
255-
256-
/**
257-
* User interacted with the theme dropdown in the quick settings menu of
258-
* Element Web/Desktop.
259-
*/
260-
WebQuickSettingsThemeDropdown("WebQuickSettingsThemeDropdown"),
261-
262-
/**
263-
* User accessed the room invite flow using the button at the top of the
264-
* room member list in the right panel of Element Web/Desktop.
265-
*/
266-
WebRightPanelMemberListInviteButton("WebRightPanelMemberListInviteButton"),
267-
268-
/**
269-
* User accessed room member list using the 'People' button in the right
270-
* panel room summary card of Element Web/Desktop.
271-
*/
272-
WebRightPanelRoomInfoPeopleButton("WebRightPanelRoomInfoPeopleButton"),
273-
274-
/**
275-
* User accessed room settings using the 'Settings' button in the right
276-
* panel room summary card of Element Web/Desktop.
277-
*/
278-
WebRightPanelRoomInfoSettingsButton("WebRightPanelRoomInfoSettingsButton"),
279-
280-
/**
281-
* User accessed room member list using the back button in the right
282-
* panel user info card of Element Web/Desktop.
283-
*/
284-
WebRightPanelRoomUserInfoBackButton("WebRightPanelRoomUserInfoBackButton"),
285-
286-
/**
287-
* User invited someone to room by clicking invite on the right panel
288-
* user info card in Element Web/Desktop.
289-
*/
290-
WebRightPanelRoomUserInfoInviteButton("WebRightPanelRoomUserInfoInviteButton"),
291-
292-
/**
293-
* User clicked the threads 'show' filter dropdown in the threads panel
294-
* in Element Web/Desktop.
295-
*/
296-
WebRightPanelThreadPanelFilterDropdown("WebRightPanelThreadPanelFilterDropdown"),
297-
298-
/**
299-
* User clicked the create room button in the room directory of Element
300-
* Web/Desktop.
301-
*/
302-
WebRoomDirectoryCreateRoomButton("WebRoomDirectoryCreateRoomButton"),
303-
304-
/**
305-
* User clicked the Threads button in the top right of a room in Element
306-
* Web/Desktop.
307-
*/
308-
WebRoomHeaderButtonsThreadsButton("WebRoomHeaderButtonsThreadsButton"),
309-
310-
/**
311-
* User adjusted their favourites using the context menu on the header
312-
* of a room in Element Web/Desktop.
313-
*/
314-
WebRoomHeaderContextMenuFavouriteToggle("WebRoomHeaderContextMenuFavouriteToggle"),
315-
316-
/**
317-
* User accessed the room invite flow using the context menu on the
318-
* header of a room in Element Web/Desktop.
319-
*/
320-
WebRoomHeaderContextMenuInviteItem("WebRoomHeaderContextMenuInviteItem"),
321-
322-
/**
323-
* User interacted with leave action in the context menu on the header
324-
* of a room in Element Web/Desktop.
325-
*/
326-
WebRoomHeaderContextMenuLeaveItem("WebRoomHeaderContextMenuLeaveItem"),
327-
328-
/**
329-
* User accessed their room notification settings via the context menu
330-
* on the header of a room in Element Web/Desktop.
331-
*/
332-
WebRoomHeaderContextMenuNotificationsItem("WebRoomHeaderContextMenuNotificationsItem"),
333-
334-
/**
335-
* User accessed room member list using the context menu on the header
336-
* of a room in Element Web/Desktop.
337-
*/
338-
WebRoomHeaderContextMenuPeopleItem("WebRoomHeaderContextMenuPeopleItem"),
339-
340-
/**
341-
* User accessed room settings using the context menu on the header of a
342-
* room in Element Web/Desktop.
343-
*/
344-
WebRoomHeaderContextMenuSettingsItem("WebRoomHeaderContextMenuSettingsItem"),
345-
346-
/**
347-
* User clicked the create DM button in the + context menu of the room
348-
* list header in Element Web/Desktop.
349-
*/
350-
WebRoomListHeaderPlusMenuCreateChatItem("WebRoomListHeaderPlusMenuCreateChatItem"),
351-
352-
/**
353-
* User clicked the create room button in the + context menu of the room
354-
* list header in Element Web/Desktop.
355-
*/
356-
WebRoomListHeaderPlusMenuCreateRoomItem("WebRoomListHeaderPlusMenuCreateRoomItem"),
357-
358-
/**
359-
* User clicked the explore rooms button in the + context menu of the
360-
* room list header in Element Web/Desktop.
361-
*/
362-
WebRoomListHeaderPlusMenuExploreRoomsItem("WebRoomListHeaderPlusMenuExploreRoomsItem"),
363-
364-
/**
365-
* User adjusted their favourites using the context menu on a room tile
366-
* in the room list in Element Web/Desktop.
367-
*/
368-
WebRoomListRoomTileContextMenuFavouriteToggle("WebRoomListRoomTileContextMenuFavouriteToggle"),
369-
370-
/**
371-
* User accessed the room invite flow using the context menu on a room
372-
* tile in the room list in Element Web/Desktop.
373-
*/
374-
WebRoomListRoomTileContextMenuInviteItem("WebRoomListRoomTileContextMenuInviteItem"),
375-
376-
/**
377-
* User interacted with leave action in the context menu on a room tile
378-
* in the room list in Element Web/Desktop.
379-
*/
380-
WebRoomListRoomTileContextMenuLeaveItem("WebRoomListRoomTileContextMenuLeaveItem"),
381-
382-
/**
383-
* User marked a message as read using the context menu on a room tile
384-
* in the room list in Element Web/Desktop.
385-
*/
386-
WebRoomListRoomTileContextMenuMarkRead("WebRoomListRoomTileContextMenuMarkRead"),
387-
388-
/**
389-
* User marked a room as unread using the context menu on a room tile in
390-
* the room list in Element Web/Desktop.
391-
*/
392-
WebRoomListRoomTileContextMenuMarkUnread("WebRoomListRoomTileContextMenuMarkUnread"),
393-
394-
/**
395-
* User accessed room settings using the context menu on a room tile in
396-
* the room list in Element Web/Desktop.
397-
*/
398-
WebRoomListRoomTileContextMenuSettingsItem("WebRoomListRoomTileContextMenuSettingsItem"),
399-
400-
/**
401-
* User accessed their room notification settings via the context menu
402-
* on a room tile in the room list in Element Web/Desktop.
403-
*/
404-
WebRoomListRoomTileNotificationsMenu("WebRoomListRoomTileNotificationsMenu"),
405-
406-
/**
407-
* User clicked the create DM button in the + context menu of the rooms
408-
* sublist in Element Web/Desktop.
409-
*/
410-
WebRoomListRoomsSublistPlusMenuCreateChatItem("WebRoomListRoomsSublistPlusMenuCreateChatItem"),
411-
412-
/**
413-
* User clicked the create room button in the + context menu of the
414-
* rooms sublist in Element Web/Desktop.
415-
*/
416-
WebRoomListRoomsSublistPlusMenuCreateRoomItem("WebRoomListRoomsSublistPlusMenuCreateRoomItem"),
417-
418-
/**
419-
* User clicked the explore rooms button in the + context menu of the
420-
* rooms sublist in Element Web/Desktop.
421-
*/
422-
WebRoomListRoomsSublistPlusMenuExploreRoomsItem("WebRoomListRoomsSublistPlusMenuExploreRoomsItem"),
423-
424-
/**
425-
* User clicked on the button to return to the user onboarding list in
426-
* the room list in Element Web/Desktop.
427-
*/
428-
WebRoomListUserOnboardingButton("WebRoomListUserOnboardingButton"),
429-
430-
/**
431-
* User clicked on the button to close the user onboarding button in the
432-
* room list in Element Web/Desktop.
433-
*/
434-
WebRoomListUserOnboardingIgnoreButton("WebRoomListUserOnboardingIgnoreButton"),
435-
436-
/**
437-
* User interacted with leave action in the general tab of the room
438-
* settings dialog in Element Web/Desktop.
439-
*/
440-
WebRoomSettingsLeaveButton("WebRoomSettingsLeaveButton"),
441-
442-
/**
443-
* User interacted with the prompt to create a new room when adjusting
444-
* security settings in an existing room in Element Web/Desktop.
445-
*/
446-
WebRoomSettingsSecurityTabCreateNewRoomButton("WebRoomSettingsSecurityTabCreateNewRoomButton"),
447-
448-
/**
449-
* User clicked a thread summary in the timeline of a room in Element
450-
* Web/Desktop.
451-
*/
452-
WebRoomTimelineThreadSummaryButton("WebRoomTimelineThreadSummaryButton"),
453-
454-
/**
455-
* User interacted with the theme radio selector in the Appearance tab
456-
* of Settings in Element Web/Desktop.
457-
*/
458-
WebSettingsAppearanceTabThemeSelector("WebSettingsAppearanceTabThemeSelector"),
459-
460-
/**
461-
* User toggled the 'Notifications.showbold' in Element Web/Desktop.
462-
*/
463-
WebSettingsNotificationsShowBoldToggle("WebSettingsNotificationsShowBoldToggle"),
464-
465-
/**
466-
* User toggled the 'Notifications.tac_only_notifications' in Element
467-
* Web/Desktop.
468-
*/
469-
WebSettingsNotificationsTACOnlyNotificationsToggle("WebSettingsNotificationsTACOnlyNotificationsToggle"),
470-
471-
/**
472-
* User interacted with the pre-built space checkboxes in the Sidebar
473-
* tab of Settings in Element Web/Desktop.
474-
*/
475-
WebSettingsSidebarTabSpacesCheckbox("WebSettingsSidebarTabSpacesCheckbox"),
476-
477-
/**
478-
* User clicked the explore rooms button in the context menu of a space
479-
* in Element Web/Desktop.
480-
*/
481-
WebSpaceContextMenuExploreRoomsItem("WebSpaceContextMenuExploreRoomsItem"),
482-
483-
/**
484-
* User clicked the home button in the context menu of a space in
485-
* Element Web/Desktop.
486-
*/
487-
WebSpaceContextMenuHomeItem("WebSpaceContextMenuHomeItem"),
488-
489-
/**
490-
* User clicked the new room button in the context menu of a space in
491-
* Element Web/Desktop.
492-
*/
493-
WebSpaceContextMenuNewRoomItem("WebSpaceContextMenuNewRoomItem"),
494-
495-
/**
496-
* User clicked the new room button in the context menu on the space
497-
* home in Element Web/Desktop.
498-
*/
499-
WebSpaceHomeCreateRoomButton("WebSpaceHomeCreateRoomButton"),
500-
501-
/**
502-
* User clicked the back button on a Thread view going back to the
503-
* Threads Panel of Element Web/Desktop.
504-
*/
505-
WebThreadViewBackButton("WebThreadViewBackButton"),
506-
507-
/**
508-
* User clicked on the Threads Activity Centre button of Element
509-
* Web/Desktop.
510-
*/
511-
WebThreadsActivityCentreButton("WebThreadsActivityCentreButton"),
512-
513-
/**
514-
* User clicked on a room in the Threads Activity Centre of Element
515-
* Web/Desktop.
516-
*/
517-
WebThreadsActivityCentreRoomItem("WebThreadsActivityCentreRoomItem"),
518-
519-
/**
520-
* User clicked on the button to mark all threads in a room as read in
521-
* Element Web/Desktop.
522-
*/
523-
WebThreadsMarkAllReadButton("WebThreadsMarkAllReadButton"),
524-
525-
/**
526-
* User selected a thread in the Threads panel in Element Web/Desktop.
527-
*/
528-
WebThreadsPanelThreadItem("WebThreadsPanelThreadItem"),
529-
530-
/**
531-
* User clicked the theme toggle button in the user menu of Element
532-
* Web/Desktop.
533-
*/
534-
WebUserMenuThemeToggleButton("WebUserMenuThemeToggleButton"),
535-
536-
/**
537-
* User clicked on the send DM CTA in the header of the new user
538-
* onboarding page in Element Web/Desktop.
539-
*/
540-
WebUserOnboardingHeaderSendDm("WebUserOnboardingHeaderSendDm"),
541-
542-
/**
543-
* User clicked on the action of the download apps task on the new user
544-
* onboarding page in Element Web/Desktop.
545-
*/
546-
WebUserOnboardingTaskDownloadApps("WebUserOnboardingTaskDownloadApps"),
547-
548-
/**
549-
* User clicked on the action of the enable notifications task on the
550-
* new user onboarding page in Element Web/Desktop.
551-
*/
552-
WebUserOnboardingTaskEnableNotifications("WebUserOnboardingTaskEnableNotifications"),
553-
554-
/**
555-
* User clicked on the action of the find people task on the new user
556-
* onboarding page in Element Web/Desktop.
557-
*/
558-
WebUserOnboardingTaskSendDm("WebUserOnboardingTaskSendDm"),
559-
560-
/**
561-
* User clicked on the action of the your profile task on the new user
562-
* onboarding page in Element Web/Desktop.
563-
*/
564-
WebUserOnboardingTaskSetupProfile("WebUserOnboardingTaskSetupProfile"),
565-
566-
/**
567-
* The user chose the Element Call option.
568-
*/
569-
WebVoipOptionElementCall("WebVoipOptionElementCall"),
570-
571-
/**
572-
* The user chose the Jitsi call option.
573-
*/
574-
WebVoipOptionJitsi("WebVoipOptionJitsi"),
575-
576-
/**
577-
* The user chose the legacy call option.
578-
*/
579-
WebVoipOptionLegacy("WebVoipOptionLegacy"),
580207
}
581208

582209
enum class InteractionType(val rawValue: String) {

0 commit comments

Comments
 (0)