Add dive functionality

This commit is contained in:
Tusooa Zhu 2021-08-07 14:11:34 -04:00
parent 31c4300456
commit d15d24c11c
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
5 changed files with 80 additions and 14 deletions

View file

@ -31,6 +31,19 @@
<FAIcon icon="angle-double-left" />
</i18n>
</div>
<div
v-if="diveMode"
class="conversation-undive-box"
>
<i18n
path="status.return_to_last_showing"
tag="button"
class="button-unstyled -link"
@click.prevent="diveBack"
>
<FAIcon icon="chevron-left" />
</i18n>
</div>
<div v-if="isTreeView">
<thread-tree
v-for="status in showingTopLevel"
@ -60,7 +73,7 @@
:status-content-properties="statusContentProperties"
:set-status-content-property="setStatusContentProperty"
:toggle-status-content-property="toggleStatusContentProperty"
:dive="diveIntoStatus"
:dive="canDive ? diveIntoStatus : undefined"
/>
</div>
<div v-if="isLinearView">