summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-11-07 18:04:32 +0900
committerGitHub <noreply@github.com>2021-11-07 18:04:32 +0900
commita28c515ef63a6f9c188cf0a7f544db1afa8e1331 (patch)
tree4b207f6998e0697ab5c732c04769b069dfd054c7 /src/client
parentperf: delete-account処理を軽くする (#7958) (diff)
downloadmisskey-a28c515ef63a6f9c188cf0a7f544db1afa8e1331.tar.gz
misskey-a28c515ef63a6f9c188cf0a7f544db1afa8e1331.tar.bz2
misskey-a28c515ef63a6f9c188cf0a7f544db1afa8e1331.zip
feat: make possible to configure following/followers visibility (#7959)
* feat: make possible to configure following/followers visibility * add test * ap * add ap test * set Cache-Control * hide following/followers count
Diffstat (limited to 'src/client')
-rw-r--r--src/client/pages/settings/privacy.vue12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/client/pages/settings/privacy.vue b/src/client/pages/settings/privacy.vue
index 2a60ae1f46..5e0c259ca3 100644
--- a/src/client/pages/settings/privacy.vue
+++ b/src/client/pages/settings/privacy.vue
@@ -9,6 +9,15 @@
{{ $ts.makeReactionsPublic }}
<template #desc>{{ $ts.makeReactionsPublicDescription }}</template>
</FormSwitch>
+ <FormGroup>
+ <template #label>{{ $ts.ffVisibility }}</template>
+ <FormSelect v-model="ffVisibility">
+ <option value="public">{{ $ts._ffVisibility.public }}</option>
+ <option value="followers">{{ $ts._ffVisibility.followers }}</option>
+ <option value="private">{{ $ts._ffVisibility.private }}</option>
+ </FormSelect>
+ <template #caption>{{ $ts.ffVisibilityDescription }}</template>
+ </FormGroup>
<FormSwitch v-model="hideOnlineStatus" @update:modelValue="save()">
{{ $ts.hideOnlineStatus }}
<template #desc>{{ $ts.hideOnlineStatusDescription }}</template>
@@ -69,6 +78,7 @@ export default defineComponent({
isExplorable: false,
hideOnlineStatus: false,
publicReactions: false,
+ ffVisibility: 'public',
}
},
@@ -86,6 +96,7 @@ export default defineComponent({
this.isExplorable = this.$i.isExplorable;
this.hideOnlineStatus = this.$i.hideOnlineStatus;
this.publicReactions = this.$i.publicReactions;
+ this.ffVisibility = this.$i.ffVisibility;
},
mounted() {
@@ -101,6 +112,7 @@ export default defineComponent({
isExplorable: !!this.isExplorable,
hideOnlineStatus: !!this.hideOnlineStatus,
publicReactions: !!this.publicReactions,
+ ffVisibility: this.ffVisibility,
});
}
}