proper cachin of headTailLinks, show mentions in notificaitons always
This commit is contained in:
parent
c6c478f4cf
commit
394fd462dc
7 changed files with 25 additions and 19 deletions
|
@ -142,7 +142,8 @@ const Status = {
|
|||
replyProfileLink () {
|
||||
if (this.isReply) {
|
||||
const user = this.$store.getters.findUser(this.status.in_reply_to_user_id)
|
||||
return user && user.statusnet_profile_url
|
||||
// FIXME Why user not found sometimes???
|
||||
return user ? user.statusnet_profile_url : 'NOT_FOUND'
|
||||
}
|
||||
},
|
||||
retweet () { return !!this.statusoid.retweeted_status },
|
||||
|
|
|
@ -217,21 +217,23 @@ $status-margin: 0.75em;
|
|||
}
|
||||
}
|
||||
|
||||
.reply-to {
|
||||
& .mentions,
|
||||
& .reply-to {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.reply-to-text {
|
||||
& .reply-to-text {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.replies-separator {
|
||||
.mentions-separator {
|
||||
margin-left: 0.4em;
|
||||
}
|
||||
|
||||
.replies {
|
||||
margin-top: 0.25em;
|
||||
line-height: 18px;
|
||||
font-size: 12px;
|
||||
display: flex;
|
||||
|
|
|
@ -267,8 +267,8 @@
|
|||
:first-mention="false"
|
||||
/>
|
||||
<span
|
||||
v-if="isReply && hasMentions"
|
||||
class="faint replies-separator"
|
||||
v-if="isReply && hasMentionsLine"
|
||||
class="faint mentions-separator"
|
||||
>
|
||||
-
|
||||
</span>
|
||||
|
@ -276,7 +276,7 @@
|
|||
v-if="hasMentionsLine"
|
||||
>
|
||||
<span
|
||||
class="button-unstyled reply-to"
|
||||
class="button-unstyled mentions"
|
||||
:aria-label="$t('tool_tip.reply')"
|
||||
@click.prevent="gotoOriginal(status.in_reply_to_status_id)"
|
||||
>
|
||||
|
@ -285,7 +285,7 @@
|
|||
icon="at"
|
||||
/>
|
||||
<span
|
||||
class="faint-link reply-to-text"
|
||||
class="faint-link mentions-text"
|
||||
>
|
||||
{{ $t('status.mentions') }}
|
||||
</span>
|
||||
|
@ -304,6 +304,8 @@
|
|||
:no-heading="noHeading"
|
||||
:highlight="highlight"
|
||||
:focused="isFocused"
|
||||
:hide-first-mentions="mentionsOwnLine"
|
||||
:head-tail-links="headTailLinks"
|
||||
@mediaplay="addMediaPlaying($event)"
|
||||
@mediapause="removeMediaPlaying($event)"
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue