From 9f8873574cbb709e42c737de4d32c4fa26cf9e2f Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 22 Jun 2024 14:07:02 +0100 Subject: [PATCH] replaced tool pencil bell refresh --- packages/frontend/src/components/MkPageWindow.vue | 2 +- packages/frontend/src/components/MkTutorialDialog.vue | 4 ++-- packages/frontend/src/navbar.ts | 4 ++-- packages/frontend/src/pages/admin-user.vue | 2 +- packages/frontend/src/pages/instance-info.vue | 2 +- packages/frontend/src/pages/my-antennas/index.vue | 2 +- packages/frontend/src/pages/my-lists/index.vue | 2 +- packages/frontend/src/pages/notifications.vue | 2 +- packages/frontend/src/pages/settings/accounts.vue | 2 +- packages/frontend/src/pages/settings/index.vue | 2 +- packages/frontend/src/pages/settings/notifications.vue | 2 +- packages/frontend/src/pages/settings/security.vue | 2 +- packages/frontend/src/pages/settings/theme.manage.vue | 2 +- packages/frontend/src/pages/settings/theme.vue | 2 +- packages/frontend/src/pages/timeline.vue | 2 +- packages/frontend/src/scripts/get-user-menu.ts | 4 ++-- packages/frontend/src/ui/deck.vue | 2 +- packages/frontend/src/ui/deck/column.vue | 2 +- packages/frontend/src/ui/deck/notifications-column.vue | 2 +- packages/frontend/src/ui/universal.vue | 2 +- .../frontend/src/widgets/WidgetBirthdayFollowings.vue | 2 +- packages/frontend/src/widgets/WidgetNotifications.vue | 2 +- packages/frontend/vite.config.ts | 8 ++++++++ 23 files changed, 33 insertions(+), 25 deletions(-) diff --git a/packages/frontend/src/components/MkPageWindow.vue b/packages/frontend/src/components/MkPageWindow.vue index aa8bfb4227..ec57737b09 100644 --- a/packages/frontend/src/components/MkPageWindow.vue +++ b/packages/frontend/src/components/MkPageWindow.vue @@ -77,7 +77,7 @@ const buttonsLeft = computed(() => { }); const buttonsRight = computed(() => { const buttons = [{ - icon: 'ph-arrows-clockwise ph-bold ph-lg', + icon: 'ti ti-reload', title: i18n.ts.reload, onClick: reload, }, { diff --git a/packages/frontend/src/components/MkTutorialDialog.vue b/packages/frontend/src/components/MkTutorialDialog.vue index 0be7838a54..d2711e4ec5 100644 --- a/packages/frontend/src/components/MkTutorialDialog.vue +++ b/packages/frontend/src/components/MkTutorialDialog.vue @@ -12,9 +12,9 @@ SPDX-License-Identifier: AGPL-3.0-only @closed="emit('closed')" > - + - + diff --git a/packages/frontend/src/navbar.ts b/packages/frontend/src/navbar.ts index 69314b563f..ccd7034968 100644 --- a/packages/frontend/src/navbar.ts +++ b/packages/frontend/src/navbar.ts @@ -18,7 +18,7 @@ import { unisonReload } from '@/scripts/unison-reload.js'; export const navbarItemDef = reactive({ notifications: { title: i18n.ts.notifications, - icon: 'ph-bell ph-bold ph-lg', + icon: 'ti ti-bell', show: computed(() => $i != null), indicated: computed(() => $i != null && $i.hasUnreadNotification), indicateValue: computed(() => { @@ -160,7 +160,7 @@ export const navbarItemDef = reactive({ }, reload: { title: i18n.ts.reload, - icon: 'ph-arrows-clockwise ph-bold ph-lg', + icon: 'ti ti-refresh', action: (ev) => { location.reload(); }, diff --git a/packages/frontend/src/pages/admin-user.vue b/packages/frontend/src/pages/admin-user.vue index 7cc2c28dd7..d6c1fb340f 100644 --- a/packages/frontend/src/pages/admin-user.vue +++ b/packages/frontend/src/pages/admin-user.vue @@ -72,7 +72,7 @@ SPDX-License-Identifier: AGPL-3.0-only - {{ i18n.ts.updateRemoteUser }} + {{ i18n.ts.updateRemoteUser }} diff --git a/packages/frontend/src/pages/instance-info.vue b/packages/frontend/src/pages/instance-info.vue index a8929a71b0..8481450d02 100644 --- a/packages/frontend/src/pages/instance-info.vue +++ b/packages/frontend/src/pages/instance-info.vue @@ -48,7 +48,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.blockThisInstance }} {{ i18n.ts.silenceThisInstance }} Mark as NSFW - Refresh metadata + Refresh metadata diff --git a/packages/frontend/src/pages/my-antennas/index.vue b/packages/frontend/src/pages/my-antennas/index.vue index 58c8643eb5..9233695900 100644 --- a/packages/frontend/src/pages/my-antennas/index.vue +++ b/packages/frontend/src/pages/my-antennas/index.vue @@ -45,7 +45,7 @@ fetch(); const headerActions = computed(() => [{ asFullButton: true, - icon: 'ph-arrows-counter-clockwise ph-bold ph-lg', + icon: 'ti ti-refresh', text: i18n.ts.reload, handler: () => { antennasCache.delete(); diff --git a/packages/frontend/src/pages/my-lists/index.vue b/packages/frontend/src/pages/my-lists/index.vue index eb512cee2e..cd68be4ac3 100644 --- a/packages/frontend/src/pages/my-lists/index.vue +++ b/packages/frontend/src/pages/my-lists/index.vue @@ -61,7 +61,7 @@ async function create() { const headerActions = computed(() => [{ asFullButton: true, - icon: 'ph-arrows-counter-clockwise ph-bold ph-lg', + icon: 'ti ti-refresh', text: i18n.ts.reload, handler: () => { userListsCache.delete(); diff --git a/packages/frontend/src/pages/notifications.vue b/packages/frontend/src/pages/notifications.vue index bfe7bc495f..bd537363f2 100644 --- a/packages/frontend/src/pages/notifications.vue +++ b/packages/frontend/src/pages/notifications.vue @@ -96,7 +96,7 @@ const headerTabs = computed(() => [{ definePageMetadata(() => ({ title: i18n.ts.notifications, - icon: 'ph-bell ph-bold ph-lg', + icon: 'ti ti-bell', })); diff --git a/packages/frontend/src/pages/settings/accounts.vue b/packages/frontend/src/pages/settings/accounts.vue index 174748f058..6276dc680a 100644 --- a/packages/frontend/src/pages/settings/accounts.vue +++ b/packages/frontend/src/pages/settings/accounts.vue @@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.addAccount }} - {{ i18n.ts.reloadAccountsList }} + {{ i18n.ts.reloadAccountsList }}
diff --git a/packages/frontend/src/pages/settings/index.vue b/packages/frontend/src/pages/settings/index.vue index 5430f4f726..c9e616f379 100644 --- a/packages/frontend/src/pages/settings/index.vue +++ b/packages/frontend/src/pages/settings/index.vue @@ -82,7 +82,7 @@ const menuDef = computed(() => [{ to: '/settings/drive', active: currentPage.value?.route.name === 'drive', }, { - icon: 'ph-bell ph-bold ph-lg', + icon: 'ti ti-bell', text: i18n.ts.notifications, to: '/settings/notifications', active: currentPage.value?.route.name === 'notifications', diff --git a/packages/frontend/src/pages/settings/notifications.vue b/packages/frontend/src/pages/settings/notifications.vue index 36fe7df03e..a861f6ee0d 100644 --- a/packages/frontend/src/pages/settings/notifications.vue +++ b/packages/frontend/src/pages/settings/notifications.vue @@ -133,6 +133,6 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: i18n.ts.notifications, - icon: 'ph-bell ph-bold ph-lg', + icon: 'ti ti-bell', })); diff --git a/packages/frontend/src/pages/settings/security.vue b/packages/frontend/src/pages/settings/security.vue index 2834e19ed5..de0f63630e 100644 --- a/packages/frontend/src/pages/settings/security.vue +++ b/packages/frontend/src/pages/settings/security.vue @@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only - {{ i18n.ts.regenerateLoginToken }} + {{ i18n.ts.regenerateLoginToken }} diff --git a/packages/frontend/src/pages/settings/theme.manage.vue b/packages/frontend/src/pages/settings/theme.manage.vue index af5c7a5dd7..8a94d7388b 100644 --- a/packages/frontend/src/pages/settings/theme.manage.vue +++ b/packages/frontend/src/pages/settings/theme.manage.vue @@ -78,6 +78,6 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: i18n.ts._theme.manage, - icon: 'ph-wrench ph-bold ph-lg', + icon: 'ti ti-tool', })); diff --git a/packages/frontend/src/pages/settings/theme.vue b/packages/frontend/src/pages/settings/theme.vue index 37117205d2..ecbab06733 100644 --- a/packages/frontend/src/pages/settings/theme.vue +++ b/packages/frontend/src/pages/settings/theme.vue @@ -58,7 +58,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts._theme.manage }} + {{ i18n.ts._theme.manage }} {{ i18n.ts._theme.explore }} {{ i18n.ts._theme.install }} {{ i18n.ts._theme.make }} diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index 18c8a42262..a24911e717 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -275,7 +275,7 @@ const headerActions = computed(() => { ]; if (deviceKind === 'desktop') { tmp.unshift({ - icon: 'ph-arrows-counter-clockwise ph-bold ph-lg', + icon: 'ti ti-refresh', text: i18n.ts.reload, handler: (ev: Event) => { tlComponent.value?.reloadTimeline(); diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts index 906a3f999c..560ebf0cca 100644 --- a/packages/frontend/src/scripts/get-user-menu.ts +++ b/packages/frontend/src/scripts/get-user-menu.ts @@ -309,7 +309,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter text: user.withReplies ? i18n.ts.hideRepliesToOthersInTimeline : i18n.ts.showRepliesToOthersInTimeline, action: toggleWithReplies, }, { - icon: user.notify === 'none' ? 'ph-bell ph-bold ph-lg' : 'ph-bell ph-bold ph-lg-off', + icon: user.notify === 'none' ? 'ti ti-bell' : 'ti ti-bell-off', text: user.notify === 'none' ? i18n.ts.notifyNotes : i18n.ts.unnotifyNotes, action: toggleNotify, }]); @@ -346,7 +346,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter if (user.host !== null) { menu = menu.concat([{ type: 'divider' }, { - icon: 'ph-arrows-counter-clockwise ph-bold ph-lg', + icon: 'ti ti-refresh', text: i18n.ts.updateRemoteUser, action: userInfoUpdate, }]); diff --git a/packages/frontend/src/ui/deck.vue b/packages/frontend/src/ui/deck.vue index 1429bc4a19..0690915799 100644 --- a/packages/frontend/src/ui/deck.vue +++ b/packages/frontend/src/ui/deck.vue @@ -53,7 +53,7 @@ SPDX-License-Identifier: AGPL-3.0-only