From 2017f9114fe281ac86304f3e7956589f43d9ccce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=93=E3=81=8B=E3=82=8A?= <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Wed, 1 May 2024 13:51:00 +0900 Subject: [PATCH] =?UTF-8?q?refactor(frontend):=20=E9=9D=9E=E3=83=AD?= =?UTF-8?q?=E3=82=B0=E3=82=A4=E3=83=B3=E7=94=BB=E9=9D=A2=E3=81=A7=E3=81=AE?= =?UTF-8?q?meta=E5=8F=96=E5=BE=97=E3=82=92=E6=B8=9B=E3=82=89=E3=81=99=20(#?= =?UTF-8?q?13776)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor(frontend): 非ログイン画面でのmeta取得を減らす * fix(frontend): サーバー供給のmetaとクライアントフォールバックで取れるmetaの型が違うのを修正 * force fetch meta at welcome.vue * refactor --- .../frontend/src/components/MkFeaturedPhotos.vue | 12 ++---------- .../frontend/src/components/MkVisitorDashboard.vue | 11 +++-------- packages/frontend/src/instance.ts | 8 +++++--- packages/frontend/src/pages/welcome.entrance.a.vue | 8 ++------ packages/frontend/src/pages/welcome.vue | 12 ++++++------ packages/frontend/src/ui/visitor.vue | 7 ------- 6 files changed, 18 insertions(+), 40 deletions(-) diff --git a/packages/frontend/src/components/MkFeaturedPhotos.vue b/packages/frontend/src/components/MkFeaturedPhotos.vue index 8d875790b..c42c692db 100644 --- a/packages/frontend/src/components/MkFeaturedPhotos.vue +++ b/packages/frontend/src/components/MkFeaturedPhotos.vue @@ -4,19 +4,11 @@ SPDX-License-Identifier: AGPL-3.0-only -->