Display the latest scrobble under a user's name

This commit is contained in:
NEETzsche 2023-11-09 15:03:21 -07:00
commit 2c9930bd5b
8 changed files with 73 additions and 3 deletions

View file

@ -249,6 +249,25 @@
</button>
</span>
</div>
<div class="status-rich-presence" v-if="scrobblePresent">
<FAIcon
class="fa-scale-110 fa-old-padding"
icon="music"
/>
{{ scrobble.artist }} {{ scrobble.title }}
<FAIcon
class="fa-scale-110 fa-old-padding"
icon="play"
/>
<span class="status-rich-presence-time">
<Timeago
template-key="time.in_past"
:time="scrobble.created_at"
:auto-update="60"
/>
</span>
</div>
</div>
<div
v-if="isReply || hasMentionsLine"
class="heading-reply-row"
@ -345,7 +364,6 @@
</template>
</i18n-t>
</div>
</div>
<StatusContent
ref="content"