mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 17:35:54 +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/
|
||||
|
||||
/**
|
||||
* Triggered when an error occurred
|
||||
* Triggered when an error occurred.
|
||||
*/
|
||||
data class Error(
|
||||
/**
|
||||
* Context - client defined, can be used for debugging
|
||||
* Context - client defined, can be used for debugging.
|
||||
*/
|
||||
val context: String? = null,
|
||||
val domain: Domain,
|
||||
|
|
|
@ -50,7 +50,7 @@ data class JoinedRoom(
|
|||
Invite,
|
||||
|
||||
/**
|
||||
* Room joined via link
|
||||
* Room joined via link.
|
||||
*/
|
||||
MobilePermalink,
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import im.vector.app.features.analytics.itf.VectorAnalyticsScreen
|
|||
// 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(
|
||||
/**
|
||||
|
@ -59,7 +59,7 @@ data class MobileScreen(
|
|||
Favourites,
|
||||
|
||||
/**
|
||||
* The form for the forgot password use case
|
||||
* The form for the forgot password use case.
|
||||
*/
|
||||
ForgotPassword,
|
||||
|
||||
|
@ -96,7 +96,7 @@ data class MobileScreen(
|
|||
|
||||
/**
|
||||
* The screen that displays the registration flow (when the user wants
|
||||
* to create an account)
|
||||
* to create an account).
|
||||
*/
|
||||
Register,
|
||||
|
||||
|
@ -143,7 +143,7 @@ data class MobileScreen(
|
|||
RoomPermissions,
|
||||
|
||||
/**
|
||||
* Screen that displays room preview if user hasn't joined yet
|
||||
* Screen that displays room preview if user hasn't joined yet.
|
||||
*/
|
||||
RoomPreview,
|
||||
|
||||
|
@ -197,7 +197,7 @@ data class MobileScreen(
|
|||
|
||||
/**
|
||||
* The advanced settings screen (developer mode, rageshake, push
|
||||
* notification rules)
|
||||
* notification rules).
|
||||
*/
|
||||
SettingsAdvanced,
|
||||
|
||||
|
@ -212,7 +212,7 @@ data class MobileScreen(
|
|||
SettingsGeneral,
|
||||
|
||||
/**
|
||||
* The Help and About screen
|
||||
* The Help and About screen.
|
||||
*/
|
||||
SettingsHelp,
|
||||
|
||||
|
@ -222,12 +222,12 @@ data class MobileScreen(
|
|||
SettingsIgnoredUsers,
|
||||
|
||||
/**
|
||||
* The experimental features settings screen,
|
||||
* The experimental features settings screen.
|
||||
*/
|
||||
SettingsLabs,
|
||||
|
||||
/**
|
||||
* The settings screen with legals information
|
||||
* The settings screen with legals information.
|
||||
*/
|
||||
SettingsLegals,
|
||||
|
||||
|
@ -262,17 +262,17 @@ data class MobileScreen(
|
|||
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,
|
||||
|
||||
/**
|
||||
* Screen that displays the list of members of a space
|
||||
* Screen that displays the list of members of a space.
|
||||
*/
|
||||
SpaceMembers,
|
||||
|
||||
/**
|
||||
* The bottom sheet that list all space options
|
||||
* The bottom sheet that list all space options.
|
||||
*/
|
||||
SpaceMenu,
|
||||
|
||||
|
@ -287,7 +287,7 @@ data class MobileScreen(
|
|||
SwitchDirectory,
|
||||
|
||||
/**
|
||||
* Screen that displays list of threads for a room
|
||||
* Screen that displays list of threads for a room.
|
||||
*/
|
||||
ThreadList,
|
||||
|
||||
|
|
|
@ -25,23 +25,23 @@ package im.vector.app.features.analytics.plan
|
|||
*/
|
||||
data class UserProperties(
|
||||
/**
|
||||
* Whether the user has the favourites space enabled
|
||||
* Whether the user has the favourites space enabled.
|
||||
*/
|
||||
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,
|
||||
/**
|
||||
* Whether the user has the home space enabled
|
||||
* Whether the user has the home space enabled.
|
||||
*/
|
||||
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,
|
||||
/**
|
||||
* Whether the user has the people space enabled
|
||||
* Whether the user has the people space enabled.
|
||||
*/
|
||||
val webMetaSpacePeopleEnabled: Boolean? = null,
|
||||
/**
|
||||
|
@ -49,11 +49,11 @@ data class UserProperties(
|
|||
*/
|
||||
val ftueUseCaseSelection: FtueUseCaseSelection? = null,
|
||||
/**
|
||||
* Number of joined rooms the user has favourited
|
||||
* Number of joined rooms the user has favourited.
|
||||
*/
|
||||
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,
|
||||
) {
|
||||
|
|
|
@ -64,7 +64,7 @@ data class ViewRoom(
|
|||
MessageUser,
|
||||
|
||||
/**
|
||||
* Room accessed via space explore
|
||||
* Room accessed via space explore.
|
||||
*/
|
||||
MobileExploreRooms,
|
||||
|
||||
|
@ -79,12 +79,12 @@ data class ViewRoom(
|
|||
MobileInCall,
|
||||
|
||||
/**
|
||||
* Room accessed during external sharing
|
||||
* Room accessed during external sharing.
|
||||
*/
|
||||
MobileLinkShare,
|
||||
|
||||
/**
|
||||
* Room accessed via link
|
||||
* Room accessed via link.
|
||||
*/
|
||||
MobilePermalink,
|
||||
|
||||
|
@ -95,7 +95,7 @@ data class ViewRoom(
|
|||
MobileRoomMemberDetail,
|
||||
|
||||
/**
|
||||
* Room accessed via preview
|
||||
* Room accessed via preview.
|
||||
*/
|
||||
MobileRoomPreview,
|
||||
|
||||
|
@ -117,7 +117,7 @@ data class ViewRoom(
|
|||
MobileSpaceMemberDetail,
|
||||
|
||||
/**
|
||||
* Room accessed via space members list
|
||||
* Room accessed via space members list.
|
||||
*/
|
||||
MobileSpaceMembers,
|
||||
|
||||
|
|
Loading…
Reference in a new issue