From a4711ab4c11357c8ffa586dbec56043a0b0f33e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B4=87=E5=B3=B0=20=E6=9C=94=E8=8F=AF?= <160555157+sakuhanight@users.noreply.github.com> Date: Mon, 3 Mar 2025 17:28:29 +0900 Subject: [PATCH] =?UTF-8?q?enhance(frontend):=20=E3=83=81=E3=83=A3?= =?UTF-8?q?=E3=83=B3=E3=83=8D=E3=83=AB=E6=8A=95=E7=A8=BF=E3=82=92=E3=83=A6?= =?UTF-8?q?=E3=83=BC=E3=82=B6=E3=83=BC=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=A8?= =?UTF-8?q?=E5=89=8D=E5=BE=8C=E3=83=8E=E3=83=BC=E3=83=88=E3=81=AB=E8=A1=A8?= =?UTF-8?q?=E7=A4=BA=E3=81=99=E3=82=8B=20(#15532)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * enhance(frontend): ユーザーページで常にチャンネル投稿が含まれるように * enhance(frontend): ノート詳細の前後の投稿にチャンネル投稿を含めるように * ログイン有無の削除 --- packages/frontend/src/pages/note.vue | 3 +++ packages/frontend/src/pages/user/index.timeline.vue | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/note.vue b/packages/frontend/src/pages/note.vue index 0791c1343b..2613437d2b 100644 --- a/packages/frontend/src/pages/note.vue +++ b/packages/frontend/src/pages/note.vue @@ -87,6 +87,7 @@ const prevUserPagination: Paging = { params: computed(() => note.value ? ({ userId: note.value.userId, untilId: note.value.id, + withChannelNotes: true, }) : undefined), }; @@ -97,6 +98,8 @@ const nextUserPagination: Paging = { params: computed(() => note.value ? ({ userId: note.value.userId, sinceId: note.value.id, + withChannelNotes: true, + includeSensitiveChannel: $i != null, }) : undefined), }; diff --git a/packages/frontend/src/pages/user/index.timeline.vue b/packages/frontend/src/pages/user/index.timeline.vue index 49d015a530..543dce8656 100644 --- a/packages/frontend/src/pages/user/index.timeline.vue +++ b/packages/frontend/src/pages/user/index.timeline.vue @@ -43,7 +43,7 @@ const pagination = computed(() => tab.value === 'featured' ? { userId: props.user.id, withRenotes: tab.value === 'all', withReplies: tab.value === 'all', - withChannelNotes: tab.value === 'all', + withChannelNotes: true, withFiles: tab.value === 'files', }, });