-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5a41a1
commit fdd80f4
Showing
24 changed files
with
210 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<div v-if="ui.replyChatbarContent.id" class="is-chatbar-reply"> | ||
<div v-if="ui.replyChatbarMessage" class="is-chatbar-reply"> | ||
<div class="markdown"> | ||
{{ $t('conversation.reply_to') }} | ||
<strong>{{ ui.replyChatbarContent.from }}</strong> | ||
<strong>{{ ui.replyChatbarMessage.from }}</strong> | ||
</div> | ||
<div class="reply-close" @click="setReplyChatbarContent"> | ||
<div class="reply-close" @click="clearReplyChatbarMessage"> | ||
<x-icon size="1x" /> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,50 @@ | ||
<UiContextMenu | ||
class="chat-message" | ||
:class="{ 'show-header': showHeader }" | ||
:items="contextMenuValues" | ||
> | ||
<template v-if="showHeader"> | ||
<div class="avatar"> | ||
<UiCircle | ||
:type="author.src ? 'image' :'random'" | ||
:seed="author.id" | ||
:source="author.src" | ||
<UiContextMenu class="chat-message-container" :items="contextMenuValues"> | ||
<div | ||
class="chat-message" | ||
:class="{ 'show-header': showHeader, 'is-replying-to': isReplyingTo }" | ||
> | ||
<template v-if="showHeader"> | ||
<div class="avatar"> | ||
<UiCircle | ||
:type="author.src ? 'image' :'random'" | ||
:seed="author.id" | ||
:source="author.src" | ||
/> | ||
</div> | ||
<div class="header"> | ||
<span :click="showQuickProfile"> | ||
<UiUserName :username="author.name" /> | ||
</span> | ||
</div> | ||
</template> | ||
<div class="timestamp">{{ timestamp }}</div> | ||
<div class="body"> | ||
<MessageMarkdown | ||
:text="wrapEmoji(markdownToHtml(message.body))" | ||
class="markdown" | ||
:class="{ bigmoji: containsOnlyEmoji(message.body) }" | ||
data-cy="chat-message" | ||
/> | ||
</div> | ||
<div class="header"> | ||
<span :click="showQuickProfile"> | ||
<UiUserName :username="author.name" /> | ||
<span class="status editing" v-if="message.editingAt"> | ||
<UiLoadersSpinner spinning /> | ||
</span> | ||
<span | ||
class="status edited" | ||
data-cy="message-edited" | ||
v-else-if="message.editedAt" | ||
> | ||
({{$t('ui.edited')}}) | ||
</span> | ||
<MessageActions | ||
:setReplyChatbarMessage="setReplyChatbarMessage" | ||
:emojiReaction="emojiReaction" | ||
:editMessage="editMessage" | ||
:message="message" | ||
/> | ||
</div> | ||
<div class="footer"> | ||
<MessageReactions :message="message" :emojiReaction="emojiReaction" /> | ||
<MessageReply :replies="replies" /> | ||
</div> | ||
</template> | ||
<div class="timestamp">{{ timestamp }}</div> | ||
<div class="body"> | ||
<MessageMarkdown | ||
v-if="message.body" | ||
:text="wrapEmoji(markdownToHtml(message.body))" | ||
class="markdown" | ||
:class="{ bigmoji: containsOnlyEmoji(message.body) }" | ||
data-cy="chat-message" | ||
/> | ||
<span class="status editing" v-if="message.editingAt"> | ||
<UiLoadersSpinner spinning /> | ||
</span> | ||
<span | ||
class="status edited" | ||
data-cy="message-edited" | ||
v-else-if="message.editedAt" | ||
> | ||
({{$t('ui.edited')}}) | ||
</span> | ||
<MessageGlyph | ||
v-if="message.glyph" | ||
:source="message.glyph.src" | ||
:pack="message.glyph.pack" | ||
/> | ||
<MessageActions | ||
:setReplyChatbarContent="setReplyChatbarContent" | ||
:emojiReaction="emojiReaction" | ||
:editMessage="editMessage" | ||
:message="message" | ||
/> | ||
<MessageReactions :message="message" :emojiReaction="emojiReaction" /> | ||
</div> | ||
</UiContextMenu> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.