From a9e13693a593ff1fb4b2ed1f2e1cb90a8ef7bd3b Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 6 Sep 2022 18:21:49 +0900 Subject: [PATCH] refactor(client): refactor file name and directory structure --- packages/client/src/components/MkAbuseReport.vue | 2 +- .../client/src/components/MkAbuseReportWindow.vue | 4 ++-- .../src/components/{ui/button.vue => MkButton.vue} | 0 packages/client/src/components/MkChartTooltip.vue | 2 +- .../components/{ui/container.vue => MkContainer.vue} | 0 .../{ui/context-menu.vue => MkContextMenu.vue} | 2 +- packages/client/src/components/MkCropperDialog.vue | 2 +- packages/client/src/components/MkDialog.vue | 4 ++-- packages/client/src/components/MkDrive.vue | 2 +- .../client/src/components/MkDriveSelectDialog.vue | 2 +- packages/client/src/components/MkDriveWindow.vue | 2 +- .../client/src/components/MkEmojiPickerDialog.vue | 2 +- .../client/src/components/MkEmojiPickerWindow.vue | 2 +- .../client/src/components/MkFileListForAdmin.vue | 2 +- .../src/components/{ui/folder.vue => MkFolder.vue} | 0 packages/client/src/components/MkForgotPassword.vue | 4 ++-- packages/client/src/components/MkFormDialog.vue | 4 ++-- packages/client/src/components/MkImageViewer.vue | 2 +- .../src/components/{ui/info.vue => MkInfo.vue} | 0 packages/client/src/components/MkLaunchPad.vue | 2 +- packages/client/src/components/MkMediaCaption.vue | 4 ++-- .../{ui/menu.child.vue => MkMenu.child.vue} | 2 +- .../src/components/{ui/menu.vue => MkMenu.vue} | 2 +- .../src/components/{ui/modal.vue => MkModal.vue} | 0 packages/client/src/components/MkModalPageWindow.vue | 2 +- .../{ui/modal-window.vue => MkModalWindow.vue} | 2 +- packages/client/src/components/MkNotes.vue | 2 +- .../src/components/MkNotificationSettingWindow.vue | 6 +++--- packages/client/src/components/MkNotifications.vue | 2 +- packages/client/src/components/MkPageWindow.vue | 2 +- .../{ui/pagination.vue => MkPagination.vue} | 2 +- packages/client/src/components/MkPollEditor.vue | 2 +- .../{ui/popup-menu.vue => MkPopupMenu.vue} | 4 ++-- packages/client/src/components/MkPostForm.vue | 2 +- packages/client/src/components/MkPostFormDialog.vue | 2 +- packages/client/src/components/MkReactionTooltip.vue | 2 +- .../src/components/MkReactionsViewer.details.vue | 2 +- packages/client/src/components/MkSample.vue | 2 +- packages/client/src/components/MkSignin.vue | 4 ++-- packages/client/src/components/MkSigninDialog.vue | 2 +- packages/client/src/components/MkSignup.vue | 2 +- packages/client/src/components/MkSignupDialog.vue | 2 +- .../{ui/super-menu.vue => MkSuperMenu.vue} | 0 .../client/src/components/MkTokenGenerateWindow.vue | 6 +++--- .../src/components/{ui/tooltip.vue => MkTooltip.vue} | 0 packages/client/src/components/MkUpdated.vue | 4 ++-- packages/client/src/components/MkUserList.vue | 2 +- .../client/src/components/MkUserSelectDialog.vue | 2 +- packages/client/src/components/MkUsersTooltip.vue | 2 +- .../client/src/components/MkVisibilityPicker.vue | 2 +- packages/client/src/components/MkWaitingDialog.vue | 2 +- packages/client/src/components/MkWidgets.vue | 2 +- .../src/components/{ui/window.vue => MkWindow.vue} | 0 packages/client/src/components/form/input.vue | 2 +- packages/client/src/components/form/range.vue | 2 +- packages/client/src/components/form/select.vue | 2 +- packages/client/src/components/form/suspense.vue | 2 +- packages/client/src/components/form/textarea.vue | 2 +- packages/client/src/components/global/MkAd.vue | 2 +- packages/client/src/components/global/MkError.vue | 2 +- packages/client/src/components/page/page.button.vue | 2 +- packages/client/src/components/page/page.counter.vue | 2 +- packages/client/src/components/page/page.post.vue | 2 +- packages/client/src/directives/tooltip.ts | 2 +- packages/client/src/os.ts | 4 ++-- packages/client/src/pages/_error_.vue | 2 +- packages/client/src/pages/about-misskey.vue | 2 +- packages/client/src/pages/about.emojis.vue | 12 ++++++------ packages/client/src/pages/about.federation.vue | 4 ++-- packages/client/src/pages/admin-file.vue | 4 ++-- packages/client/src/pages/admin/_header_.vue | 2 +- packages/client/src/pages/admin/abuses.vue | 2 +- packages/client/src/pages/admin/ads.vue | 2 +- packages/client/src/pages/admin/announcements.vue | 2 +- packages/client/src/pages/admin/bot-protection.vue | 2 +- packages/client/src/pages/admin/email-settings.vue | 2 +- .../client/src/pages/admin/emoji-edit-dialog.vue | 4 ++-- packages/client/src/pages/admin/emojis.vue | 4 ++-- packages/client/src/pages/admin/files.vue | 2 +- packages/client/src/pages/admin/index.vue | 4 ++-- packages/client/src/pages/admin/instance-block.vue | 2 +- .../client/src/pages/admin/integrations.discord.vue | 4 ++-- .../client/src/pages/admin/integrations.github.vue | 4 ++-- .../client/src/pages/admin/integrations.twitter.vue | 4 ++-- packages/client/src/pages/admin/metrics.vue | 6 +++--- packages/client/src/pages/admin/proxy-account.vue | 4 ++-- packages/client/src/pages/admin/queue.vue | 2 +- packages/client/src/pages/admin/relays.vue | 2 +- packages/client/src/pages/admin/security.vue | 4 ++-- packages/client/src/pages/admin/settings.vue | 2 +- packages/client/src/pages/admin/users.vue | 2 +- packages/client/src/pages/announcements.vue | 4 ++-- packages/client/src/pages/api-console.vue | 2 +- packages/client/src/pages/auth.form.vue | 2 +- packages/client/src/pages/channel-editor.vue | 2 +- packages/client/src/pages/channel.vue | 2 +- packages/client/src/pages/channels.vue | 4 ++-- packages/client/src/pages/explore.users.vue | 2 +- packages/client/src/pages/explore.vue | 2 +- packages/client/src/pages/favorites.vue | 2 +- packages/client/src/pages/follow-requests.vue | 2 +- packages/client/src/pages/gallery/edit.vue | 2 +- packages/client/src/pages/gallery/index.vue | 6 +++--- packages/client/src/pages/gallery/post.vue | 6 +++--- packages/client/src/pages/instance-info.vue | 4 ++-- packages/client/src/pages/messaging/index.vue | 2 +- .../client/src/pages/messaging/messaging-room.vue | 2 +- packages/client/src/pages/miauth.vue | 2 +- packages/client/src/pages/my-antennas/editor.vue | 2 +- packages/client/src/pages/my-antennas/index.vue | 4 ++-- packages/client/src/pages/my-clips/index.vue | 4 ++-- packages/client/src/pages/my-lists/index.vue | 4 ++-- packages/client/src/pages/my-lists/list.vue | 2 +- packages/client/src/pages/note.vue | 2 +- .../client/src/pages/page-editor/page-editor.vue | 2 +- packages/client/src/pages/page.vue | 6 +++--- packages/client/src/pages/pages.vue | 4 ++-- packages/client/src/pages/registry.keys.vue | 2 +- packages/client/src/pages/registry.value.vue | 4 ++-- packages/client/src/pages/registry.vue | 2 +- packages/client/src/pages/reset-password.vue | 2 +- packages/client/src/pages/scratchpad.vue | 4 ++-- packages/client/src/pages/settings/2fa.vue | 4 ++-- packages/client/src/pages/settings/accounts.vue | 2 +- packages/client/src/pages/settings/api.vue | 2 +- packages/client/src/pages/settings/apps.vue | 2 +- packages/client/src/pages/settings/custom-css.vue | 2 +- .../client/src/pages/settings/delete-account.vue | 4 ++-- packages/client/src/pages/settings/import-export.vue | 2 +- packages/client/src/pages/settings/index.vue | 4 ++-- packages/client/src/pages/settings/instance-mute.vue | 4 ++-- packages/client/src/pages/settings/integration.vue | 2 +- packages/client/src/pages/settings/mute-block.vue | 4 ++-- packages/client/src/pages/settings/navbar.vue | 2 +- packages/client/src/pages/settings/notifications.vue | 2 +- .../client/src/pages/settings/plugin.install.vue | 4 ++-- packages/client/src/pages/settings/plugin.vue | 2 +- .../src/pages/settings/preferences-backups.vue | 4 ++-- packages/client/src/pages/settings/profile.vue | 2 +- packages/client/src/pages/settings/reaction.vue | 2 +- packages/client/src/pages/settings/security.vue | 4 ++-- packages/client/src/pages/settings/sounds.vue | 2 +- .../src/pages/settings/statusbar.statusbar.vue | 2 +- packages/client/src/pages/settings/statusbar.vue | 2 +- packages/client/src/pages/settings/theme.install.vue | 2 +- packages/client/src/pages/settings/theme.manage.vue | 2 +- packages/client/src/pages/settings/theme.vue | 2 +- packages/client/src/pages/settings/webhook.edit.vue | 2 +- packages/client/src/pages/settings/webhook.new.vue | 2 +- packages/client/src/pages/settings/webhook.vue | 2 +- packages/client/src/pages/settings/word-mute.vue | 4 ++-- packages/client/src/pages/share.vue | 2 +- packages/client/src/pages/theme-editor.vue | 2 +- packages/client/src/pages/timeline.tutorial.vue | 2 +- packages/client/src/pages/user-info.vue | 4 ++-- packages/client/src/pages/user/clips.vue | 2 +- packages/client/src/pages/user/follow-list.vue | 2 +- packages/client/src/pages/user/gallery.vue | 2 +- packages/client/src/pages/user/home.vue | 6 +++--- packages/client/src/pages/user/index.activity.vue | 2 +- packages/client/src/pages/user/index.photos.vue | 2 +- packages/client/src/pages/user/pages.vue | 2 +- packages/client/src/pages/user/reactions.vue | 2 +- packages/client/src/pages/welcome.entrance.a.vue | 2 +- packages/client/src/pages/welcome.entrance.b.vue | 2 +- packages/client/src/pages/welcome.entrance.c.vue | 2 +- packages/client/src/pages/welcome.setup.vue | 2 +- packages/client/src/ui/classic.header.vue | 2 +- packages/client/src/ui/classic.sidebar.vue | 2 +- packages/client/src/ui/deck.vue | 2 +- packages/client/src/ui/visitor/a.vue | 4 ++-- packages/client/src/ui/visitor/b.vue | 4 ++-- packages/client/src/ui/visitor/kanban.vue | 12 ++++++------ packages/client/src/widgets/activity.vue | 2 +- packages/client/src/widgets/aiscript.vue | 2 +- packages/client/src/widgets/button.vue | 10 +++++----- packages/client/src/widgets/clock.vue | 2 +- packages/client/src/widgets/federation.vue | 2 +- packages/client/src/widgets/instance-cloud.vue | 2 +- packages/client/src/widgets/memo.vue | 2 +- packages/client/src/widgets/notifications.vue | 2 +- packages/client/src/widgets/photos.vue | 2 +- packages/client/src/widgets/rss-ticker.vue | 2 +- packages/client/src/widgets/rss.vue | 2 +- packages/client/src/widgets/server-metric/index.vue | 2 +- packages/client/src/widgets/timeline.vue | 2 +- packages/client/src/widgets/trends.vue | 2 +- 187 files changed, 247 insertions(+), 247 deletions(-) rename packages/client/src/components/{ui/button.vue => MkButton.vue} (100%) rename packages/client/src/components/{ui/container.vue => MkContainer.vue} (100%) rename packages/client/src/components/{ui/context-menu.vue => MkContextMenu.vue} (98%) rename packages/client/src/components/{ui/folder.vue => MkFolder.vue} (100%) rename packages/client/src/components/{ui/info.vue => MkInfo.vue} (100%) rename packages/client/src/components/{ui/menu.child.vue => MkMenu.child.vue} (97%) rename packages/client/src/components/{ui/menu.vue => MkMenu.vue} (99%) rename packages/client/src/components/{ui/modal.vue => MkModal.vue} (100%) rename packages/client/src/components/{ui/modal-window.vue => MkModalWindow.vue} (98%) rename packages/client/src/components/{ui/pagination.vue => MkPagination.vue} (99%) rename packages/client/src/components/{ui/popup-menu.vue => MkPopupMenu.vue} (92%) rename packages/client/src/components/{ui/super-menu.vue => MkSuperMenu.vue} (100%) rename packages/client/src/components/{ui/tooltip.vue => MkTooltip.vue} (100%) rename packages/client/src/components/{ui/window.vue => MkWindow.vue} (100%) diff --git a/packages/client/src/components/MkAbuseReport.vue b/packages/client/src/components/MkAbuseReport.vue index 42bd1af3fb..9a3464b640 100644 --- a/packages/client/src/components/MkAbuseReport.vue +++ b/packages/client/src/components/MkAbuseReport.vue @@ -36,7 +36,7 @@ diff --git a/packages/client/src/components/page/page.button.vue b/packages/client/src/components/page/page.button.vue index a87f6e9f02..e8878df8de 100644 --- a/packages/client/src/components/page/page.button.vue +++ b/packages/client/src/components/page/page.button.vue @@ -6,7 +6,7 @@ diff --git a/packages/client/src/pages/about.federation.vue b/packages/client/src/pages/about.federation.vue index 51a49ba59f..c501a77582 100644 --- a/packages/client/src/pages/about.federation.vue +++ b/packages/client/src/pages/about.federation.vue @@ -48,10 +48,10 @@ diff --git a/packages/client/src/widgets/activity.vue b/packages/client/src/widgets/activity.vue index 97e354e1bb..acca21bff6 100644 --- a/packages/client/src/widgets/activity.vue +++ b/packages/client/src/widgets/activity.vue @@ -20,7 +20,7 @@ import XCalendar from './activity.calendar.vue'; import XChart from './activity.chart.vue'; import { GetFormResultType } from '@/scripts/form'; import * as os from '@/os'; -import MkContainer from '@/components/ui/container.vue'; +import MkContainer from '@/components/MkContainer.vue'; import { $i } from '@/account'; import { i18n } from '@/i18n'; diff --git a/packages/client/src/widgets/aiscript.vue b/packages/client/src/widgets/aiscript.vue index 6ae1a9877b..cb6d29cd99 100644 --- a/packages/client/src/widgets/aiscript.vue +++ b/packages/client/src/widgets/aiscript.vue @@ -18,7 +18,7 @@ import { AiScript, parse, utils } from '@syuilo/aiscript'; import { useWidgetPropsManager, Widget, WidgetComponentEmits, WidgetComponentExpose, WidgetComponentProps } from './widget'; import { GetFormResultType } from '@/scripts/form'; import * as os from '@/os'; -import MkContainer from '@/components/ui/container.vue'; +import MkContainer from '@/components/MkContainer.vue'; import { createAiScriptEnv } from '@/scripts/aiscript/api'; import { $i } from '@/account'; import { i18n } from '@/i18n'; diff --git a/packages/client/src/widgets/button.vue b/packages/client/src/widgets/button.vue index ee4e9c6423..f0148d7f4e 100644 --- a/packages/client/src/widgets/button.vue +++ b/packages/client/src/widgets/button.vue @@ -8,13 +8,13 @@