From b1093011fb787e6eabcaf2412ba0b638eacea287 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 10 May 2025 19:36:25 +0100 Subject: [PATCH] put back buttons "show/hide replies-to-others from all" --- .../frontend/src/pages/settings/preferences.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/frontend/src/pages/settings/preferences.vue b/packages/frontend/src/pages/settings/preferences.vue index e806f6b587..ff366d699f 100644 --- a/packages/frontend/src/pages/settings/preferences.vue +++ b/packages/frontend/src/pages/settings/preferences.vue @@ -814,6 +814,10 @@ SPDX-License-Identifier: AGPL-3.0-only +
+ {{ i18n.ts.showRepliesToOthersInTimelineAll }} + {{ i18n.ts.hideRepliesToOthersInTimelineAll }} +
@@ -1218,6 +1222,16 @@ async function testNotificationDot() { } } +async function updateRepliesAll(withReplies: boolean) { + const { canceled } = await os.confirm({ + type: 'warning', + text: withReplies ? i18n.ts.confirmShowRepliesAll : i18n.ts.confirmHideRepliesAll, + }); + if (canceled) return; + + misskeyApi('following/update-all', { withReplies }); +} + function save() { misskeyApi('i/update', { defaultCWPriority: defaultCWPriority.value,