mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-07-04 10:30:37 +00:00
fixed some bugs, added changelog
This commit is contained in:
parent
8dca7843d1
commit
fd70102b3a
2 changed files with 46 additions and 36 deletions
|
|
@ -48,46 +48,48 @@
|
||||||
alternate_email
|
alternate_email
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<SimpleMarkdown
|
<div class="inner-content">
|
||||||
class="content-message"
|
<SimpleMarkdown
|
||||||
:style="[
|
class="content-message"
|
||||||
message.color && message.color !== -2
|
:style="[
|
||||||
? { color: message.color }
|
message.color && message.color !== -2
|
||||||
: ''
|
? { color: message.color }
|
||||||
]"
|
: ''
|
||||||
:message="message.message"
|
]"
|
||||||
/>
|
:message="message.message"
|
||||||
<div
|
/>
|
||||||
class="file-content"
|
<div
|
||||||
v-if="getFile && !getFile.fileName.endsWith('.mp3')"
|
class="file-content"
|
||||||
>
|
v-if="getFile && !getFile.fileName.endsWith('.mp3')"
|
||||||
<div class="icon">
|
>
|
||||||
<i class="material-icons">insert_drive_file</i>
|
<div class="icon">
|
||||||
|
<i class="material-icons">insert_drive_file</i>
|
||||||
|
</div>
|
||||||
|
<div class="information">
|
||||||
|
<div class="info">{{ getFile.fileName }}</div>
|
||||||
|
<a :href="getFile.url" download target="_blank">
|
||||||
|
<div class="download-button">Download</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="information">
|
<div
|
||||||
|
v-if="getFile && getFile.fileName.endsWith('.mp3')"
|
||||||
|
class="file-content music"
|
||||||
|
>
|
||||||
<div class="info">{{ getFile.fileName }}</div>
|
<div class="info">{{ getFile.fileName }}</div>
|
||||||
<a :href="getFile.url" download target="_blank">
|
<audio controls>
|
||||||
<div class="download-button">Download</div>
|
<source :src="getFile.url" type="audio/mp3" />
|
||||||
</a>
|
</audio>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
v-if="getFile && getFile.fileName.endsWith('.mp3')"
|
|
||||||
class="file-content music"
|
|
||||||
>
|
|
||||||
<div class="info">{{ getFile.fileName }}</div>
|
|
||||||
<audio controls>
|
|
||||||
<source :src="getFile.url" type="audio/mp3" />
|
|
||||||
</audio>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="image-content" ref="image" v-if="getImage">
|
<div class="image-content" ref="image" v-if="getImage">
|
||||||
<img :src="getImage" @click="imageClicked" />
|
<img :src="getImage" @click="imageClicked" />
|
||||||
|
</div>
|
||||||
|
<message-embed-template
|
||||||
|
v-if="message.embed && Object.keys(message.embed).length"
|
||||||
|
:embed="message.embed"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<message-embed-template
|
|
||||||
v-if="message.embed && Object.keys(message.embed).length"
|
|
||||||
:embed="message.embed"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="other-information">
|
<div class="other-information">
|
||||||
<div
|
<div
|
||||||
|
|
@ -392,7 +394,7 @@ $message-color: rgba(0, 0, 0, 0.3);
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
.user-info {
|
.user-info {
|
||||||
align-items: center;
|
margin-top: 2px;
|
||||||
}
|
}
|
||||||
.avatar {
|
.avatar {
|
||||||
height: 15px;
|
height: 15px;
|
||||||
|
|
@ -563,6 +565,11 @@ $message-color: rgba(0, 0, 0, 0.3);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
}
|
}
|
||||||
|
.inner-content {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
.ownMessageRight .content {
|
.ownMessageRight .content {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,9 @@ const config = [
|
||||||
date: "15/02/2020",
|
date: "15/02/2020",
|
||||||
new: [
|
new: [
|
||||||
"Messages by the same user should now be grouped. This will make it easier to read messages and save some screen space."
|
"Messages by the same user should now be grouped. This will make it easier to read messages and save some screen space."
|
||||||
|
],
|
||||||
|
fix: [
|
||||||
|
"Fixed a bug where message role colors would make the messages load slower."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue