feat: add ability to open member context menu by right-clicking on avatar
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful

This commit is contained in:
SauceyRed 2025-08-11 00:10:26 +02:00
parent f1eda2da75
commit b0d96faa6f
Signed by: sauceyred
GPG key ID: 2BF92EB6D8A5CCA7

View file

@ -29,7 +29,7 @@
:text="props.replyMessage?.message"
:reply-id="props.replyMessage.uuid" max-width="reply" />
<div class="left-column">
<Avatar :profile="props.author" class="message-author-avatar"/>
<Avatar :profile="props.author" class="message-author-avatar" @contextmenu="showContextMenu($event, contextMenu, memberMenuItems)" />
</div>
<div class="message-data">
<div class="message-metadata">
@ -236,6 +236,7 @@ function getDayDifference(date1: Date, date2: Date) {
max-height: 2em;
min-width: 2em;
max-width: 2em;
cursor: pointer;
}
.message-author-username {