Skip to content

Commit

Permalink
Detekt: enable and fix EndOfSentenceFormat for analytics plan
Browse files Browse the repository at this point in the history
Will require matrix-org/matrix-analytics-events#63 for long term solution
  • Loading branch information
bmarty committed May 16, 2022
1 parent 4c95aaf commit c25845b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ data class JoinedRoom(
Invite,

/**
* Room joined via link
* Room joined via link.
*/
MobilePermalink,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
/**
Expand Down Expand Up @@ -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,

Expand Down Expand Up @@ -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,

Expand Down Expand Up @@ -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,

Expand Down Expand Up @@ -197,7 +197,7 @@ data class MobileScreen(

/**
* The advanced settings screen (developer mode, rageshake, push
* notification rules)
* notification rules).
*/
SettingsAdvanced,

Expand All @@ -212,7 +212,7 @@ data class MobileScreen(
SettingsGeneral,

/**
* The Help and About screen
* The Help and About screen.
*/
SettingsHelp,

Expand All @@ -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,

Expand Down Expand Up @@ -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,

Expand All @@ -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,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,35 @@ 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,
/**
* The selected messaging use case during the onboarding flow.
*/
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,
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ data class ViewRoom(
MessageUser,

/**
* Room accessed via space explore
* Room accessed via space explore.
*/
MobileExploreRooms,

Expand All @@ -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,

Expand All @@ -95,7 +95,7 @@ data class ViewRoom(
MobileRoomMemberDetail,

/**
* Room accessed via preview
* Room accessed via preview.
*/
MobileRoomPreview,

Expand All @@ -117,7 +117,7 @@ data class ViewRoom(
MobileSpaceMemberDetail,

/**
* Room accessed via space members list
* Room accessed via space members list.
*/
MobileSpaceMembers,

Expand Down

0 comments on commit c25845b

Please sign in to comment.