From 64be9baed0b64d882115bbfd3732a0791baa3ff8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 14 Jul 2022 17:22:06 +0900 Subject: [PATCH 01/26] chore(client): tweak style --- packages/client/src/ui/_common_/sidebar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/ui/_common_/sidebar.vue b/packages/client/src/ui/_common_/sidebar.vue index a72bf786ad..f082af9aa8 100644 --- a/packages/client/src/ui/_common_/sidebar.vue +++ b/packages/client/src/ui/_common_/sidebar.vue @@ -244,7 +244,7 @@ function more(ev: MouseEvent) { padding: 18px 0; width: 100%; text-align: center; - font-size: $ui-font-size * 1.1; + font-size: $ui-font-size; line-height: initial; > .icon, From 242538ddce37de41d924f12ab8a3637c264d231c Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 14 Jul 2022 17:42:12 +0900 Subject: [PATCH 02/26] refactor(client): rename menu(sidebar) -> navbar --- locales/ja-JP.yml | 1 + packages/client/src/components/launch-pad.vue | 4 ++-- packages/client/src/{menu.ts => navbar.ts} | 2 +- packages/client/src/pages/settings/index.vue | 16 +++++++++------- .../src/pages/settings/{menu.vue => navbar.vue} | 10 +++++----- .../src/pages/settings/statusbars.statusbar.vue | 1 - ...ebar-for-mobile.vue => navbar-for-mobile.vue} | 14 +++++++------- .../src/ui/_common_/{sidebar.vue => navbar.vue} | 12 ++++++------ packages/client/src/ui/classic.header.vue | 16 ++++++++-------- packages/client/src/ui/classic.sidebar.vue | 16 ++++++++-------- packages/client/src/ui/classic.vue | 1 - packages/client/src/ui/deck.vue | 10 +++++----- packages/client/src/ui/universal.vue | 10 +++++----- 13 files changed, 57 insertions(+), 56 deletions(-) rename packages/client/src/{menu.ts => navbar.ts} (98%) rename packages/client/src/pages/settings/{menu.vue => navbar.vue} (90%) rename packages/client/src/ui/_common_/{sidebar-for-mobile.vue => navbar-for-mobile.vue} (85%) rename packages/client/src/ui/_common_/{sidebar.vue => navbar.vue} (89%) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 0e278bead6..fd8aca868b 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -887,6 +887,7 @@ beta: "ベータ" enableAutoSensitive: "自動NSFW判定" enableAutoSensitiveDescription: "利用可能な場合は、機械学習を利用して自動でメディアにNSFWフラグを設定します。この機能をオフにしても、インスタンスによっては自動で設定されることがあります。" activeEmailValidationDescription: "ユーザーのメールアドレスのバリデーションを、捨てアドかどうかや実際に通信可能かどうかなどを判定しより積極的に行います。オフにすると単に文字列として正しいかどうかのみチェックされます。" +navbar: "ナビゲーションバー" _sensitiveMediaDetection: description: "機械学習を使って自動でセンシティブなメディアを検出し、モデレーションに役立てることができます。サーバーの負荷が少し増えます。" diff --git a/packages/client/src/components/launch-pad.vue b/packages/client/src/components/launch-pad.vue index a6025f8b27..4693df2916 100644 --- a/packages/client/src/components/launch-pad.vue +++ b/packages/client/src/components/launch-pad.vue @@ -36,7 +36,7 @@ From 77c2a7cd71efea318f4fd7ba0ee54b32e9c8f7ba Mon Sep 17 00:00:00 2001 From: tamaina Date: Thu, 14 Jul 2022 23:32:00 +0900 Subject: [PATCH 24/26] refactor(client): remove useCssModule (#8999) * refactor(client): remove useCssModule() * use MkStickyContainer * Revert "use MkStickyContainer" This reverts commit 639746786bb7e3342db9cbd3452854fc29aacf88. --- packages/client/src/components/global/loading.vue | 4 +--- packages/client/src/components/mention.vue | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/client/src/components/global/loading.vue b/packages/client/src/components/global/loading.vue index 5a7e362fcf..bcc6dfac01 100644 --- a/packages/client/src/components/global/loading.vue +++ b/packages/client/src/components/global/loading.vue @@ -16,9 +16,7 @@