From 50e3ca19bc45c1fd4fd7432bdb30a130f2691076 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 20 Jul 2022 22:24:26 +0900 Subject: [PATCH] refactor(client): :sparkles: --- packages/client/src/components/MkNoteSub.vue | 9 +- .../client/src/components/abuse-report.vue | 13 +- .../client/src/components/cropper-dialog.vue | 3 +- .../client/src/components/form/checkbox.vue | 3 +- packages/client/src/components/form/input.vue | 3 +- .../client/src/components/form/select.vue | 3 +- .../client/src/components/form/switch.vue | 3 +- .../client/src/components/form/textarea.vue | 38 +++--- .../client/src/components/global/error.vue | 5 +- .../client/src/components/instance-stats.vue | 35 ++--- packages/client/src/components/key-value.vue | 3 +- .../client/src/components/note-detailed.vue | 6 +- packages/client/src/components/notes.vue | 6 +- .../client/src/components/notification.vue | 8 +- .../client/src/components/notifications.vue | 3 +- .../client/src/components/poll-editor.vue | 31 ++--- packages/client/src/components/poll.vue | 120 +++++++---------- .../client/src/components/remote-caution.vue | 4 +- .../client/src/components/signin-dialog.vue | 10 +- .../client/src/components/signup-dialog.vue | 8 +- packages/client/src/components/signup.vue | 58 ++++----- .../src/components/sub-note-content.vue | 11 +- packages/client/src/components/ui/menu.vue | 4 +- .../client/src/components/ui/pagination.vue | 7 +- packages/client/src/components/updated.vue | 9 +- .../client/src/components/url-preview.vue | 7 +- packages/client/src/components/user-info.vue | 9 +- packages/client/src/components/user-list.vue | 6 +- .../src/components/user-select-dialog.vue | 14 +- .../src/components/visibility-picker.vue | 21 +-- packages/client/src/components/widgets.vue | 6 +- .../client/src/pages/about.federation.vue | 48 +++---- packages/client/src/pages/about.vue | 16 +-- packages/client/src/pages/admin/abuses.vue | 28 ++-- .../client/src/pages/admin/bot-protection.vue | 17 +-- .../src/pages/admin/emoji-edit-dialog.vue | 19 +-- packages/client/src/pages/admin/emojis.vue | 10 +- packages/client/src/pages/admin/files.vue | 10 +- packages/client/src/pages/admin/index.vue | 8 +- .../src/pages/admin/integrations.discord.vue | 5 +- .../src/pages/admin/integrations.github.vue | 5 +- .../src/pages/admin/integrations.twitter.vue | 5 +- .../client/src/pages/admin/queue.chart.vue | 3 +- packages/client/src/pages/admin/users.vue | 36 +++--- packages/client/src/pages/channel-editor.vue | 10 +- packages/client/src/pages/channel.vue | 4 +- packages/client/src/pages/explore.users.vue | 20 +-- packages/client/src/pages/explore.vue | 8 +- packages/client/src/pages/favorites.vue | 2 +- packages/client/src/pages/follow-requests.vue | 2 +- packages/client/src/pages/gallery/edit.vue | 16 +-- packages/client/src/pages/gallery/index.vue | 6 +- packages/client/src/pages/gallery/post.vue | 12 +- packages/client/src/pages/instance-info.vue | 48 +++---- packages/client/src/pages/mfm-cheat-sheet.vue | 122 +++++++++--------- .../client/src/pages/my-antennas/editor.vue | 42 +++--- packages/client/src/pages/my-clips/index.vue | 26 ++-- packages/client/src/pages/my-lists/index.vue | 26 ++-- packages/client/src/pages/my-lists/list.vue | 60 ++++----- packages/client/src/pages/not-found.vue | 2 +- packages/client/src/pages/note.vue | 2 +- packages/client/src/pages/page.vue | 22 ++-- packages/client/src/pages/registry.keys.vue | 6 +- packages/client/src/pages/registry.value.vue | 18 +-- packages/client/src/pages/settings/email.vue | 22 ++-- .../src/pages/settings/import-export.vue | 50 +++---- packages/client/src/pages/settings/index.vue | 2 +- .../client/src/pages/settings/mute-block.vue | 8 +- .../client/src/pages/settings/privacy.vue | 54 ++++---- .../client/src/pages/settings/reaction.vue | 32 ++--- packages/client/src/pages/settings/theme.vue | 30 ++--- packages/client/src/pages/share.vue | 4 +- .../client/src/pages/timeline.tutorial.vue | 59 ++++----- packages/client/src/pages/timeline.vue | 2 +- packages/client/src/pages/user-info.vue | 22 ++-- .../client/src/pages/user-list-timeline.vue | 2 +- packages/client/src/pages/user/home.vue | 38 +++--- .../client/src/pages/user/index.timeline.vue | 7 +- .../src/ui/_common_/navbar-for-mobile.vue | 12 +- .../src/ui/_common_/stream-indicator.vue | 7 +- packages/client/src/ui/_common_/upload.vue | 3 +- packages/client/src/widgets/activity.vue | 3 +- packages/client/src/widgets/aiscript.vue | 9 +- packages/client/src/widgets/calendar.vue | 6 +- packages/client/src/widgets/federation.vue | 3 +- packages/client/src/widgets/memo.vue | 9 +- packages/client/src/widgets/notifications.vue | 9 +- packages/client/src/widgets/online-users.vue | 3 +- packages/client/src/widgets/photos.vue | 10 +- .../src/widgets/server-metric/index.vue | 7 +- packages/client/src/widgets/slideshow.vue | 3 +- packages/client/src/widgets/trends.vue | 3 +- 92 files changed, 793 insertions(+), 756 deletions(-) diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index 30c27e6235..9ae773bfb6 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -6,7 +6,7 @@

- +

@@ -19,7 +19,7 @@
- {{ $ts.continueThread }} + {{ i18n.ts.continueThread }}
@@ -27,11 +27,12 @@