Add list of replies under the name/links in conversation statuses, clicking them will highlight the statuses and scroll you to them, expanding a status will scroll you to that status once the conversation has opened.

This commit is contained in:
Shpuld Shpuldson 2017-06-04 23:58:15 +03:00
parent a4493f05d3
commit 4fabeda3ec
4 changed files with 39 additions and 12 deletions

View file

@ -56,7 +56,7 @@
</small>
<template v-if="isReply && !expandable">
<small>
<a href="#" @click.prevent="gotoOriginal" ><i class="icon-reply"></i></a>
<a href="#" @click.prevent="gotoOriginal(status.in_reply_to_status_id)" ><i class="icon-reply"></i></a>
</small>
</template>
-
@ -67,6 +67,12 @@
</small>
</h4>
</div>
<h4 class="replies" v-if="inConversation">
<small v-if="replies.length">Replies:</small>
<small v-for="reply in replies">
<a href="#" @click.prevent="gotoOriginal(reply.id)">{{reply.name}}&nbsp;</a>
</small>
</h4>
</div>
<div class="heading-icons">
<a href="#" @click.prevent="toggleMute" v-if="unmuted"><i class="fa icon-eye-off"></i></a>
@ -159,6 +165,9 @@
display: flex;
flex-wrap: wrap;
}
.replies {
flex-basis: 80%;
}
}
.source_url {