DEV: Cleanup

This commit is contained in:
Martin Brennan 2023-02-21 17:31:55 +10:00
parent c0daa8dbf7
commit bdaf01bbb0
No known key found for this signature in database
GPG Key ID: A08063EEF3EA26A4
2 changed files with 0 additions and 25 deletions

View File

@ -1,20 +0,0 @@
# Single message actions
reply - (reply)
react - (react)
toggle bookmark - (toggleBookmark)
react with emoji picker - (startReactionForMessageActions)
flag - secondaryButtons (flag)
copy link to message - secondaryButtons (copyLinkToMessage)
start editing message - secondaryButtons (edit)
delete message - secondaryButtons (deleteMessage)
restore message - secondaryButtons (restore)
rebake message - secondaryButtons (rebakeMessage)
open thread - secondaryButtons (openThread)
select message - secondaryButtons (selectMessage) - though this triggers the multi message action
MOST of these are guarded behind checks e.g. showEditButton, selectingMessages.
# Muli message action
select messages

View File

@ -30,8 +30,6 @@ export default class ChatLivePanel {
}
get canInteractWithChat() {
// not really sure about this, would prefer details is a nice object
// that has tracked for all its props....
return !this.details.user_silenced;
}
@ -39,7 +37,6 @@ export default class ChatLivePanel {
return this.messages.filterBy("selected").mapBy("id");
}
// reacting to actions
onSelectMessage(message) {
this.lastSelectedMessage = message;
this.selectingMessages = true;
@ -115,8 +112,6 @@ export default class ChatLivePanel {
this.messages.setEach("selected", false);
}
// private
@bind
_debouncedOnHoverMessage(message) {
this.hoveredMessageId =