mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Detekt: enable and fix EndOfSentenceFormat for analytics plan
Will require https://github.com/matrix-org/matrix-analytics-events/pull/63 for long term solution
This commit is contained in:
parent
4c95aafe10
commit
c25845b959
5 changed files with 27 additions and 27 deletions
|
@ -22,11 +22,11 @@ import im.vector.app.features.analytics.itf.VectorAnalyticsEvent
|
||||||
// https://github.com/matrix-org/matrix-analytics-events/
|
// https://github.com/matrix-org/matrix-analytics-events/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Triggered when an error occurred
|
* Triggered when an error occurred.
|
||||||
*/
|
*/
|
||||||
data class Error(
|
data class Error(
|
||||||
/**
|
/**
|
||||||
* Context - client defined, can be used for debugging
|
* Context - client defined, can be used for debugging.
|
||||||
*/
|
*/
|
||||||
val context: String? = null,
|
val context: String? = null,
|
||||||
val domain: Domain,
|
val domain: Domain,
|
||||||
|
|
|
@ -50,7 +50,7 @@ data class JoinedRoom(
|
||||||
Invite,
|
Invite,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Room joined via link
|
* Room joined via link.
|
||||||
*/
|
*/
|
||||||
MobilePermalink,
|
MobilePermalink,
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ import im.vector.app.features.analytics.itf.VectorAnalyticsScreen
|
||||||
// https://github.com/matrix-org/matrix-analytics-events/
|
// https://github.com/matrix-org/matrix-analytics-events/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Triggered when the user changed screen on Element Android/iOS
|
* Triggered when the user changed screen on Element Android/iOS.
|
||||||
*/
|
*/
|
||||||
data class MobileScreen(
|
data class MobileScreen(
|
||||||
/**
|
/**
|
||||||
|
@ -59,7 +59,7 @@ data class MobileScreen(
|
||||||
Favourites,
|
Favourites,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The form for the forgot password use case
|
* The form for the forgot password use case.
|
||||||
*/
|
*/
|
||||||
ForgotPassword,
|
ForgotPassword,
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ data class MobileScreen(
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The screen that displays the registration flow (when the user wants
|
* The screen that displays the registration flow (when the user wants
|
||||||
* to create an account)
|
* to create an account).
|
||||||
*/
|
*/
|
||||||
Register,
|
Register,
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ data class MobileScreen(
|
||||||
RoomPermissions,
|
RoomPermissions,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Screen that displays room preview if user hasn't joined yet
|
* Screen that displays room preview if user hasn't joined yet.
|
||||||
*/
|
*/
|
||||||
RoomPreview,
|
RoomPreview,
|
||||||
|
|
||||||
|
@ -197,7 +197,7 @@ data class MobileScreen(
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The advanced settings screen (developer mode, rageshake, push
|
* The advanced settings screen (developer mode, rageshake, push
|
||||||
* notification rules)
|
* notification rules).
|
||||||
*/
|
*/
|
||||||
SettingsAdvanced,
|
SettingsAdvanced,
|
||||||
|
|
||||||
|
@ -212,7 +212,7 @@ data class MobileScreen(
|
||||||
SettingsGeneral,
|
SettingsGeneral,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Help and About screen
|
* The Help and About screen.
|
||||||
*/
|
*/
|
||||||
SettingsHelp,
|
SettingsHelp,
|
||||||
|
|
||||||
|
@ -222,12 +222,12 @@ data class MobileScreen(
|
||||||
SettingsIgnoredUsers,
|
SettingsIgnoredUsers,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The experimental features settings screen,
|
* The experimental features settings screen.
|
||||||
*/
|
*/
|
||||||
SettingsLabs,
|
SettingsLabs,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The settings screen with legals information
|
* The settings screen with legals information.
|
||||||
*/
|
*/
|
||||||
SettingsLegals,
|
SettingsLegals,
|
||||||
|
|
||||||
|
@ -262,17 +262,17 @@ data class MobileScreen(
|
||||||
Sidebar,
|
Sidebar,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Screen that displays the list of rooms and spaces of a space
|
* Screen that displays the list of rooms and spaces of a space.
|
||||||
*/
|
*/
|
||||||
SpaceExploreRooms,
|
SpaceExploreRooms,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Screen that displays the list of members of a space
|
* Screen that displays the list of members of a space.
|
||||||
*/
|
*/
|
||||||
SpaceMembers,
|
SpaceMembers,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The bottom sheet that list all space options
|
* The bottom sheet that list all space options.
|
||||||
*/
|
*/
|
||||||
SpaceMenu,
|
SpaceMenu,
|
||||||
|
|
||||||
|
@ -287,7 +287,7 @@ data class MobileScreen(
|
||||||
SwitchDirectory,
|
SwitchDirectory,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Screen that displays list of threads for a room
|
* Screen that displays list of threads for a room.
|
||||||
*/
|
*/
|
||||||
ThreadList,
|
ThreadList,
|
||||||
|
|
||||||
|
|
|
@ -25,23 +25,23 @@ package im.vector.app.features.analytics.plan
|
||||||
*/
|
*/
|
||||||
data class UserProperties(
|
data class UserProperties(
|
||||||
/**
|
/**
|
||||||
* Whether the user has the favourites space enabled
|
* Whether the user has the favourites space enabled.
|
||||||
*/
|
*/
|
||||||
val webMetaSpaceFavouritesEnabled: Boolean? = null,
|
val webMetaSpaceFavouritesEnabled: Boolean? = null,
|
||||||
/**
|
/**
|
||||||
* Whether the user has the home space set to all rooms
|
* Whether the user has the home space set to all rooms.
|
||||||
*/
|
*/
|
||||||
val webMetaSpaceHomeAllRooms: Boolean? = null,
|
val webMetaSpaceHomeAllRooms: Boolean? = null,
|
||||||
/**
|
/**
|
||||||
* Whether the user has the home space enabled
|
* Whether the user has the home space enabled.
|
||||||
*/
|
*/
|
||||||
val webMetaSpaceHomeEnabled: Boolean? = null,
|
val webMetaSpaceHomeEnabled: Boolean? = null,
|
||||||
/**
|
/**
|
||||||
* Whether the user has the other rooms space enabled
|
* Whether the user has the other rooms space enabled.
|
||||||
*/
|
*/
|
||||||
val webMetaSpaceOrphansEnabled: Boolean? = null,
|
val webMetaSpaceOrphansEnabled: Boolean? = null,
|
||||||
/**
|
/**
|
||||||
* Whether the user has the people space enabled
|
* Whether the user has the people space enabled.
|
||||||
*/
|
*/
|
||||||
val webMetaSpacePeopleEnabled: Boolean? = null,
|
val webMetaSpacePeopleEnabled: Boolean? = null,
|
||||||
/**
|
/**
|
||||||
|
@ -49,11 +49,11 @@ data class UserProperties(
|
||||||
*/
|
*/
|
||||||
val ftueUseCaseSelection: FtueUseCaseSelection? = null,
|
val ftueUseCaseSelection: FtueUseCaseSelection? = null,
|
||||||
/**
|
/**
|
||||||
* Number of joined rooms the user has favourited
|
* Number of joined rooms the user has favourited.
|
||||||
*/
|
*/
|
||||||
val numFavouriteRooms: Int? = null,
|
val numFavouriteRooms: Int? = null,
|
||||||
/**
|
/**
|
||||||
* Number of spaces (and sub-spaces) the user is joined to
|
* Number of spaces (and sub-spaces) the user is joined to.
|
||||||
*/
|
*/
|
||||||
val numSpaces: Int? = null,
|
val numSpaces: Int? = null,
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -64,7 +64,7 @@ data class ViewRoom(
|
||||||
MessageUser,
|
MessageUser,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Room accessed via space explore
|
* Room accessed via space explore.
|
||||||
*/
|
*/
|
||||||
MobileExploreRooms,
|
MobileExploreRooms,
|
||||||
|
|
||||||
|
@ -79,12 +79,12 @@ data class ViewRoom(
|
||||||
MobileInCall,
|
MobileInCall,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Room accessed during external sharing
|
* Room accessed during external sharing.
|
||||||
*/
|
*/
|
||||||
MobileLinkShare,
|
MobileLinkShare,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Room accessed via link
|
* Room accessed via link.
|
||||||
*/
|
*/
|
||||||
MobilePermalink,
|
MobilePermalink,
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ data class ViewRoom(
|
||||||
MobileRoomMemberDetail,
|
MobileRoomMemberDetail,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Room accessed via preview
|
* Room accessed via preview.
|
||||||
*/
|
*/
|
||||||
MobileRoomPreview,
|
MobileRoomPreview,
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ data class ViewRoom(
|
||||||
MobileSpaceMemberDetail,
|
MobileSpaceMemberDetail,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Room accessed via space members list
|
* Room accessed via space members list.
|
||||||
*/
|
*/
|
||||||
MobileSpaceMembers,
|
MobileSpaceMembers,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue