From 11349561d697b11df7bcaa3d57ed3498eb4dd3c5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 20 Apr 2021 23:22:59 +0900 Subject: [PATCH] Use FontAwesome as web font instead of vue component (#7469) * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update yarn.lock * wip * wip --- package.json | 7 +- src/client/components/abuse-report-window.vue | 4 +- .../components/channel-follow-button.vue | 8 +- src/client/components/channel-preview.vue | 8 +- src/client/components/date-separated-list.vue | 12 +- src/client/components/dialog.vue | 17 ++- .../components/drive-file-thumbnail.vue | 39 ++----- src/client/components/drive.file.vue | 10 +- src/client/components/drive.folder.vue | 13 +-- src/client/components/drive.nav-folder.vue | 4 +- src/client/components/drive.vue | 17 ++- .../components/emoji-picker.section.vue | 4 +- src/client/components/emoji-picker.vue | 13 +-- src/client/components/file-type-icon.vue | 4 +- src/client/components/follow-button.vue | 14 +-- src/client/components/form/info.vue | 6 +- src/client/components/form/input.vue | 4 +- src/client/components/form/link.vue | 6 +- src/client/components/form/select.vue | 4 +- src/client/components/form/textarea.vue | 4 +- src/client/components/global/a.vue | 11 +- src/client/components/global/error.vue | 4 +- src/client/components/global/url.vue | 4 +- src/client/components/google.vue | 4 +- src/client/components/instance-stats.vue | 14 +-- src/client/components/launch-pad.vue | 18 ++- src/client/components/link.vue | 4 +- src/client/components/media-banner.vue | 6 +- src/client/components/media-image.vue | 6 +- src/client/components/media-video.vue | 7 +- src/client/components/modal-page-window.vue | 16 ++- src/client/components/note-detailed.vue | 103 ++++++++--------- src/client/components/note-header.vue | 17 ++- src/client/components/note.vue | 97 +++++++--------- src/client/components/notification.vue | 39 +++---- src/client/components/page-window.vue | 14 +-- src/client/components/page/page.post.vue | 7 +- src/client/components/poll-editor.vue | 8 +- src/client/components/poll.vue | 6 +- src/client/components/post-form-attaches.vue | 9 +- src/client/components/post-form.vue | 37 +++--- src/client/components/remote-caution.vue | 4 +- src/client/components/signin.vue | 15 +-- src/client/components/signup.vue | 32 +++--- src/client/components/sub-note-content.vue | 4 +- src/client/components/taskmanager.vue | 4 +- src/client/components/ui/container.vue | 8 +- src/client/components/ui/folder.vue | 8 +- src/client/components/ui/info.vue | 6 +- src/client/components/ui/input.vue | 4 +- src/client/components/ui/menu.vue | 20 ++-- src/client/components/ui/modal-window.vue | 8 +- src/client/components/ui/select.vue | 4 +- src/client/components/ui/window.vue | 6 +- src/client/components/url-preview.vue | 9 +- src/client/components/user-list.vue | 4 +- src/client/components/user-select-dialog.vue | 2 - src/client/components/users-dialog.vue | 6 +- src/client/components/visibility-picker.vue | 15 +-- src/client/components/waiting-dialog.vue | 6 +- src/client/components/widgets.vue | 8 +- src/client/init.ts | 3 - src/client/pages/_error_.vue | 6 +- src/client/pages/about-misskey.vue | 8 +- src/client/pages/about.vue | 4 +- src/client/pages/advanced-theme-editor.vue | 6 +- src/client/pages/announcements.vue | 6 +- src/client/pages/api-console.vue | 6 +- src/client/pages/channel-editor.vue | 13 +-- src/client/pages/channel.vue | 15 +-- src/client/pages/channels.vue | 15 +-- src/client/pages/clip.vue | 9 +- src/client/pages/doc.vue | 3 +- src/client/pages/docs.vue | 4 +- src/client/pages/drive.vue | 3 +- src/client/pages/explore.vue | 25 ++--- src/client/pages/favorites.vue | 3 +- src/client/pages/featured.vue | 4 +- src/client/pages/follow-requests.vue | 8 +- src/client/pages/instance-info.vue | 5 +- src/client/pages/instance/abuses.vue | 5 +- src/client/pages/instance/announcements.vue | 11 +- .../pages/instance/emoji-edit-dialog.vue | 4 +- src/client/pages/instance/emojis.vue | 15 +-- src/client/pages/instance/federation.vue | 18 ++- src/client/pages/instance/file-dialog.vue | 7 +- src/client/pages/instance/files.vue | 11 +- src/client/pages/instance/index.metrics.vue | 30 +++-- src/client/pages/instance/index.vue | 16 ++- src/client/pages/instance/instance.vue | 6 +- src/client/pages/instance/logs.vue | 7 +- src/client/pages/instance/queue.vue | 11 +- src/client/pages/instance/relays.vue | 13 +-- src/client/pages/instance/settings.vue | 106 +++++++++--------- src/client/pages/instance/user-dialog.vue | 19 ++-- src/client/pages/instance/users.vue | 23 ++-- src/client/pages/mentions.vue | 3 +- src/client/pages/messages.vue | 4 +- src/client/pages/messaging/index.vue | 10 +- .../pages/messaging/messaging-room.form.vue | 8 +- .../messaging/messaging-room.message.vue | 4 +- src/client/pages/messaging/messaging-room.vue | 27 ++--- src/client/pages/mfm-cheat-sheet.vue | 3 +- .../pages/my-antennas/index.antenna.vue | 6 +- src/client/pages/my-antennas/index.vue | 8 +- src/client/pages/my-clips/index.vue | 8 +- src/client/pages/my-groups/group.vue | 6 +- src/client/pages/my-groups/index.vue | 12 +- src/client/pages/my-lists/index.vue | 8 +- src/client/pages/my-lists/list.vue | 6 +- src/client/pages/not-found.vue | 3 +- src/client/pages/note.vue | 6 +- src/client/pages/notifications.vue | 5 +- .../page-editor/els/page-editor.el.button.vue | 4 +- .../page-editor/els/page-editor.el.canvas.vue | 6 +- .../els/page-editor.el.counter.vue | 6 +- .../page-editor/els/page-editor.el.if.vue | 6 +- .../page-editor/els/page-editor.el.image.vue | 7 +- .../page-editor/els/page-editor.el.note.vue | 4 +- .../els/page-editor.el.number-input.vue | 6 +- .../page-editor/els/page-editor.el.post.vue | 4 +- .../els/page-editor.el.radio-button.vue | 6 +- .../els/page-editor.el.section.vue | 9 +- .../page-editor/els/page-editor.el.switch.vue | 6 +- .../els/page-editor.el.text-input.vue | 6 +- .../page-editor/els/page-editor.el.text.vue | 4 +- .../els/page-editor.el.textarea-input.vue | 6 +- .../els/page-editor.el.textarea.vue | 4 +- .../page-editor/page-editor.container.vue | 13 +-- .../page-editor/page-editor.script-block.vue | 8 +- src/client/pages/page-editor/page-editor.vue | 31 +++-- src/client/pages/page.vue | 11 +- src/client/pages/pages.vue | 15 +-- src/client/pages/preview.vue | 3 +- src/client/pages/reversi/game.board.vue | 18 ++- src/client/pages/reversi/game.setting.vue | 8 +- src/client/pages/reversi/game.vue | 3 +- src/client/pages/reversi/index.vue | 3 +- src/client/pages/room/room.vue | 17 ++- src/client/pages/scratchpad.vue | 8 +- src/client/pages/search.vue | 3 +- src/client/pages/settings/2fa.vue | 10 +- src/client/pages/settings/account-info.vue | 3 +- src/client/pages/settings/api.vue | 3 +- src/client/pages/settings/apps.vue | 6 +- src/client/pages/settings/deck.vue | 4 +- src/client/pages/settings/drive.vue | 7 +- src/client/pages/settings/email-address.vue | 5 +- .../pages/settings/email-notification.vue | 4 +- src/client/pages/settings/email.vue | 11 +- .../pages/settings/experimental-features.vue | 3 +- src/client/pages/settings/general.vue | 4 +- src/client/pages/settings/import-export.vue | 18 ++- src/client/pages/settings/index.vue | 41 ++++--- src/client/pages/settings/integration.vue | 11 +- src/client/pages/settings/mute-block.vue | 3 +- src/client/pages/settings/notifications.vue | 5 +- src/client/pages/settings/other.vue | 10 +- src/client/pages/settings/plugin.install.vue | 6 +- src/client/pages/settings/plugin.manage.vue | 8 +- src/client/pages/settings/plugin.vue | 8 +- src/client/pages/settings/privacy.vue | 3 +- src/client/pages/settings/profile.vue | 9 +- src/client/pages/settings/reaction.vue | 13 +-- src/client/pages/settings/registry.keys.vue | 3 +- src/client/pages/settings/registry.value.vue | 8 +- src/client/pages/settings/registry.vue | 3 +- src/client/pages/settings/security.vue | 12 +- src/client/pages/settings/sidebar.vue | 8 +- src/client/pages/settings/sounds.vue | 12 +- src/client/pages/settings/theme.install.vue | 8 +- src/client/pages/settings/theme.manage.vue | 6 +- src/client/pages/settings/theme.vue | 14 +-- src/client/pages/settings/update.vue | 3 +- src/client/pages/settings/word-mute.vue | 6 +- src/client/pages/share.vue | 4 +- src/client/pages/tag.vue | 4 +- src/client/pages/test.vue | 3 +- src/client/pages/theme-editor.vue | 10 +- src/client/pages/timeline.tutorial.vue | 12 +- src/client/pages/timeline.vue | 25 ++--- src/client/pages/user-ap-info.vue | 3 +- src/client/pages/user-info.vue | 5 +- src/client/pages/user/index.activity.vue | 4 +- src/client/pages/user/index.photos.vue | 4 +- src/client/pages/user/index.vue | 51 ++++----- src/client/pages/v.vue | 2 - src/client/pages/welcome.entrance.a.vue | 10 +- src/client/pages/welcome.entrance.b.vue | 8 +- src/client/pages/welcome.entrance.c.vue | 10 +- src/client/pages/welcome.setup.vue | 4 +- src/client/scripts/get-user-menu.ts | 28 +++-- src/client/scripts/hpml/index.ts | 22 ++-- src/client/scripts/hpml/lib.ts | 95 ++++++---------- src/client/scripts/search.ts | 3 +- src/client/scripts/select-file.ts | 7 +- src/client/sidebar.ts | 44 ++++---- src/client/ui/_common_/header.vue | 12 +- src/client/ui/_common_/sidebar.vue | 51 ++++----- src/client/ui/_common_/upload.vue | 6 +- src/client/ui/chat/date-separated-list.vue | 12 +- src/client/ui/chat/index.vue | 73 ++++++------ src/client/ui/chat/note-header.vue | 17 ++- src/client/ui/chat/note.vue | 97 +++++++--------- src/client/ui/chat/post-form.vue | 35 +++--- src/client/ui/chat/side.vue | 14 +-- src/client/ui/chat/sub-note-content.vue | 4 +- src/client/ui/deck.vue | 9 +- src/client/ui/deck/antenna-column.vue | 4 +- src/client/ui/deck/column.vue | 25 ++--- src/client/ui/deck/direct-column.vue | 4 +- src/client/ui/deck/list-column.vue | 4 +- src/client/ui/deck/main-column.vue | 3 +- src/client/ui/deck/mentions-column.vue | 3 +- src/client/ui/deck/notifications-column.vue | 5 +- src/client/ui/deck/tl-column.vue | 12 +- src/client/ui/deck/widgets-column.vue | 4 +- src/client/ui/default.side.vue | 14 +-- src/client/ui/default.sidebar.vue | 51 ++++----- src/client/ui/default.vue | 19 ++-- src/client/ui/default.widgets.vue | 6 +- src/client/ui/universal.vue | 21 ++-- src/client/ui/universal.widgets.vue | 6 +- src/client/ui/visitor/a.vue | 1 - src/client/ui/visitor/b.vue | 9 +- src/client/ui/visitor/header.vue | 22 ++-- src/client/ui/visitor/kanban.vue | 1 - src/client/ui/zen.vue | 3 - src/client/widgets/activity.vue | 6 +- src/client/widgets/aiscript.vue | 4 +- src/client/widgets/federation.vue | 4 +- src/client/widgets/job-queue.vue | 6 +- src/client/widgets/memo.vue | 4 +- src/client/widgets/notifications.vue | 6 +- src/client/widgets/photos.vue | 4 +- src/client/widgets/rss.vue | 6 +- src/client/widgets/server-metric/cpu.vue | 6 +- src/client/widgets/server-metric/disk.vue | 6 +- src/client/widgets/server-metric/index.vue | 6 +- src/client/widgets/server-metric/mem.vue | 6 +- src/client/widgets/slideshow.vue | 1 - src/client/widgets/timeline.vue | 29 +++-- src/client/widgets/trends.vue | 4 +- src/server/web/views/base.pug | 2 + yarn.lock | 46 +------- 245 files changed, 1156 insertions(+), 1775 deletions(-) diff --git a/package.json b/package.json index a54ba0441..7e8b47d7f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "misskey", "author": "syuilo ", - "version": "12.77.1", + "version": "12.78.0-beta.1", "codename": "indigo", "repository": { "type": "git", @@ -39,11 +39,6 @@ "dependencies": { "@babel/plugin-transform-runtime": "7.13.15", "@elastic/elasticsearch": "7.11.0", - "@fortawesome/fontawesome-svg-core": "1.2.35", - "@fortawesome/free-brands-svg-icons": "5.15.3", - "@fortawesome/free-regular-svg-icons": "5.15.3", - "@fortawesome/free-solid-svg-icons": "5.15.3", - "@fortawesome/vue-fontawesome": "3.0.0-3", "@koa/cors": "3.1.0", "@koa/multer": "3.0.0", "@koa/router": "9.0.1", diff --git a/src/client/components/abuse-report-window.vue b/src/client/components/abuse-report-window.vue index df5b594c0..d9e1c3966 100644 --- a/src/client/components/abuse-report-window.vue +++ b/src/client/components/abuse-report-window.vue @@ -1,7 +1,7 @@