From e5fce15ba5a34c5d5565c5c35be0bcccc0eadfe3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 26 Jul 2023 10:30:52 +0900 Subject: [PATCH 01/18] fix(frontend): Selecting all emojis in Custom emoji is impossible Fix #11381 --- CHANGELOG.md | 1 + packages/frontend/src/pages/custom-emojis-manager.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b654699d4..4005124127 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ ### Client - リストTLで、ユーザーが追加・削除されてもTLを初期化しないように - Fix: モバイル表示のときページ下部がナビゲーションバーに隠れる問題を修正 +- Fix: Selecting all emojis in Custom emoji is impossible ### Server - Fix: APIのオフセットが壊れていたせいで「もっと見る」でもっと見れない問題を修正 diff --git a/packages/frontend/src/pages/custom-emojis-manager.vue b/packages/frontend/src/pages/custom-emojis-manager.vue index 359bbeadc3..b97f6225d1 100644 --- a/packages/frontend/src/pages/custom-emojis-manager.vue +++ b/packages/frontend/src/pages/custom-emojis-manager.vue @@ -110,7 +110,7 @@ const selectAll = () => { if (selectedEmojis.value.length > 0) { selectedEmojis.value = []; } else { - selectedEmojis.value = emojisPaginationComponent.value.items.map(item => item.id); + selectedEmojis.value = Array.from(emojisPaginationComponent.value.items.values()).map(item => item.id); } }; From 92337b0504561b0fd01d735d53a82ecb18910a67 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 26 Jul 2023 13:50:58 +0900 Subject: [PATCH 02/18] =?UTF-8?q?fix(frontend):=20=E4=B8=80=E9=83=A8?= =?UTF-8?q?=E3=83=A2=E3=83=BC=E3=83=80=E3=83=AB=E3=83=80=E3=82=A4=E3=82=A2?= =?UTF-8?q?=E3=83=AD=E3=82=B0=E3=81=A7=E3=82=B9=E3=82=AF=E3=83=AD=E3=83=BC?= =?UTF-8?q?=E3=83=AB=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + packages/frontend/src/components/MkModal.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4005124127..b4a561e8f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ ### Client - リストTLで、ユーザーが追加・削除されてもTLを初期化しないように - Fix: モバイル表示のときページ下部がナビゲーションバーに隠れる問題を修正 +- Fix: 一部モーダルダイアログでスクロールできない問題を修正 - Fix: Selecting all emojis in Custom emoji is impossible ### Server diff --git a/packages/frontend/src/components/MkModal.vue b/packages/frontend/src/components/MkModal.vue index bb5c6c7aab..bc6e3e4171 100644 --- a/packages/frontend/src/components/MkModal.vue +++ b/packages/frontend/src/components/MkModal.vue @@ -431,6 +431,7 @@ defineExpose({ margin: auto; padding: 32px; display: flex; + overflow: auto; @media (max-width: 500px) { padding: 16px; From dc452bf89a92dd3be4658f2108d6c5934bfa0bca Mon Sep 17 00:00:00 2001 From: woxtu Date: Wed, 26 Jul 2023 15:26:41 +0900 Subject: [PATCH 03/18] Remove redundant double quotes in page titles (#11352) --- packages/frontend/src/pages/page.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/page.vue b/packages/frontend/src/pages/page.vue index 27a4cd0595..8b316c7182 100644 --- a/packages/frontend/src/pages/page.vue +++ b/packages/frontend/src/pages/page.vue @@ -166,7 +166,7 @@ const headerActions = $computed(() => []); const headerTabs = $computed(() => []); definePageMetadata(computed(() => page ? { - title: computed(() => page.title || page.name), + title: page.title || page.name, avatar: page.user, path: `/@${page.user.username}/pages/${page.name}`, share: { From bc927b8f750f4cb7a6d74d68094d8bec7c08d38e Mon Sep 17 00:00:00 2001 From: tamaina Date: Wed, 26 Jul 2023 16:50:54 +0900 Subject: [PATCH 04/18] perf(frontend): Reduce getting clientWidth in MkMediaImage (#11386) * perf(frontend): Reduce getting clientWidth * fix * :v: --- .../frontend/src/components/MkMediaList.vue | 31 +++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkMediaList.vue b/packages/frontend/src/components/MkMediaList.vue index 65d3d529dd..57d24d82ee 100644 --- a/packages/frontend/src/components/MkMediaList.vue +++ b/packages/frontend/src/components/MkMediaList.vue @@ -22,6 +22,33 @@ + +