From 97575064d54ee170bb1d75488136392bcbe2025e Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 31 Aug 2022 00:24:33 +0900 Subject: [PATCH 1/6] refactor(client): align filename to component name --- packages/client/src/account.ts | 4 +- .../{abuse-report.vue => MkAbuseReport.vue} | 2 +- ...ort-window.vue => MkAbuseReportWindow.vue} | 0 .../{analog-clock.vue => MkAnalogClock.vue} | 0 .../{autocomplete.vue => MkAutocomplete.vue} | 0 .../components/{avatars.vue => MkAvatars.vue} | 0 .../components/{captcha.vue => MkCaptcha.vue} | 0 ...w-button.vue => MkChannelFollowButton.vue} | 0 ...annel-preview.vue => MkChannelPreview.vue} | 0 .../src/components/{chart.vue => MkChart.vue} | 0 .../{chart-tooltip.vue => MkChartTooltip.vue} | 0 .../{code-core.vue => MkCode.core.vue} | 0 .../src/components/{code.vue => MkCode.vue} | 2 +- ...cropper-dialog.vue => MkCropperDialog.vue} | 0 .../{cw-button.vue => MkCwButton.vue} | 0 ...rated-list.vue => MkDateSeparatedList.vue} | 40 +++++++++---------- .../components/{dialog.vue => MkDialog.vue} | 0 .../{digital-clock.vue => MkDigitalClock.vue} | 0 .../{drive.file.vue => MkDrive.file.vue} | 31 +++++++------- .../{drive.folder.vue => MkDrive.folder.vue} | 27 +++++++------ ...e.nav-folder.vue => MkDrive.navFolder.vue} | 0 .../src/components/{drive.vue => MkDrive.vue} | 6 +-- ...thumbnail.vue => MkDriveFileThumbnail.vue} | 2 +- ...ect-dialog.vue => MkDriveSelectDialog.vue} | 5 ++- .../{drive-window.vue => MkDriveWindow.vue} | 5 ++- ....section.vue => MkEmojiPicker.section.vue} | 0 .../{emoji-picker.vue => MkEmojiPicker.vue} | 4 +- ...ker-dialog.vue => MkEmojiPickerDialog.vue} | 2 +- ...ker-window.vue => MkEmojiPickerWindow.vue} | 2 +- ...atured-photos.vue => MkFeaturedPhotos.vue} | 0 ...t-for-admin.vue => MkFileListForAdmin.vue} | 2 +- ...{file-type-icon.vue => MkFileTypeIcon.vue} | 0 .../{follow-button.vue => MkFollowButton.vue} | 0 ...rgot-password.vue => MkForgotPassword.vue} | 0 .../{form-dialog.vue => MkFormDialog.vue} | 0 .../components/{formula.vue => MkFormula.vue} | 12 +++--- .../{formula-core.vue => MkFormulaCore.vue} | 0 ...t-preview.vue => MkGalleryPostPreview.vue} | 10 ++--- .../components/{google.vue => MkGoogle.vue} | 0 .../{image-viewer.vue => MkImageViewer.vue} | 0 ...ith-blurhash.vue => MkImgWithBlurhash.vue} | 0 ...e-card-mini.vue => MkInstanceCardMini.vue} | 2 +- ...instance-stats.vue => MkInstanceStats.vue} | 2 +- ...stance-ticker.vue => MkInstanceTicker.vue} | 0 .../{key-value.vue => MkKeyValue.vue} | 0 .../{launch-pad.vue => MkLaunchPad.vue} | 0 .../src/components/{link.vue => MkLink.vue} | 2 +- .../components/{marquee.vue => MkMarquee.vue} | 0 .../{media-banner.vue => MkMediaBanner.vue} | 0 .../{media-caption.vue => MkMediaCaption.vue} | 0 .../{media-image.vue => MkMediaImage.vue} | 2 +- .../{media-list.vue => MkMediaList.vue} | 6 +-- .../{media-video.vue => MkMediaVideo.vue} | 0 .../components/{mention.vue => MkMention.vue} | 0 .../{mini-chart.vue => MkMiniChart.vue} | 0 ...-page-window.vue => MkModalPageWindow.vue} | 0 .../src/components/{note.vue => MkNote.vue} | 22 +++++----- .../{note-detailed.vue => MkNoteDetailed.vue} | 20 +++++----- .../{note-header.vue => MkNoteHeader.vue} | 2 +- .../{note-preview.vue => MkNotePreview.vue} | 0 .../{note-simple.vue => MkNoteSimple.vue} | 8 ++-- packages/client/src/components/MkNoteSub.vue | 8 ++-- .../src/components/{notes.vue => MkNotes.vue} | 4 +- .../{notification.vue => MkNotification.vue} | 6 +-- ...ow.vue => MkNotificationSettingWindow.vue} | 0 ...tion-toast.vue => MkNotificationToast.vue} | 2 +- ...{notifications.vue => MkNotifications.vue} | 6 +-- .../{number-diff.vue => MkNumberDiff.vue} | 0 ...-view.value.vue => MkObjectView.value.vue} | 0 .../{object-view.vue => MkObjectView.vue} | 2 +- .../{page-preview.vue => MkPagePreview.vue} | 0 .../{page-window.vue => MkPageWindow.vue} | 2 +- .../src/components/{poll.vue => MkPoll.vue} | 0 .../{poll-editor.vue => MkPollEditor.vue} | 0 .../{post-form.vue => MkPostForm.vue} | 10 ++--- ...rm-attaches.vue => MkPostFormAttaches.vue} | 4 +- ...t-form-dialog.vue => MkPostFormDialog.vue} | 2 +- .../{reaction-icon.vue => MkReactionIcon.vue} | 0 ...tion-tooltip.vue => MkReactionTooltip.vue} | 2 +- ...ails.vue => MkReactionsViewer.details.vue} | 2 +- ...ion.vue => MkReactionsViewer.reaction.vue} | 4 +- ...tions-viewer.vue => MkReactionsViewer.vue} | 2 +- ...remote-caution.vue => MkRemoteCaution.vue} | 0 .../{renote-button.vue => MkRenoteButton.vue} | 2 +- .../components/{ripple.vue => MkRipple.vue} | 0 .../components/{sample.vue => MkSample.vue} | 0 .../components/{signin.vue => MkSignin.vue} | 2 +- .../{signin-dialog.vue => MkSigninDialog.vue} | 2 +- .../components/{signup.vue => MkSignup.vue} | 2 +- .../{signup-dialog.vue => MkSignupDialog.vue} | 2 +- .../components/{sparkle.vue => MkSparkle.vue} | 0 ...-note-content.vue => MkSubNoteContent.vue} | 4 +- .../src/components/{tab.vue => MkTab.vue} | 0 .../{tag-cloud.vue => MkTagCloud.vue} | 0 .../{timeline.vue => MkTimeline.vue} | 16 ++++---- .../src/components/{toast.vue => MkToast.vue} | 0 ...e-window.vue => MkTokenGenerateWindow.vue} | 0 .../components/{updated.vue => MkUpdated.vue} | 2 +- .../{url-preview.vue => MkUrlPreview.vue} | 0 ...review-popup.vue => MkUrlPreviewPopup.vue} | 10 ++--- ...{user-card-mini.vue => MkUserCardMini.vue} | 2 +- .../{user-info.vue => MkUserInfo.vue} | 2 +- .../{user-list.vue => MkUserList.vue} | 2 +- ...ndicator.vue => MkUserOnlineIndicator.vue} | 0 .../{user-preview.vue => MkUserPreview.vue} | 16 ++++---- ...lect-dialog.vue => MkUserSelectDialog.vue} | 0 .../{users-tooltip.vue => MkUsersTooltip.vue} | 0 .../{visibility.vue => MkVisibility.vue} | 2 +- ...lity-picker.vue => MkVisibilityPicker.vue} | 0 ...waiting-dialog.vue => MkWaitingDialog.vue} | 0 .../components/{widgets.vue => MkWidgets.vue} | 0 .../client/src/components/form/checkbox.vue | 2 +- .../src/components/global/{a.vue => MkA.vue} | 0 .../global/{acct.vue => MkAcct.vue} | 0 .../components/global/{ad.vue => MkAd.vue} | 0 .../global/{avatar.vue => MkAvatar.vue} | 2 +- .../global/{ellipsis.vue => MkEllipsis.vue} | 0 .../global/{emoji.vue => MkEmoji.vue} | 0 .../global/{error.vue => MkError.vue} | 0 .../global/{loading.vue => MkLoading.vue} | 0 ...down.vue => MkMisskeyFlavoredMarkdown.vue} | 0 .../{page-header.vue => MkPageHeader.vue} | 0 .../global/{spacer.vue => MkSpacer.vue} | 0 ...ky-container.vue => MkStickyContainer.vue} | 0 .../global/{time.vue => MkTime.vue} | 0 .../components/global/{url.vue => MkUrl.vue} | 2 +- .../global/{user-name.vue => MkUserName.vue} | 0 .../{router-view.vue => RouterView.vue} | 0 packages/client/src/components/index.ts | 32 +++++++-------- packages/client/src/components/mfm.ts | 18 ++++----- .../client/src/components/page/page.image.vue | 2 +- .../client/src/components/page/page.note.vue | 4 +- .../client/src/components/page/page.text.vue | 2 +- packages/client/src/directives/ripple.ts | 2 +- .../client/src/directives/user-preview.ts | 2 +- packages/client/src/init.ts | 2 +- packages/client/src/os.ts | 40 +++++++++---------- packages/client/src/pages/about-misskey.vue | 2 +- packages/client/src/pages/about.emojis.vue | 2 +- .../client/src/pages/about.federation.vue | 2 +- packages/client/src/pages/about.vue | 4 +- packages/client/src/pages/admin-file.vue | 8 ++-- packages/client/src/pages/admin/abuses.vue | 2 +- .../client/src/pages/admin/bot-protection.vue | 2 +- packages/client/src/pages/admin/database.vue | 2 +- packages/client/src/pages/admin/emojis.vue | 2 +- packages/client/src/pages/admin/files.vue | 2 +- .../src/pages/admin/overview.federation.vue | 2 +- .../client/src/pages/admin/overview.user.vue | 2 +- packages/client/src/pages/admin/overview.vue | 6 +-- .../client/src/pages/admin/proxy-account.vue | 2 +- packages/client/src/pages/admin/users.vue | 2 +- .../client/src/pages/antenna-timeline.vue | 2 +- packages/client/src/pages/auth.vue | 2 +- packages/client/src/pages/channel.vue | 6 +-- packages/client/src/pages/channels.vue | 2 +- packages/client/src/pages/clip.vue | 2 +- packages/client/src/pages/drive.vue | 2 +- .../client/src/pages/explore.featured.vue | 4 +- packages/client/src/pages/explore.users.vue | 4 +- packages/client/src/pages/explore.vue | 2 +- packages/client/src/pages/favorites.vue | 4 +- packages/client/src/pages/gallery/index.vue | 6 +-- packages/client/src/pages/gallery/post.vue | 6 +-- packages/client/src/pages/instance-info.vue | 10 ++--- .../messaging/messaging-room.message.vue | 2 +- .../src/pages/messaging/messaging-room.vue | 2 +- packages/client/src/pages/miauth.vue | 2 +- packages/client/src/pages/my-lists/index.vue | 2 +- packages/client/src/pages/note.vue | 8 ++-- packages/client/src/pages/notifications.vue | 4 +- .../page-editor/els/page-editor.el.image.vue | 2 +- .../page-editor/els/page-editor.el.note.vue | 4 +- packages/client/src/pages/page.vue | 4 +- packages/client/src/pages/pages.vue | 2 +- packages/client/src/pages/preview.vue | 2 +- packages/client/src/pages/registry.keys.vue | 2 +- packages/client/src/pages/registry.value.vue | 2 +- packages/client/src/pages/reset-password.vue | 2 +- packages/client/src/pages/search.vue | 2 +- .../src/pages/settings/account-info.vue | 2 +- .../client/src/pages/settings/accounts.vue | 4 +- packages/client/src/pages/settings/api.vue | 2 +- packages/client/src/pages/settings/drive.vue | 4 +- .../client/src/pages/settings/general.vue | 2 +- .../client/src/pages/settings/mute-block.vue | 2 +- .../src/pages/settings/notifications.vue | 2 +- .../src/pages/settings/plugin.install.vue | 2 +- packages/client/src/pages/settings/plugin.vue | 2 +- .../client/src/pages/settings/reaction.vue | 2 +- .../client/src/pages/settings/word-mute.vue | 4 +- packages/client/src/pages/share.vue | 2 +- packages/client/src/pages/tag.vue | 2 +- packages/client/src/pages/timeline.vue | 4 +- packages/client/src/pages/user-info.vue | 8 ++-- .../client/src/pages/user-list-timeline.vue | 2 +- .../client/src/pages/user/follow-list.vue | 2 +- packages/client/src/pages/user/gallery.vue | 2 +- packages/client/src/pages/user/home.vue | 8 ++-- .../client/src/pages/user/index.activity.vue | 2 +- .../client/src/pages/user/index.photos.vue | 2 +- .../client/src/pages/user/index.timeline.vue | 4 +- packages/client/src/pages/user/pages.vue | 2 +- packages/client/src/pages/user/reactions.vue | 4 +- .../client/src/pages/welcome.entrance.a.vue | 10 ++--- .../client/src/pages/welcome.entrance.b.vue | 8 ++-- .../client/src/pages/welcome.entrance.c.vue | 8 ++-- .../client/src/pages/welcome.timeline.vue | 6 +-- packages/client/src/scripts/autocomplete.ts | 2 +- packages/client/src/scripts/get-note-menu.ts | 2 +- packages/client/src/scripts/get-user-menu.ts | 2 +- packages/client/src/scripts/please-login.ts | 2 +- .../client/src/scripts/reaction-picker.ts | 2 +- .../client/src/scripts/use-chart-tooltip.ts | 2 +- packages/client/src/ui/_common_/common.vue | 2 +- .../src/ui/_common_/navbar-for-mobile.vue | 2 +- packages/client/src/ui/_common_/navbar.vue | 2 +- .../src/ui/_common_/statusbar-federation.vue | 2 +- .../client/src/ui/_common_/statusbar-rss.vue | 2 +- .../src/ui/_common_/statusbar-user-list.vue | 2 +- packages/client/src/ui/classic.header.vue | 2 +- packages/client/src/ui/classic.sidebar.vue | 2 +- packages/client/src/ui/classic.widgets.vue | 2 +- .../client/src/ui/deck/antenna-column.vue | 2 +- packages/client/src/ui/deck/direct-column.vue | 2 +- packages/client/src/ui/deck/list-column.vue | 2 +- .../client/src/ui/deck/mentions-column.vue | 2 +- .../src/ui/deck/notifications-column.vue | 4 +- packages/client/src/ui/deck/tl-column.vue | 2 +- .../client/src/ui/deck/widgets-column.vue | 2 +- packages/client/src/ui/universal.widgets.vue | 2 +- packages/client/src/ui/visitor/b.vue | 4 +- packages/client/src/ui/visitor/header.vue | 4 +- packages/client/src/ui/visitor/kanban.vue | 4 +- packages/client/src/widgets/clock.vue | 4 +- packages/client/src/widgets/digital-clock.vue | 2 +- packages/client/src/widgets/federation.vue | 2 +- .../client/src/widgets/instance-cloud.vue | 2 +- packages/client/src/widgets/notifications.vue | 4 +- packages/client/src/widgets/post-form.vue | 2 +- packages/client/src/widgets/rss-ticker.vue | 2 +- packages/client/src/widgets/timeline.vue | 2 +- packages/client/src/widgets/trends.vue | 2 +- 243 files changed, 390 insertions(+), 386 deletions(-) rename packages/client/src/components/{abuse-report.vue => MkAbuseReport.vue} (98%) rename packages/client/src/components/{abuse-report-window.vue => MkAbuseReportWindow.vue} (100%) rename packages/client/src/components/{analog-clock.vue => MkAnalogClock.vue} (100%) rename packages/client/src/components/{autocomplete.vue => MkAutocomplete.vue} (100%) rename packages/client/src/components/{avatars.vue => MkAvatars.vue} (100%) rename packages/client/src/components/{captcha.vue => MkCaptcha.vue} (100%) rename packages/client/src/components/{channel-follow-button.vue => MkChannelFollowButton.vue} (100%) rename packages/client/src/components/{channel-preview.vue => MkChannelPreview.vue} (100%) rename packages/client/src/components/{chart.vue => MkChart.vue} (100%) rename packages/client/src/components/{chart-tooltip.vue => MkChartTooltip.vue} (100%) rename packages/client/src/components/{code-core.vue => MkCode.core.vue} (100%) rename packages/client/src/components/{code.vue => MkCode.vue} (73%) rename packages/client/src/components/{cropper-dialog.vue => MkCropperDialog.vue} (100%) rename packages/client/src/components/{cw-button.vue => MkCwButton.vue} (100%) rename packages/client/src/components/{date-separated-list.vue => MkDateSeparatedList.vue} (86%) rename packages/client/src/components/{dialog.vue => MkDialog.vue} (100%) rename packages/client/src/components/{digital-clock.vue => MkDigitalClock.vue} (100%) rename packages/client/src/components/{drive.file.vue => MkDrive.file.vue} (92%) rename packages/client/src/components/{drive.folder.vue => MkDrive.folder.vue} (93%) rename packages/client/src/components/{drive.nav-folder.vue => MkDrive.navFolder.vue} (100%) rename packages/client/src/components/{drive.vue => MkDrive.vue} (99%) rename packages/client/src/components/{drive-file-thumbnail.vue => MkDriveFileThumbnail.vue} (97%) rename packages/client/src/components/{drive-select-dialog.vue => MkDriveSelectDialog.vue} (95%) rename packages/client/src/components/{drive-window.vue => MkDriveWindow.vue} (88%) rename packages/client/src/components/{emoji-picker.section.vue => MkEmojiPicker.section.vue} (100%) rename packages/client/src/components/{emoji-picker.vue => MkEmojiPicker.vue} (99%) rename packages/client/src/components/{emoji-picker-dialog.vue => MkEmojiPickerDialog.vue} (96%) rename packages/client/src/components/{emoji-picker-window.vue => MkEmojiPickerWindow.vue} (97%) rename packages/client/src/components/{featured-photos.vue => MkFeaturedPhotos.vue} (100%) rename packages/client/src/components/{file-list-for-admin.vue => MkFileListForAdmin.vue} (97%) rename packages/client/src/components/{file-type-icon.vue => MkFileTypeIcon.vue} (100%) rename packages/client/src/components/{follow-button.vue => MkFollowButton.vue} (100%) rename packages/client/src/components/{forgot-password.vue => MkForgotPassword.vue} (100%) rename packages/client/src/components/{form-dialog.vue => MkFormDialog.vue} (100%) rename packages/client/src/components/{formula.vue => MkFormula.vue} (60%) rename packages/client/src/components/{formula-core.vue => MkFormulaCore.vue} (100%) rename packages/client/src/components/{gallery-post-preview.vue => MkGalleryPostPreview.vue} (94%) rename packages/client/src/components/{google.vue => MkGoogle.vue} (100%) rename packages/client/src/components/{image-viewer.vue => MkImageViewer.vue} (100%) rename packages/client/src/components/{img-with-blurhash.vue => MkImgWithBlurhash.vue} (100%) rename packages/client/src/components/{instance-card-mini.vue => MkInstanceCardMini.vue} (98%) rename packages/client/src/components/{instance-stats.vue => MkInstanceStats.vue} (99%) rename packages/client/src/components/{instance-ticker.vue => MkInstanceTicker.vue} (100%) rename packages/client/src/components/{key-value.vue => MkKeyValue.vue} (100%) rename packages/client/src/components/{launch-pad.vue => MkLaunchPad.vue} (100%) rename packages/client/src/components/{link.vue => MkLink.vue} (91%) rename packages/client/src/components/{marquee.vue => MkMarquee.vue} (100%) rename packages/client/src/components/{media-banner.vue => MkMediaBanner.vue} (100%) rename packages/client/src/components/{media-caption.vue => MkMediaCaption.vue} (100%) rename packages/client/src/components/{media-image.vue => MkMediaImage.vue} (97%) rename packages/client/src/components/{media-list.vue => MkMediaList.vue} (96%) rename packages/client/src/components/{media-video.vue => MkMediaVideo.vue} (100%) rename packages/client/src/components/{mention.vue => MkMention.vue} (100%) rename packages/client/src/components/{mini-chart.vue => MkMiniChart.vue} (100%) rename packages/client/src/components/{modal-page-window.vue => MkModalPageWindow.vue} (100%) rename packages/client/src/components/{note.vue => MkNote.vue} (96%) rename packages/client/src/components/{note-detailed.vue => MkNoteDetailed.vue} (96%) rename packages/client/src/components/{note-header.vue => MkNoteHeader.vue} (96%) rename packages/client/src/components/{note-preview.vue => MkNotePreview.vue} (100%) rename packages/client/src/components/{note-simple.vue => MkNoteSimple.vue} (87%) rename packages/client/src/components/{notes.vue => MkNotes.vue} (92%) rename packages/client/src/components/{notification.vue => MkNotification.vue} (98%) rename packages/client/src/components/{notification-setting-window.vue => MkNotificationSettingWindow.vue} (100%) rename packages/client/src/components/{notification-toast.vue => MkNotificationToast.vue} (95%) rename packages/client/src/components/{notifications.vue => MkNotifications.vue} (94%) rename packages/client/src/components/{number-diff.vue => MkNumberDiff.vue} (100%) rename packages/client/src/components/{object-view.value.vue => MkObjectView.value.vue} (100%) rename packages/client/src/components/{object-view.vue => MkObjectView.vue} (85%) rename packages/client/src/components/{page-preview.vue => MkPagePreview.vue} (100%) rename packages/client/src/components/{page-window.vue => MkPageWindow.vue} (98%) rename packages/client/src/components/{poll.vue => MkPoll.vue} (100%) rename packages/client/src/components/{poll-editor.vue => MkPollEditor.vue} (100%) rename packages/client/src/components/{post-form.vue => MkPostForm.vue} (98%) rename packages/client/src/components/{post-form-attaches.vue => MkPostFormAttaches.vue} (96%) rename packages/client/src/components/{post-form-dialog.vue => MkPostFormDialog.vue} (89%) rename packages/client/src/components/{reaction-icon.vue => MkReactionIcon.vue} (100%) rename packages/client/src/components/{reaction-tooltip.vue => MkReactionTooltip.vue} (93%) rename packages/client/src/components/{reactions-viewer.details.vue => MkReactionsViewer.details.vue} (96%) rename packages/client/src/components/{reactions-viewer.reaction.vue => MkReactionsViewer.reaction.vue} (95%) rename packages/client/src/components/{reactions-viewer.vue => MkReactionsViewer.vue} (91%) rename packages/client/src/components/{remote-caution.vue => MkRemoteCaution.vue} (100%) rename packages/client/src/components/{renote-button.vue => MkRenoteButton.vue} (97%) rename packages/client/src/components/{ripple.vue => MkRipple.vue} (100%) rename packages/client/src/components/{sample.vue => MkSample.vue} (100%) rename packages/client/src/components/{signin.vue => MkSignin.vue} (98%) rename packages/client/src/components/{signin-dialog.vue => MkSigninDialog.vue} (94%) rename packages/client/src/components/{signup.vue => MkSignup.vue} (99%) rename packages/client/src/components/{signup-dialog.vue => MkSignupDialog.vue} (94%) rename packages/client/src/components/{sparkle.vue => MkSparkle.vue} (100%) rename packages/client/src/components/{sub-note-content.vue => MkSubNoteContent.vue} (95%) rename packages/client/src/components/{tab.vue => MkTab.vue} (100%) rename packages/client/src/components/{tag-cloud.vue => MkTagCloud.vue} (100%) rename packages/client/src/components/{timeline.vue => MkTimeline.vue} (93%) rename packages/client/src/components/{toast.vue => MkToast.vue} (100%) rename packages/client/src/components/{token-generate-window.vue => MkTokenGenerateWindow.vue} (100%) rename packages/client/src/components/{updated.vue => MkUpdated.vue} (95%) rename packages/client/src/components/{url-preview.vue => MkUrlPreview.vue} (100%) rename packages/client/src/components/{url-preview-popup.vue => MkUrlPreviewPopup.vue} (88%) rename packages/client/src/components/{user-card-mini.vue => MkUserCardMini.vue} (97%) rename packages/client/src/components/{user-info.vue => MkUserInfo.vue} (97%) rename packages/client/src/components/{user-list.vue => MkUserList.vue} (94%) rename packages/client/src/components/{user-online-indicator.vue => MkUserOnlineIndicator.vue} (100%) rename packages/client/src/components/{user-preview.vue => MkUserPreview.vue} (96%) rename packages/client/src/components/{user-select-dialog.vue => MkUserSelectDialog.vue} (100%) rename packages/client/src/components/{users-tooltip.vue => MkUsersTooltip.vue} (100%) rename packages/client/src/components/{visibility.vue => MkVisibility.vue} (95%) rename packages/client/src/components/{visibility-picker.vue => MkVisibilityPicker.vue} (100%) rename packages/client/src/components/{waiting-dialog.vue => MkWaitingDialog.vue} (100%) rename packages/client/src/components/{widgets.vue => MkWidgets.vue} (100%) rename packages/client/src/components/global/{a.vue => MkA.vue} (100%) rename packages/client/src/components/global/{acct.vue => MkAcct.vue} (100%) rename packages/client/src/components/global/{ad.vue => MkAd.vue} (100%) rename packages/client/src/components/global/{avatar.vue => MkAvatar.vue} (98%) rename packages/client/src/components/global/{ellipsis.vue => MkEllipsis.vue} (100%) rename packages/client/src/components/global/{emoji.vue => MkEmoji.vue} (100%) rename packages/client/src/components/global/{error.vue => MkError.vue} (100%) rename packages/client/src/components/global/{loading.vue => MkLoading.vue} (100%) rename packages/client/src/components/global/{misskey-flavored-markdown.vue => MkMisskeyFlavoredMarkdown.vue} (100%) rename packages/client/src/components/global/{page-header.vue => MkPageHeader.vue} (100%) rename packages/client/src/components/global/{spacer.vue => MkSpacer.vue} (100%) rename packages/client/src/components/global/{sticky-container.vue => MkStickyContainer.vue} (100%) rename packages/client/src/components/global/{time.vue => MkTime.vue} (100%) rename packages/client/src/components/global/{url.vue => MkUrl.vue} (96%) rename packages/client/src/components/global/{user-name.vue => MkUserName.vue} (100%) rename packages/client/src/components/global/{router-view.vue => RouterView.vue} (100%) diff --git a/packages/client/src/account.ts b/packages/client/src/account.ts index 243aea68c..10257b841 100644 --- a/packages/client/src/account.ts +++ b/packages/client/src/account.ts @@ -146,7 +146,7 @@ export async function openAccountMenu(opts: { onChoose?: (account: misskey.entities.UserDetailed) => void; }, ev: MouseEvent) { function showSigninDialog() { - popup(defineAsyncComponent(() => import('@/components/signin-dialog.vue')), {}, { + popup(defineAsyncComponent(() => import('@/components/MkSigninDialog.vue')), {}, { done: res => { addAccount(res.id, res.i); success(); @@ -155,7 +155,7 @@ export async function openAccountMenu(opts: { } function createAccount() { - popup(defineAsyncComponent(() => import('@/components/signup-dialog.vue')), {}, { + popup(defineAsyncComponent(() => import('@/components/MkSignupDialog.vue')), {}, { done: res => { addAccount(res.id, res.i); switchAccountWithToken(res.i); diff --git a/packages/client/src/components/abuse-report.vue b/packages/client/src/components/MkAbuseReport.vue similarity index 98% rename from packages/client/src/components/abuse-report.vue rename to packages/client/src/components/MkAbuseReport.vue index 8c25df110..42bd1af3f 100644 --- a/packages/client/src/components/abuse-report.vue +++ b/packages/client/src/components/MkAbuseReport.vue @@ -38,7 +38,7 @@ diff --git a/packages/client/src/components/cropper-dialog.vue b/packages/client/src/components/MkCropperDialog.vue similarity index 100% rename from packages/client/src/components/cropper-dialog.vue rename to packages/client/src/components/MkCropperDialog.vue diff --git a/packages/client/src/components/cw-button.vue b/packages/client/src/components/MkCwButton.vue similarity index 100% rename from packages/client/src/components/cw-button.vue rename to packages/client/src/components/MkCwButton.vue diff --git a/packages/client/src/components/date-separated-list.vue b/packages/client/src/components/MkDateSeparatedList.vue similarity index 86% rename from packages/client/src/components/date-separated-list.vue rename to packages/client/src/components/MkDateSeparatedList.vue index 085ef871e..f63d9782b 100644 --- a/packages/client/src/components/date-separated-list.vue +++ b/packages/client/src/components/MkDateSeparatedList.vue @@ -1,6 +1,6 @@ diff --git a/packages/client/src/components/dialog.vue b/packages/client/src/components/MkDialog.vue similarity index 100% rename from packages/client/src/components/dialog.vue rename to packages/client/src/components/MkDialog.vue diff --git a/packages/client/src/components/digital-clock.vue b/packages/client/src/components/MkDigitalClock.vue similarity index 100% rename from packages/client/src/components/digital-clock.vue rename to packages/client/src/components/MkDigitalClock.vue diff --git a/packages/client/src/components/drive.file.vue b/packages/client/src/components/MkDrive.file.vue similarity index 92% rename from packages/client/src/components/drive.file.vue rename to packages/client/src/components/MkDrive.file.vue index aaf7ca3ca..22916d568 100644 --- a/packages/client/src/components/drive.file.vue +++ b/packages/client/src/components/MkDrive.file.vue @@ -1,5 +1,6 @@