From 1f7ddc9d7cc573a7d072bef42577bfa5f6624b5f Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Fri, 11 Aug 2023 17:44:46 -0700 Subject: [PATCH 1/2] refactor: :recycle: No Vue Reactivity Performed with https://github.com/edison1105/drop-reactivity-transform , Reactivity Transform was an experimental feature and has now been deprecated. --- .../client/src/components/MkAbuseReport.vue | 6 +- .../client/src/components/MkAnalogClock.vue | 62 ++-- packages/client/src/components/MkButton.vue | 12 +- .../src/components/MkCheatSheetDialog.vue | 4 +- .../client/src/components/MkContextMenu.vue | 17 +- .../client/src/components/MkCropperDialog.vue | 16 +- packages/client/src/components/MkDialog.vue | 12 +- .../client/src/components/MkFollowButton.vue | 27 +- .../src/components/MkForgotPassword.vue | 18 +- packages/client/src/components/MkHeatmap.vue | 18 +- .../client/src/components/MkImageViewer.vue | 4 +- .../src/components/MkImgWithBlurhash.vue | 12 +- .../src/components/MkInstanceCardMini.vue | 6 +- .../src/components/MkInstanceSelectDialog.vue | 26 +- .../client/src/components/MkInstanceStats.vue | 16 +- .../src/components/MkInstanceTicker.vue | 4 +- .../client/src/components/MkLaunchPad.vue | 6 +- packages/client/src/components/MkLink.vue | 8 +- packages/client/src/components/MkMedia.vue | 4 +- .../client/src/components/MkMediaBanner.vue | 12 +- packages/client/src/components/MkMenu.vue | 33 +- .../client/src/components/MkMiniChart.vue | 20 +- packages/client/src/components/MkModal.vue | 111 +++--- .../src/components/MkModalPageWindow.vue | 38 +- .../client/src/components/MkModalWindow.vue | 10 +- packages/client/src/components/MkNote.vue | 86 +++-- .../client/src/components/MkNoteDetailed.vue | 82 +++-- .../client/src/components/MkNoteHeader.vue | 7 +- packages/client/src/components/MkNoteSub.vue | 47 +-- .../MkNotificationSettingWindow.vue | 32 +- .../src/components/MkNotificationToast.vue | 6 +- .../client/src/components/MkPageWindow.vue | 36 +- .../client/src/components/MkPopupMenu.vue | 4 +- packages/client/src/components/MkPostForm.vue | 342 +++++++++--------- .../src/components/MkPostFormDialog.vue | 8 +- .../MkPushNotificationAllowButton.vue | 44 ++- .../client/src/components/MkReactedUsers.vue | 22 +- .../client/src/components/MkRenoteButton.vue | 18 +- packages/client/src/components/MkSignin.vue | 109 +++--- .../client/src/components/MkSigninDialog.vue | 8 +- packages/client/src/components/MkSignup.vue | 127 +++---- .../client/src/components/MkSignupDialog.vue | 8 +- .../src/components/MkSubNoteContent.vue | 14 +- packages/client/src/components/MkTagCloud.vue | 20 +- packages/client/src/components/MkTimeline.vue | 16 +- packages/client/src/components/MkToast.vue | 6 +- .../src/components/MkTokenGenerateWindow.vue | 28 +- .../src/components/MkTutorialDialog.vue | 6 +- packages/client/src/components/MkUpdated.vue | 16 +- .../client/src/components/MkUrlPreview.vue | 42 +-- .../src/components/MkUrlPreviewPopup.vue | 10 +- .../client/src/components/MkUserCardMini.vue | 6 +- packages/client/src/components/MkUserInfo.vue | 6 +- .../src/components/MkUserOnlineIndicator.vue | 4 +- .../client/src/components/MkUserPreview.vue | 16 +- .../src/components/MkUserSelectDialog.vue | 38 +- .../components/MkUserSelectLocalDialog.vue | 34 +- .../client/src/components/MkVisibility.vue | 8 +- .../src/components/MkVisibilityPicker.vue | 16 +- packages/client/src/components/MkWindow.vue | 74 ++-- .../client/src/components/form/checkbox.vue | 10 +- packages/client/src/components/form/radio.vue | 4 +- packages/client/src/components/form/range.vue | 6 +- .../client/src/components/form/textarea.vue | 2 +- packages/client/src/components/global/MkA.vue | 4 +- .../client/src/components/global/MkAvatar.vue | 8 +- .../src/components/global/MkPageHeader.vue | 50 +-- .../client/src/components/global/MkSpacer.vue | 24 +- .../components/global/MkStickyContainer.vue | 23 +- .../client/src/components/global/MkTime.vue | 14 +- .../src/components/global/RouterView.vue | 14 +- .../src/components/page/page.textarea.vue | 6 +- packages/client/src/pages/_error_.vue | 22 +- packages/client/src/pages/about-firefish.vue | 22 +- .../client/src/pages/about.federation.vue | 26 +- packages/client/src/pages/about.vue | 24 +- packages/client/src/pages/admin-file.vue | 40 +- packages/client/src/pages/admin/_header_.vue | 8 +- packages/client/src/pages/admin/abuses.vue | 26 +- .../client/src/pages/admin/announcements.vue | 16 +- .../client/src/pages/admin/bot-protection.vue | 34 +- .../client/src/pages/admin/custom-css.vue | 6 +- packages/client/src/pages/admin/database.vue | 6 +- .../client/src/pages/admin/email-settings.vue | 48 +-- .../src/pages/admin/emoji-edit-dialog.vue | 36 +- packages/client/src/pages/admin/emojis.vue | 4 +- .../client/src/pages/admin/experiments.vue | 19 +- .../client/src/pages/admin/federation.vue | 4 +- packages/client/src/pages/admin/files.vue | 27 +- packages/client/src/pages/admin/hashtags.vue | 13 +- packages/client/src/pages/admin/index.vue | 100 +++-- .../client/src/pages/admin/instance-block.vue | 21 +- .../src/pages/admin/integrations.discord.vue | 24 +- .../src/pages/admin/integrations.github.vue | 24 +- .../client/src/pages/admin/integrations.vue | 18 +- .../client/src/pages/admin/object-storage.vue | 84 ++--- .../client/src/pages/admin/other-settings.vue | 6 +- .../src/pages/admin/overview.active-users.vue | 16 +- .../src/pages/admin/overview.ap-requests.vue | 14 +- .../src/pages/admin/overview.federation.vue | 28 +- .../src/pages/admin/overview.heatmap.vue | 4 +- .../src/pages/admin/overview.metrics.vue | 46 +-- .../src/pages/admin/overview.moderators.vue | 8 +- .../client/src/pages/admin/overview.queue.vue | 26 +- .../client/src/pages/admin/overview.stats.vue | 28 +- .../client/src/pages/admin/overview.user.vue | 6 +- .../client/src/pages/admin/overview.users.vue | 8 +- packages/client/src/pages/admin/overview.vue | 50 ++- .../client/src/pages/admin/promotions.vue | 18 +- .../client/src/pages/admin/proxy-account.vue | 24 +- .../client/src/pages/admin/queue.chart.vue | 24 +- packages/client/src/pages/admin/queue.vue | 15 +- packages/client/src/pages/admin/relays.vue | 10 +- packages/client/src/pages/admin/security.vue | 83 +++-- packages/client/src/pages/admin/settings.vue | 228 ++++++------ packages/client/src/pages/admin/users.vue | 30 +- packages/client/src/pages/announcements.vue | 6 +- .../client/src/pages/antenna-timeline.vue | 26 +- packages/client/src/pages/api-console.vue | 6 +- packages/client/src/pages/channel-editor.vue | 46 +-- packages/client/src/pages/channel.vue | 20 +- packages/client/src/pages/channels.vue | 36 +- packages/client/src/pages/clip.vue | 67 ++-- packages/client/src/pages/drive.vue | 10 +- .../client/src/pages/explore.featured.vue | 4 +- packages/client/src/pages/explore.users.vue | 18 +- packages/client/src/pages/explore.vue | 14 +- packages/client/src/pages/follow-requests.vue | 4 +- packages/client/src/pages/gallery/edit.vue | 46 +-- packages/client/src/pages/gallery/index.vue | 18 +- packages/client/src/pages/gallery/post.vue | 42 +-- packages/client/src/pages/instance-info.vue | 74 ++-- packages/client/src/pages/messaging/index.vue | 40 +- .../pages/messaging/messaging-room.form.vue | 69 ++-- .../messaging/messaging-room.message.vue | 6 +- .../src/pages/messaging/messaging-room.vue | 138 +++---- packages/client/src/pages/mfm-cheat-sheet.vue | 74 ++-- packages/client/src/pages/miauth.vue | 10 +- .../client/src/pages/my-antennas/create.vue | 4 +- .../client/src/pages/my-antennas/edit.vue | 10 +- .../client/src/pages/my-antennas/editor.vue | 76 ++-- .../client/src/pages/my-antennas/index.vue | 6 +- packages/client/src/pages/my-clips/index.vue | 14 +- packages/client/src/pages/my-groups/group.vue | 2 +- packages/client/src/pages/my-groups/index.vue | 2 +- packages/client/src/pages/my-lists/index.vue | 10 +- packages/client/src/pages/my-lists/list.vue | 38 +- packages/client/src/pages/not-found.vue | 6 +- packages/client/src/pages/note.vue | 96 ++--- packages/client/src/pages/notifications.vue | 30 +- .../page-editor/els/page-editor.el.image.vue | 8 +- .../page-editor/els/page-editor.el.note.vue | 21 +- .../els/page-editor.el.radio-button.vue | 8 +- .../src/pages/page-editor/page-editor.vue | 166 ++++----- packages/client/src/pages/page.vue | 68 ++-- packages/client/src/pages/pages.vue | 14 +- packages/client/src/pages/preview.vue | 4 +- packages/client/src/pages/registry.keys.vue | 18 +- packages/client/src/pages/registry.value.vue | 34 +- packages/client/src/pages/registry.vue | 10 +- packages/client/src/pages/reset-password.vue | 10 +- packages/client/src/pages/scratchpad.vue | 6 +- packages/client/src/pages/search.vue | 14 +- packages/client/src/pages/settings/2fa.vue | 4 +- .../src/pages/settings/account-info.vue | 6 +- .../client/src/pages/settings/accounts.vue | 6 +- packages/client/src/pages/settings/api.vue | 6 +- packages/client/src/pages/settings/apps.vue | 6 +- .../client/src/pages/settings/custom-css.vue | 6 +- .../src/pages/settings/custom-katex-macro.vue | 4 +- packages/client/src/pages/settings/deck.vue | 4 +- .../src/pages/settings/delete-account.vue | 6 +- packages/client/src/pages/settings/drive.vue | 12 +- packages/client/src/pages/settings/email.vue | 6 +- .../client/src/pages/settings/general.vue | 4 +- .../src/pages/settings/import-export.vue | 6 +- packages/client/src/pages/settings/index.vue | 68 ++-- .../src/pages/settings/instance-mute.vue | 6 +- .../client/src/pages/settings/integration.vue | 4 +- .../client/src/pages/settings/migration.vue | 16 +- .../client/src/pages/settings/mute-block.vue | 8 +- packages/client/src/pages/settings/navbar.vue | 4 +- .../src/pages/settings/notifications.vue | 24 +- packages/client/src/pages/settings/other.vue | 4 +- .../src/pages/settings/plugin.install.vue | 6 +- packages/client/src/pages/settings/plugin.vue | 6 +- .../pages/settings/preferences-backups.vue | 51 +-- .../client/src/pages/settings/privacy.vue | 48 +-- .../client/src/pages/settings/profile.vue | 8 +- .../client/src/pages/settings/reaction.vue | 42 ++- .../client/src/pages/settings/security.vue | 6 +- packages/client/src/pages/settings/sounds.vue | 4 +- .../client/src/pages/settings/statusbar.vue | 8 +- .../src/pages/settings/theme.install.vue | 8 +- .../src/pages/settings/theme.manage.vue | 4 +- packages/client/src/pages/settings/theme.vue | 4 +- .../src/pages/settings/webhook.edit.vue | 50 +-- .../client/src/pages/settings/webhook.new.vue | 46 +-- .../client/src/pages/settings/webhook.vue | 6 +- .../client/src/pages/settings/word-mute.vue | 6 +- packages/client/src/pages/share.vue | 50 +-- packages/client/src/pages/signup-complete.vue | 6 +- packages/client/src/pages/tag.vue | 14 +- packages/client/src/pages/theme-editor.vue | 65 ++-- packages/client/src/pages/timeline.vue | 24 +- packages/client/src/pages/user-info.vue | 111 +++--- .../client/src/pages/user-list-timeline.vue | 22 +- packages/client/src/pages/user/followers.vue | 35 +- packages/client/src/pages/user/following.vue | 35 +- packages/client/src/pages/user/home.vue | 32 +- .../client/src/pages/user/index.activity.vue | 6 +- .../client/src/pages/user/index.photos.vue | 10 +- packages/client/src/pages/user/index.vue | 43 +-- packages/client/src/pages/verify-email.vue | 6 +- .../client/src/pages/welcome.entrance.a.vue | 22 +- packages/client/src/pages/welcome.setup.vue | 18 +- packages/client/src/pages/welcome.vue | 10 +- packages/client/src/ui/_common_/navbar.vue | 8 +- .../src/ui/_common_/statusbar-federation.vue | 4 +- .../client/src/ui/_common_/statusbar-rss.vue | 4 +- .../src/ui/_common_/statusbar-user-list.vue | 4 +- .../src/ui/_common_/stream-indicator.vue | 8 +- packages/client/src/ui/deck.vue | 4 +- .../client/src/ui/deck/antenna-column.vue | 4 +- .../client/src/ui/deck/channel-column.vue | 4 +- packages/client/src/ui/deck/column.vue | 46 ++- packages/client/src/ui/deck/list-column.vue | 4 +- packages/client/src/ui/deck/main-column.vue | 6 +- packages/client/src/ui/deck/tl-column.vue | 24 +- .../client/src/ui/deck/widgets-column.vue | 6 +- packages/client/src/ui/universal.vue | 24 +- packages/client/src/ui/universal.widgets.vue | 8 +- packages/client/src/ui/visitor/b.vue | 31 +- packages/client/src/ui/zen.vue | 10 +- .../client/src/widgets/activity.chart.vue | 60 +-- packages/client/src/widgets/clock.vue | 14 +- packages/client/src/widgets/digital-clock.vue | 14 +- .../client/src/widgets/instance-cloud.vue | 10 +- packages/client/src/widgets/rss-ticker.vue | 4 +- .../src/widgets/server-metric/cpu-mem.vue | 78 ++-- .../client/src/widgets/server-metric/cpu.vue | 6 +- .../client/src/widgets/server-metric/disk.vue | 10 +- .../src/widgets/server-metric/meilisearch.vue | 22 +- .../client/src/widgets/server-metric/mem.vue | 18 +- .../client/src/widgets/server-metric/net.vue | 81 +++-- .../client/src/widgets/server-metric/pie.vue | 6 +- packages/client/src/widgets/user-list.vue | 18 +- 247 files changed, 3327 insertions(+), 3021 deletions(-) diff --git a/packages/client/src/components/MkAbuseReport.vue b/packages/client/src/components/MkAbuseReport.vue index b1029fac04..5536523948 100644 --- a/packages/client/src/components/MkAbuseReport.vue +++ b/packages/client/src/components/MkAbuseReport.vue @@ -65,6 +65,8 @@ diff --git a/packages/client/src/components/MkCheatSheetDialog.vue b/packages/client/src/components/MkCheatSheetDialog.vue index 753d1001ef..1176ffcdcc 100644 --- a/packages/client/src/components/MkCheatSheetDialog.vue +++ b/packages/client/src/components/MkCheatSheetDialog.vue @@ -11,6 +11,8 @@