Add tree-style thread display

This commit is contained in:
Tusooa Zhu 2021-08-06 20:18:27 -04:00
parent 7e1e8ea429
commit 0582f19e7c
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
8 changed files with 224 additions and 21 deletions

View file

@ -20,6 +20,11 @@ const GeneralTab = {
value: mode,
label: this.$t(`settings.subject_line_${mode === 'masto' ? 'mastodon' : mode}`)
})),
conversationDisplayOptions: ['tree', 'linear'].map(mode => ({
key: mode,
value: mode,
label: this.$t(`settings.conversation_display_${mode}`)
})),
mentionLinkDisplayOptions: ['short', 'full_for_remote', 'full'].map(mode => ({
key: mode,
value: mode,

View file

@ -152,6 +152,15 @@
{{ $t('settings.show_yous') }}
</BooleanSetting>
</li>
<li>
<ChoiceSetting
id="conversationDisplay"
path="conversationDisplay"
:options="conversationDisplayOptions"
>
{{ $t('settings.conversation_display') }}
</ChoiceSetting>
</li>
<li>
<ChoiceSetting
id="mentionLinkDisplay"