Fix comment style + improve comments
parent
a8a8741c06
commit
228070f533
|
@ -29,7 +29,7 @@ export enum MessageComposerAction {
|
||||||
EditPrevMessage = 'EditPrevMessage',
|
EditPrevMessage = 'EditPrevMessage',
|
||||||
/** Start editing the user's next sent message */
|
/** Start editing the user's next sent message */
|
||||||
EditNextMessage = 'EditNextMessage',
|
EditNextMessage = 'EditNextMessage',
|
||||||
/** Cancel editing a message or cancel replying to a message*/
|
/** Cancel editing a message or cancel replying to a message */
|
||||||
CancelEditing = 'CancelEditing',
|
CancelEditing = 'CancelEditing',
|
||||||
|
|
||||||
/** Set bold format the current selection */
|
/** Set bold format the current selection */
|
||||||
|
@ -44,7 +44,9 @@ export enum MessageComposerAction {
|
||||||
EditRedo = 'EditRedo',
|
EditRedo = 'EditRedo',
|
||||||
/** Insert new line */
|
/** Insert new line */
|
||||||
NewLine = 'NewLine',
|
NewLine = 'NewLine',
|
||||||
|
/** Move the cursor to the start of the message */
|
||||||
MoveCursorToStart = 'MoveCursorToStart',
|
MoveCursorToStart = 'MoveCursorToStart',
|
||||||
|
/** Move the cursor to the end of the message */
|
||||||
MoveCursorToEnd = 'MoveCursorToEnd',
|
MoveCursorToEnd = 'MoveCursorToEnd',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,7 +62,7 @@ export enum AutocompleteAction {
|
||||||
NextSelection = 'NextSelection',
|
NextSelection = 'NextSelection',
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Actions for the left room list sidebar */
|
/** Actions for the room list sidebar */
|
||||||
export enum RoomListAction {
|
export enum RoomListAction {
|
||||||
/** Clear room list filter field */
|
/** Clear room list filter field */
|
||||||
ClearSearch = 'ClearSearch',
|
ClearSearch = 'ClearSearch',
|
||||||
|
@ -86,35 +88,35 @@ export enum RoomAction {
|
||||||
DismissReadMarker = 'DismissReadMarker',
|
DismissReadMarker = 'DismissReadMarker',
|
||||||
/** Jump to oldest unread message */
|
/** Jump to oldest unread message */
|
||||||
JumpToOldestUnread = 'JumpToOldestUnread',
|
JumpToOldestUnread = 'JumpToOldestUnread',
|
||||||
/* Upload a file */
|
/** Upload a file */
|
||||||
UploadFile = 'UploadFile',
|
UploadFile = 'UploadFile',
|
||||||
/* Focus search message in a room (must be enabled) */
|
/** Focus search message in a room (must be enabled) */
|
||||||
FocusSearch = 'FocusSearch',
|
FocusSearch = 'FocusSearch',
|
||||||
/* Jump to the first (downloaded) message in the room */
|
/** Jump to the first (downloaded) message in the room */
|
||||||
JumpToFirstMessage = 'JumpToFirstMessage',
|
JumpToFirstMessage = 'JumpToFirstMessage',
|
||||||
/* Jump to the latest message in the room */
|
/** Jump to the latest message in the room */
|
||||||
JumpToLatestMessage = 'JumpToLatestMessage',
|
JumpToLatestMessage = 'JumpToLatestMessage',
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Actions for navigating do various menus / dialogs / screens */
|
/** Actions for navigating do various menus, dialogs or screens */
|
||||||
export enum NavigationAction {
|
export enum NavigationAction {
|
||||||
/** Jump to room search (search for a room)*/
|
/** Jump to room search (search for a room) */
|
||||||
FocusRoomSearch = 'FocusRoomSearch',
|
FocusRoomSearch = 'FocusRoomSearch',
|
||||||
/** Toggle the room side panel */
|
/** Toggle the room side panel */
|
||||||
ToggleRoomSidePanel = 'ToggleRoomSidePanel',
|
ToggleRoomSidePanel = 'ToggleRoomSidePanel',
|
||||||
/** Toggle the user menu */
|
/** Toggle the user menu */
|
||||||
ToggleUserMenu = 'ToggleUserMenu',
|
ToggleUserMenu = 'ToggleUserMenu',
|
||||||
/* Toggle the short cut help dialog */
|
/** Toggle the short cut help dialog */
|
||||||
ToggleShortCutDialog = 'ToggleShortCutDialog',
|
ToggleShortCutDialog = 'ToggleShortCutDialog',
|
||||||
/* Got to the Element home screen */
|
/** Got to the Element home screen */
|
||||||
GoToHome = 'GoToHome',
|
GoToHome = 'GoToHome',
|
||||||
/* Select prev room */
|
/** Select prev room */
|
||||||
SelectPrevRoom = 'SelectPrevRoom',
|
SelectPrevRoom = 'SelectPrevRoom',
|
||||||
/* Select next room */
|
/** Select next room */
|
||||||
SelectNextRoom = 'SelectNextRoom',
|
SelectNextRoom = 'SelectNextRoom',
|
||||||
/* Select prev room with unread messages*/
|
/** Select prev room with unread messages */
|
||||||
SelectPrevUnreadRoom = 'SelectPrevUnreadRoom',
|
SelectPrevUnreadRoom = 'SelectPrevUnreadRoom',
|
||||||
/* Select next room with unread messages*/
|
/** Select next room with unread messages */
|
||||||
SelectNextUnreadRoom = 'SelectNextUnreadRoom',
|
SelectNextUnreadRoom = 'SelectNextUnreadRoom',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue