From babe2f3fcff410e00fe02d37efda43182c16ad3e Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 21 Jun 2024 12:24:04 +0100 Subject: [PATCH 01/94] replaced ti-terminal-2 --- packages/frontend/src/pages/api-console.vue | 2 +- packages/frontend/src/pages/scratchpad.vue | 2 +- packages/frontend/src/pages/settings/plugin.vue | 2 +- packages/frontend/src/ui/_common_/common.ts | 4 ++-- packages/frontend/src/widgets/WidgetAiscript.vue | 2 +- packages/frontend/vite.config.ts | 6 ++++++ 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/packages/frontend/src/pages/api-console.vue b/packages/frontend/src/pages/api-console.vue index 4d0cb2897f..97bed50061 100644 --- a/packages/frontend/src/pages/api-console.vue +++ b/packages/frontend/src/pages/api-console.vue @@ -89,6 +89,6 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: 'API console', - icon: 'ph-terminal-window ph-bold ph-lg-2', + icon: 'ti ti-terminal-2', })); diff --git a/packages/frontend/src/pages/scratchpad.vue b/packages/frontend/src/pages/scratchpad.vue index fb3657cdc9..d148a8525e 100644 --- a/packages/frontend/src/pages/scratchpad.vue +++ b/packages/frontend/src/pages/scratchpad.vue @@ -154,7 +154,7 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: i18n.ts.scratchpad, - icon: 'ph-terminal-window ph-bold ph-lg-2', + icon: 'ti ti-terminal-2', })); diff --git a/packages/frontend/src/pages/settings/plugin.vue b/packages/frontend/src/pages/settings/plugin.vue index 349015dd28..0450799489 100644 --- a/packages/frontend/src/pages/settings/plugin.vue +++ b/packages/frontend/src/pages/settings/plugin.vue @@ -42,7 +42,7 @@ SPDX-License-Identifier: AGPL-3.0-only - +
diff --git a/packages/frontend/src/ui/_common_/common.ts b/packages/frontend/src/ui/_common_/common.ts index f1c23860b6..1a8fab3b1f 100644 --- a/packages/frontend/src/ui/_common_/common.ts +++ b/packages/frontend/src/ui/_common_/common.ts @@ -16,12 +16,12 @@ function toolsMenuItems(): MenuItem[] { type: 'link', to: '/scratchpad', text: i18n.ts.scratchpad, - icon: 'ph-terminal-window ph-bold ph-lg-2', + icon: 'ti ti-terminal-2', }, { type: 'link', to: '/api-console', text: 'API Console', - icon: 'ph-terminal-window ph-bold ph-lg-2', + icon: 'ti ti-terminal-2', }, { type: 'link', to: '/clicker', diff --git a/packages/frontend/src/widgets/WidgetAiscript.vue b/packages/frontend/src/widgets/WidgetAiscript.vue index 70fac9ae55..8e29254819 100644 --- a/packages/frontend/src/widgets/WidgetAiscript.vue +++ b/packages/frontend/src/widgets/WidgetAiscript.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/pages/settings/2fa.qrdialog.vue b/packages/frontend/src/pages/settings/2fa.qrdialog.vue index 857e28e1a1..01f42d56e5 100644 --- a/packages/frontend/src/pages/settings/2fa.qrdialog.vue +++ b/packages/frontend/src/pages/settings/2fa.qrdialog.vue @@ -90,7 +90,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.download }} + {{ i18n.ts.download }}
diff --git a/packages/frontend/src/pages/settings/general.vue b/packages/frontend/src/pages/settings/general.vue index eef69f694a..fadc7cf59d 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -304,7 +304,7 @@ SPDX-License-Identifier: AGPL-3.0-only
diff --git a/packages/frontend/src/pages/settings/import-export.vue b/packages/frontend/src/pages/settings/import-export.vue index 87bde70fc2..5889b5f676 100644 --- a/packages/frontend/src/pages/settings/import-export.vue +++ b/packages/frontend/src/pages/settings/import-export.vue @@ -10,8 +10,8 @@ SPDX-License-Identifier: AGPL-3.0-only
- - {{ i18n.ts.export }} + + {{ i18n.ts.export }} @@ -32,16 +32,16 @@ SPDX-License-Identifier: AGPL-3.0-only - - {{ i18n.ts.export }} + + {{ i18n.ts.export }} - - {{ i18n.ts.export }} + + {{ i18n.ts.export }} @@ -49,7 +49,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- +
{{ i18n.ts._exportOrImport.excludeMutingUsers }} @@ -57,7 +57,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts._exportOrImport.excludeInactiveUsers }} - {{ i18n.ts.export }} + {{ i18n.ts.export }}
@@ -75,8 +75,8 @@ SPDX-License-Identifier: AGPL-3.0-only
- - {{ i18n.ts.export }} + + {{ i18n.ts.export }} @@ -90,8 +90,8 @@ SPDX-License-Identifier: AGPL-3.0-only
- - {{ i18n.ts.export }} + + {{ i18n.ts.export }} @@ -105,8 +105,8 @@ SPDX-License-Identifier: AGPL-3.0-only
- - {{ i18n.ts.export }} + + {{ i18n.ts.export }} @@ -120,8 +120,8 @@ SPDX-License-Identifier: AGPL-3.0-only
- - {{ i18n.ts.export }} + + {{ i18n.ts.export }} diff --git a/packages/frontend/src/pages/settings/plugin.install.vue b/packages/frontend/src/pages/settings/plugin.install.vue index f3dd862bd1..d7908dcd43 100644 --- a/packages/frontend/src/pages/settings/plugin.install.vue +++ b/packages/frontend/src/pages/settings/plugin.install.vue @@ -55,6 +55,6 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: i18n.ts._plugin.install, - icon: 'ph-download ph-bold ph-lg', + icon: 'ti ti-download', })); diff --git a/packages/frontend/src/pages/settings/plugin.vue b/packages/frontend/src/pages/settings/plugin.vue index 0450799489..284c8ed2e7 100644 --- a/packages/frontend/src/pages/settings/plugin.vue +++ b/packages/frontend/src/pages/settings/plugin.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/pages/flash/flash-index.vue b/packages/frontend/src/pages/flash/flash-index.vue index 7e56d3f51b..86ffdc1463 100644 --- a/packages/frontend/src/pages/flash/flash-index.vue +++ b/packages/frontend/src/pages/flash/flash-index.vue @@ -18,7 +18,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- +
@@ -71,7 +71,7 @@ function create() { } const headerActions = computed(() => [{ - icon: 'ph-plus ph-bold ph-lg', + icon: 'ti ti-plus', text: i18n.ts.create, handler: create, }]); diff --git a/packages/frontend/src/pages/gallery/edit.vue b/packages/frontend/src/pages/gallery/edit.vue index d2fe271b0f..dc855b740e 100644 --- a/packages/frontend/src/pages/gallery/edit.vue +++ b/packages/frontend/src/pages/gallery/edit.vue @@ -21,7 +21,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ file.name }}
- {{ i18n.ts.attachFile }} + {{ i18n.ts.attachFile }}
{{ i18n.ts.markAsSensitive }} diff --git a/packages/frontend/src/pages/gallery/index.vue b/packages/frontend/src/pages/gallery/index.vue index 96979250bd..fd838d1b48 100644 --- a/packages/frontend/src/pages/gallery/index.vue +++ b/packages/frontend/src/pages/gallery/index.vue @@ -34,7 +34,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.postToGallery }} + {{ i18n.ts.postToGallery }}
@@ -98,7 +98,7 @@ watch(() => props.tag, () => { }); const headerActions = computed(() => [{ - icon: 'ph-plus ph-bold ph-lg', + icon: 'ti ti-plus', text: i18n.ts.create, handler: () => { router.push('/gallery/new'); diff --git a/packages/frontend/src/pages/my-antennas/index.vue b/packages/frontend/src/pages/my-antennas/index.vue index a312672f74..f42ecb3cc1 100644 --- a/packages/frontend/src/pages/my-antennas/index.vue +++ b/packages/frontend/src/pages/my-antennas/index.vue @@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.add }} + {{ i18n.ts.add }}
diff --git a/packages/frontend/src/pages/my-clips/index.vue b/packages/frontend/src/pages/my-clips/index.vue index 1d5c134b27..e7fed1c293 100644 --- a/packages/frontend/src/pages/my-clips/index.vue +++ b/packages/frontend/src/pages/my-clips/index.vue @@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.add }} + {{ i18n.ts.add }} diff --git a/packages/frontend/src/pages/my-lists/index.vue b/packages/frontend/src/pages/my-lists/index.vue index f2469be8de..97c81580ad 100644 --- a/packages/frontend/src/pages/my-lists/index.vue +++ b/packages/frontend/src/pages/my-lists/index.vue @@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.createList }} + {{ i18n.ts.createList }}
diff --git a/packages/frontend/src/pages/page-editor/els/page-editor.el.section.vue b/packages/frontend/src/pages/page-editor/els/page-editor.el.section.vue index 2e4402085c..6d366cf58a 100644 --- a/packages/frontend/src/pages/page-editor/els/page-editor.el.section.vue +++ b/packages/frontend/src/pages/page-editor/els/page-editor.el.section.vue @@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- +
diff --git a/packages/frontend/src/pages/page-editor/page-editor.vue b/packages/frontend/src/pages/page-editor/page-editor.vue index 92de9d57a5..6be075c266 100644 --- a/packages/frontend/src/pages/page-editor/page-editor.vue +++ b/packages/frontend/src/pages/page-editor/page-editor.vue @@ -40,7 +40,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts._pages.hideTitleWhenPinned }}
- {{ i18n.ts._pages.eyeCatchingImageSet }} + {{ i18n.ts._pages.eyeCatchingImageSet }}
{{ i18n.ts._pages.eyeCatchingImageRemove }} @@ -53,7 +53,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- +
diff --git a/packages/frontend/src/pages/pages.vue b/packages/frontend/src/pages/pages.vue index 7b4dd83068..a5e0b2c1f2 100644 --- a/packages/frontend/src/pages/pages.vue +++ b/packages/frontend/src/pages/pages.vue @@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- +
@@ -69,7 +69,7 @@ function create() { } const headerActions = computed(() => [{ - icon: 'ph-plus ph-bold ph-lg', + icon: 'ti ti-plus', text: i18n.ts.create, handler: create, }]); diff --git a/packages/frontend/src/pages/settings/accounts.vue b/packages/frontend/src/pages/settings/accounts.vue index f5effbd68b..3c0e359a06 100644 --- a/packages/frontend/src/pages/settings/accounts.vue +++ b/packages/frontend/src/pages/settings/accounts.vue @@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.addAccount }} + {{ i18n.ts.addAccount }} {{ i18n.ts.reloadAccountsList }}
diff --git a/packages/frontend/src/pages/settings/emoji-picker.vue b/packages/frontend/src/pages/settings/emoji-picker.vue index e9936ca5f2..17d572964d 100644 --- a/packages/frontend/src/pages/settings/emoji-picker.vue +++ b/packages/frontend/src/pages/settings/emoji-picker.vue @@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only @@ -69,7 +69,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/pages/settings/migration.vue b/packages/frontend/src/pages/settings/migration.vue index 12f29e2ff8..61c5d6dcbe 100644 --- a/packages/frontend/src/pages/settings/migration.vue +++ b/packages/frontend/src/pages/settings/migration.vue @@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts._accountMigration.moveFromDescription }}
- {{ i18n.ts.add }} + {{ i18n.ts.add }} {{ i18n.ts.save }}
diff --git a/packages/frontend/src/pages/settings/navbar.vue b/packages/frontend/src/pages/settings/navbar.vue index ae5f081e1c..b9c6c3be59 100644 --- a/packages/frontend/src/pages/settings/navbar.vue +++ b/packages/frontend/src/pages/settings/navbar.vue @@ -30,7 +30,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.addItem }} + {{ i18n.ts.addItem }} {{ i18n.ts.default }} {{ i18n.ts.save }}
diff --git a/packages/frontend/src/pages/settings/profile.vue b/packages/frontend/src/pages/settings/profile.vue index 408cf4ed67..97f25acb41 100644 --- a/packages/frontend/src/pages/settings/profile.vue +++ b/packages/frontend/src/pages/settings/profile.vue @@ -55,7 +55,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.add }} + {{ i18n.ts.add }} {{ i18n.ts.delete }} {{ i18n.ts.rearrange }} {{ i18n.ts.save }} diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index 1e5a244dd4..e9269c774c 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -151,7 +151,7 @@ async function chooseList(ev: MouseEvent): Promise { (lists.length === 0 ? undefined : { type: 'divider' }), { type: 'link' as const, - icon: 'ph-plus ph-bold ph-lg', + icon: 'ti ti-plus', text: i18n.ts.createNew, to: '/my/lists', }, @@ -171,7 +171,7 @@ async function chooseAntenna(ev: MouseEvent): Promise { (antennas.length === 0 ? undefined : { type: 'divider' }), { type: 'link' as const, - icon: 'ph-plus ph-bold ph-lg', + icon: 'ti ti-plus', text: i18n.ts.createNew, to: '/my/antennas', }, @@ -196,7 +196,7 @@ async function chooseChannel(ev: MouseEvent): Promise { (channels.length === 0 ? undefined : { type: 'divider' }), { type: 'link' as const, - icon: 'ph-plus ph-bold ph-lg', + icon: 'ti ti-plus', text: i18n.ts.createNew, to: '/channels', }, diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index 23c98c1881..09225a030d 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -93,7 +93,7 @@ export async function getNoteClipMenu(props: { }); }, })), { type: 'divider' }, { - icon: 'ph-plus ph-bold ph-lg', + icon: 'ti ti-plus', text: i18n.ts.createNew, action: async () => { const { canceled, result } = await os.form(i18n.ts.createNewClip, { diff --git a/packages/frontend/src/ui/deck.vue b/packages/frontend/src/ui/deck.vue index 68c7f0fcd2..6be6df9dd2 100644 --- a/packages/frontend/src/ui/deck.vue +++ b/packages/frontend/src/ui/deck.vue @@ -40,7 +40,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- +
@@ -236,7 +236,7 @@ function changeProfile(ev: MouseEvent) { }, }))), { type: 'divider' as const }, { text: i18n.ts._deck.newProfile, - icon: 'ph-plus ph-bold ph-lg', + icon: 'ti ti-plus', action: async () => { const { canceled, result: name } = await os.inputText({ title: i18n.ts._deck.profile, diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index db98c43401..175e09e19d 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -77,6 +77,7 @@ export function getConfig(): UserConfig { 'ti ti-terminal-2': 'ph-terminal-window ph-bold ph-lg', 'ti ti-download': 'ph-download ph-bold ph-lg', 'ti ti-circle-x': 'ph-x-circle ph-bold ph-lg', + 'ti ti-plus': 'ph-plus ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production' From 96ce65dc620e6aedb8bd5a7d0c9e258e86c78269 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 21 Jun 2024 12:49:30 +0100 Subject: [PATCH 05/94] replaced ti-planet ti-world-x ti-world-search --- .../frontend/src/components/MkTutorialDialog.Timeline.vue | 2 +- .../frontend/src/components/MkUserSetupDialog.Privacy.vue | 2 +- packages/frontend/src/pages/admin/index.vue | 4 ++-- packages/frontend/src/pages/admin/overview.stats.vue | 2 +- packages/frontend/src/pages/admin/relays.vue | 2 +- packages/frontend/src/pages/timeline.vue | 6 +++--- packages/frontend/src/ui/deck/tl-column.vue | 2 +- packages/frontend/src/widgets/WidgetTimeline.vue | 4 ++-- packages/frontend/vite.config.ts | 3 +++ 9 files changed, 15 insertions(+), 12 deletions(-) diff --git a/packages/frontend/src/components/MkTutorialDialog.Timeline.vue b/packages/frontend/src/components/MkTutorialDialog.Timeline.vue index f5670c7ebd..dfcd21d8f2 100644 --- a/packages/frontend/src/components/MkTutorialDialog.Timeline.vue +++ b/packages/frontend/src/components/MkTutorialDialog.Timeline.vue @@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts._initialTutorial._timeline.description1 }}
{{ i18n.ts._timelines.home }} … {{ i18n.ts._initialTutorial._timeline.home }}
-
{{ i18n.ts._timelines.local }} … {{ i18n.ts._initialTutorial._timeline.local }}
+
{{ i18n.ts._timelines.local }} … {{ i18n.ts._initialTutorial._timeline.local }}
{{ i18n.ts._timelines.social }} … {{ i18n.ts._initialTutorial._timeline.social }}
{{ i18n.ts._timelines.global }} … {{ i18n.ts._initialTutorial._timeline.global }}
diff --git a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue index 6d2f0bbb99..91fe4dea3f 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue @@ -25,7 +25,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + {{ i18n.ts.noCrawle }} diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index fae86246ee..6d347913fe 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -210,7 +210,7 @@ const menuDef = computed(() => [{ to: '/admin/security', active: currentPage.value?.route.name === 'security', }, { - icon: 'ph-planet ph-bold ph-lg', + icon: 'ti ti-planet', text: i18n.ts.relays, to: '/admin/relays', active: currentPage.value?.route.name === 'relays', @@ -323,7 +323,7 @@ function adminLookup(ev: MouseEvent) { }, }, { text: i18n.ts.lookup, - icon: 'ph-planet ph-bold ph-lg', + icon: 'ti ti-world-search', action: () => { lookup(); }, diff --git a/packages/frontend/src/pages/admin/overview.stats.vue b/packages/frontend/src/pages/admin/overview.stats.vue index 27ae52c32c..f10e7d2d4a 100644 --- a/packages/frontend/src/pages/admin/overview.stats.vue +++ b/packages/frontend/src/pages/admin/overview.stats.vue @@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
diff --git a/packages/frontend/src/pages/admin/relays.vue b/packages/frontend/src/pages/admin/relays.vue index f7d4b138a5..defef205eb 100644 --- a/packages/frontend/src/pages/admin/relays.vue +++ b/packages/frontend/src/pages/admin/relays.vue @@ -86,7 +86,7 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: i18n.ts.relays, - icon: 'ph-planet ph-bold ph-lg', + icon: 'ti ti-planet', })); diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index e9269c774c..ea86727b75 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -298,7 +298,7 @@ const headerTabs = computed(() => [...(defaultStore.reactiveState.pinnedUserList }, ...(isLocalTimelineAvailable ? [{ key: 'local', title: i18n.ts._timelines.local, - icon: 'ph-planet ph-bold ph-lg', + icon: 'ti ti-planet', iconOnly: true, }, { key: 'social', @@ -336,7 +336,7 @@ const headerTabsWhenNotLogin = computed(() => [ ...(isLocalTimelineAvailable ? [{ key: 'local', title: i18n.ts._timelines.local, - icon: 'ph-planet ph-bold ph-lg', + icon: 'ti ti-planet', iconOnly: true, }] : []), ...(isGlobalTimelineAvailable ? [{ @@ -349,7 +349,7 @@ const headerTabsWhenNotLogin = computed(() => [ definePageMetadata(() => ({ title: i18n.ts.timeline, - icon: src.value === 'local' ? 'ph-planet ph-bold ph-lg' : src.value === 'social' ? 'ph-rocket-launch ph-bold ph-lg' : src.value === 'global' ? 'ph-globe-hemisphere-west ph-bold ph-lg' : src.value === 'bubble' ? 'ph-drop ph-bold ph-lg' : 'ph-house ph-bold ph-lg', + icon: src.value === 'local' ? 'ti ti-planet' : src.value === 'social' ? 'ph-rocket-launch ph-bold ph-lg' : src.value === 'global' ? 'ph-globe-hemisphere-west ph-bold ph-lg' : src.value === 'bubble' ? 'ph-drop ph-bold ph-lg' : 'ph-house ph-bold ph-lg', })); diff --git a/packages/frontend/src/ui/deck/tl-column.vue b/packages/frontend/src/ui/deck/tl-column.vue index 0c0a435403..a1966f5236 100644 --- a/packages/frontend/src/ui/deck/tl-column.vue +++ b/packages/frontend/src/ui/deck/tl-column.vue @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/components/MkModalWindow.vue b/packages/frontend/src/components/MkModalWindow.vue index fc634176c7..91012905d3 100644 --- a/packages/frontend/src/components/MkModalWindow.vue +++ b/packages/frontend/src/components/MkModalWindow.vue @@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only - +
diff --git a/packages/frontend/src/components/MkNotification.vue b/packages/frontend/src/components/MkNotification.vue index 509f1c6b6e..7a990d0ff6 100644 --- a/packages/frontend/src/components/MkNotification.vue +++ b/packages/frontend/src/components/MkNotification.vue @@ -31,7 +31,7 @@ SPDX-License-Identifier: AGPL-3.0-only > - + @@ -109,7 +109,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/components/MkPoll.vue b/packages/frontend/src/components/MkPoll.vue index 8c0804de04..ba0013ec7d 100644 --- a/packages/frontend/src/components/MkPoll.vue +++ b/packages/frontend/src/components/MkPoll.vue @@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
  • - + ({{ i18n.tsx._poll.votesCount({ n: choice.votes }) }}) diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index d7ab97d9df..775afbec6b 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only - +
  • diff --git a/packages/frontend/src/components/MkSignupDialog.form.vue b/packages/frontend/src/components/MkSignupDialog.form.vue index 7d03381a49..6a452924d9 100644 --- a/packages/frontend/src/components/MkSignupDialog.form.vue +++ b/packages/frontend/src/components/MkSignupDialog.form.vue @@ -21,7 +21,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/pages/settings/theme.install.vue b/packages/frontend/src/pages/settings/theme.install.vue index e0f535a02b..86cfbaf25c 100644 --- a/packages/frontend/src/pages/settings/theme.install.vue +++ b/packages/frontend/src/pages/settings/theme.install.vue @@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    {{ i18n.ts.preview }} - {{ i18n.ts.install }} + {{ i18n.ts.install }}
    diff --git a/packages/frontend/src/pages/settings/webhook.edit.vue b/packages/frontend/src/pages/settings/webhook.edit.vue index 99326c8671..fb79f204e5 100644 --- a/packages/frontend/src/pages/settings/webhook.edit.vue +++ b/packages/frontend/src/pages/settings/webhook.edit.vue @@ -35,7 +35,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts._webhookSettings.active }}
    - {{ i18n.ts.save }} + {{ i18n.ts.save }} {{ i18n.ts.delete }}
    diff --git a/packages/frontend/src/pages/settings/webhook.new.vue b/packages/frontend/src/pages/settings/webhook.new.vue index 299386338a..48565fbff1 100644 --- a/packages/frontend/src/pages/settings/webhook.new.vue +++ b/packages/frontend/src/pages/settings/webhook.new.vue @@ -33,7 +33,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - {{ i18n.ts.create }} + {{ i18n.ts.create }}
    diff --git a/packages/frontend/src/pages/settings/webhook.vue b/packages/frontend/src/pages/settings/webhook.vue index 3717abb13e..403b159aab 100644 --- a/packages/frontend/src/pages/settings/webhook.vue +++ b/packages/frontend/src/pages/settings/webhook.vue @@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ webhook.name || webhook.url }} diff --git a/packages/frontend/src/pages/signup-complete.vue b/packages/frontend/src/pages/signup-complete.vue index b08a304cfd..c679ec4bb1 100644 --- a/packages/frontend/src/pages/signup-complete.vue +++ b/packages/frontend/src/pages/signup-complete.vue @@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - +
    {{ i18n.tsx.clickToFinishEmailVerification({ ok: i18n.ts.gotIt }) }}
    diff --git a/packages/frontend/src/pages/theme-editor.vue b/packages/frontend/src/pages/theme-editor.vue index d020320b44..997d0bc1d3 100644 --- a/packages/frontend/src/pages/theme-editor.vue +++ b/packages/frontend/src/pages/theme-editor.vue @@ -212,7 +212,7 @@ watch(theme, apply, { deep: true }); const headerActions = computed(() => [{ asFullButton: true, - icon: 'ph-check ph-bold ph-lg', + icon: 'ti ti-check', text: i18n.ts.saveAs, handler: saveAs, }]); diff --git a/packages/frontend/src/ui/_common_/announcements.vue b/packages/frontend/src/ui/_common_/announcements.vue index 969ca63e30..9525af3bb7 100644 --- a/packages/frontend/src/ui/_common_/announcements.vue +++ b/packages/frontend/src/ui/_common_/announcements.vue @@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + {{ announcement.title }} {{ announcement.text }} diff --git a/packages/frontend/src/ui/universal.widgets.vue b/packages/frontend/src/ui/universal.widgets.vue index 7e41328403..aa9af2757f 100644 --- a/packages/frontend/src/ui/universal.widgets.vue +++ b/packages/frontend/src/ui/universal.widgets.vue @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - +
    diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index 5d9dd17c2f..242f368580 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -85,6 +85,7 @@ export function getConfig(): UserConfig { 'ti ti-chevrons-right': 'ph-caret-right ph-bold ph-lg', 'ti ti-chevron-right ti-fw': 'ph-caret-right ph-bold ph-lg', 'ti ti-dots': 'ph-dots-three ph-bold ph-lg', + 'ti ti-check': 'ph-check ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production' From 0b0b2e95da3ff13853eef54bad9c02e445e11d35 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 21 Jun 2024 13:13:02 +0100 Subject: [PATCH 09/94] replaced ti-device-floppy --- packages/frontend/src/components/MkCodeEditor.vue | 2 +- packages/frontend/src/components/MkSelect.vue | 2 +- packages/frontend/src/components/MkTextarea.vue | 2 +- packages/frontend/src/pages/admin/ads.vue | 2 +- packages/frontend/src/pages/admin/announcements.vue | 2 +- packages/frontend/src/pages/admin/bot-protection.vue | 2 +- packages/frontend/src/pages/admin/instance-block.vue | 2 +- packages/frontend/src/pages/admin/security.vue | 4 ++-- packages/frontend/src/pages/avatar-decorations.vue | 2 +- packages/frontend/src/pages/channel-editor.vue | 2 +- packages/frontend/src/pages/gallery/edit.vue | 4 ++-- packages/frontend/src/pages/my-antennas/editor.vue | 2 +- packages/frontend/src/pages/page-editor/page-editor.vue | 2 +- packages/frontend/src/pages/registry.value.vue | 2 +- packages/frontend/src/pages/settings/index.vue | 2 +- .../frontend/src/pages/settings/mute-block.instance-mute.vue | 2 +- packages/frontend/src/pages/settings/mute-block.word-mute.vue | 2 +- packages/frontend/src/pages/settings/navbar.vue | 2 +- packages/frontend/src/pages/settings/preferences-backups.vue | 4 ++-- packages/frontend/vite.config.ts | 1 + 20 files changed, 23 insertions(+), 22 deletions(-) diff --git a/packages/frontend/src/components/MkCodeEditor.vue b/packages/frontend/src/components/MkCodeEditor.vue index 30e518f8f0..b233189ab0 100644 --- a/packages/frontend/src/components/MkCodeEditor.vue +++ b/packages/frontend/src/components/MkCodeEditor.vue @@ -27,7 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - {{ i18n.ts.save }} + {{ i18n.ts.save }}
    diff --git a/packages/frontend/src/components/MkSelect.vue b/packages/frontend/src/components/MkSelect.vue index ecac99ae45..977d5dbc34 100644 --- a/packages/frontend/src/components/MkSelect.vue +++ b/packages/frontend/src/components/MkSelect.vue @@ -27,7 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - {{ i18n.ts.save }} + {{ i18n.ts.save }}
    diff --git a/packages/frontend/src/components/MkTextarea.vue b/packages/frontend/src/components/MkTextarea.vue index 7b9fb3d8ad..72d6e12656 100644 --- a/packages/frontend/src/components/MkTextarea.vue +++ b/packages/frontend/src/components/MkTextarea.vue @@ -31,7 +31,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - {{ i18n.ts.save }} + {{ i18n.ts.save }}
    diff --git a/packages/frontend/src/pages/admin/ads.vue b/packages/frontend/src/pages/admin/ads.vue index 35594c21f8..f623735ee5 100644 --- a/packages/frontend/src/pages/admin/ads.vue +++ b/packages/frontend/src/pages/admin/ads.vue @@ -68,7 +68,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    {{ i18n.ts.save }} diff --git a/packages/frontend/src/pages/admin/announcements.vue b/packages/frontend/src/pages/admin/announcements.vue index a81f5a0c32..2463c059b8 100644 --- a/packages/frontend/src/pages/admin/announcements.vue +++ b/packages/frontend/src/pages/admin/announcements.vue @@ -56,7 +56,7 @@ SPDX-License-Identifier: AGPL-3.0-only

    {{ i18n.tsx.nUsersRead({ n: announcement.reads }) }}

    - {{ i18n.ts.save }} + {{ i18n.ts.save }} {{ i18n.ts._announcement.end }} ({{ i18n.ts.archive }}) {{ i18n.ts.delete }}
    diff --git a/packages/frontend/src/pages/admin/bot-protection.vue b/packages/frontend/src/pages/admin/bot-protection.vue index 052d2f0bc2..1da9c5b8a2 100644 --- a/packages/frontend/src/pages/admin/bot-protection.vue +++ b/packages/frontend/src/pages/admin/bot-protection.vue @@ -76,7 +76,7 @@ SPDX-License-Identifier: AGPL-3.0-only - {{ i18n.ts.save }} + {{ i18n.ts.save }}
    diff --git a/packages/frontend/src/pages/admin/instance-block.vue b/packages/frontend/src/pages/admin/instance-block.vue index fcb67633f6..b0e27844b5 100644 --- a/packages/frontend/src/pages/admin/instance-block.vue +++ b/packages/frontend/src/pages/admin/instance-block.vue @@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.silencedInstances }} - {{ i18n.ts.save }} + {{ i18n.ts.save }} diff --git a/packages/frontend/src/pages/admin/security.vue b/packages/frontend/src/pages/admin/security.vue index 887d3c1446..97e3a09403 100644 --- a/packages/frontend/src/pages/admin/security.vue +++ b/packages/frontend/src/pages/admin/security.vue @@ -49,7 +49,7 @@ SPDX-License-Identifier: AGPL-3.0-only - {{ i18n.ts.save }} + {{ i18n.ts.save }}
    @@ -60,7 +60,7 @@ SPDX-License-Identifier: AGPL-3.0-only - {{ i18n.ts.save }} + {{ i18n.ts.save }}
    diff --git a/packages/frontend/src/pages/avatar-decorations.vue b/packages/frontend/src/pages/avatar-decorations.vue index b3b0870732..9435db12fc 100644 --- a/packages/frontend/src/pages/avatar-decorations.vue +++ b/packages/frontend/src/pages/avatar-decorations.vue @@ -23,7 +23,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - {{ i18n.ts.save }} + {{ i18n.ts.save }} {{ i18n.ts.delete }}
    diff --git a/packages/frontend/src/pages/channel-editor.vue b/packages/frontend/src/pages/channel-editor.vue index d7096fb27f..e954b664d0 100644 --- a/packages/frontend/src/pages/channel-editor.vue +++ b/packages/frontend/src/pages/channel-editor.vue @@ -60,7 +60,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - {{ channelId ? i18n.ts.save : i18n.ts.create }} + {{ channelId ? i18n.ts.save : i18n.ts.create }} {{ i18n.ts.archive }}
    diff --git a/packages/frontend/src/pages/gallery/edit.vue b/packages/frontend/src/pages/gallery/edit.vue index dc855b740e..6711949615 100644 --- a/packages/frontend/src/pages/gallery/edit.vue +++ b/packages/frontend/src/pages/gallery/edit.vue @@ -27,8 +27,8 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.markAsSensitive }}
    - {{ i18n.ts.save }} - {{ i18n.ts.publish }} + {{ i18n.ts.save }} + {{ i18n.ts.publish }} {{ i18n.ts.delete }}
    diff --git a/packages/frontend/src/pages/my-antennas/editor.vue b/packages/frontend/src/pages/my-antennas/editor.vue index 51dbb3b08f..10d597867e 100644 --- a/packages/frontend/src/pages/my-antennas/editor.vue +++ b/packages/frontend/src/pages/my-antennas/editor.vue @@ -41,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.withFileAntenna }}
    - {{ i18n.ts.save }} + {{ i18n.ts.save }} {{ i18n.ts.delete }}
    diff --git a/packages/frontend/src/pages/page-editor/page-editor.vue b/packages/frontend/src/pages/page-editor/page-editor.vue index 6be075c266..2f591e042f 100644 --- a/packages/frontend/src/pages/page-editor/page-editor.vue +++ b/packages/frontend/src/pages/page-editor/page-editor.vue @@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    {{ i18n.ts._pages.viewPage }} - {{ i18n.ts.save }} + {{ i18n.ts.save }} {{ i18n.ts.duplicate }} {{ i18n.ts.delete }}
    diff --git a/packages/frontend/src/pages/registry.value.vue b/packages/frontend/src/pages/registry.value.vue index 61bf5f4545..29e51021eb 100644 --- a/packages/frontend/src/pages/registry.value.vue +++ b/packages/frontend/src/pages/registry.value.vue @@ -30,7 +30,7 @@ SPDX-License-Identifier: AGPL-3.0-only - {{ i18n.ts.save }} + {{ i18n.ts.save }} diff --git a/packages/frontend/src/pages/settings/index.vue b/packages/frontend/src/pages/settings/index.vue index 6477f1798f..8d0d613a5d 100644 --- a/packages/frontend/src/pages/settings/index.vue +++ b/packages/frontend/src/pages/settings/index.vue @@ -170,7 +170,7 @@ const menuDef = computed(() => [{ }], }, { items: [{ - icon: 'ph-floppy-disk ph-bold ph-lg', + icon: 'ti ti-device-floppy', text: i18n.ts.preferencesBackups, to: '/settings/preferences-backups', active: currentPage.value?.route.name === 'preferences-backups', diff --git a/packages/frontend/src/pages/settings/mute-block.instance-mute.vue b/packages/frontend/src/pages/settings/mute-block.instance-mute.vue index 3b3376a9a7..d1fde2fc1c 100644 --- a/packages/frontend/src/pages/settings/mute-block.instance-mute.vue +++ b/packages/frontend/src/pages/settings/mute-block.instance-mute.vue @@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only - {{ i18n.ts.save }} + {{ i18n.ts.save }} diff --git a/packages/frontend/src/pages/settings/mute-block.word-mute.vue b/packages/frontend/src/pages/settings/mute-block.word-mute.vue index faf16ca368..f5837abe98 100644 --- a/packages/frontend/src/pages/settings/mute-block.word-mute.vue +++ b/packages/frontend/src/pages/settings/mute-block.word-mute.vue @@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only - {{ i18n.ts.save }} + {{ i18n.ts.save }} diff --git a/packages/frontend/src/pages/settings/navbar.vue b/packages/frontend/src/pages/settings/navbar.vue index b9c6c3be59..80e78981e6 100644 --- a/packages/frontend/src/pages/settings/navbar.vue +++ b/packages/frontend/src/pages/settings/navbar.vue @@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    {{ i18n.ts.addItem }} {{ i18n.ts.default }} - {{ i18n.ts.save }} + {{ i18n.ts.save }}
    diff --git a/packages/frontend/src/pages/settings/preferences-backups.vue b/packages/frontend/src/pages/settings/preferences-backups.vue index b316380de5..f73219227b 100644 --- a/packages/frontend/src/pages/settings/preferences-backups.vue +++ b/packages/frontend/src/pages/settings/preferences-backups.vue @@ -439,7 +439,7 @@ function menu(ev: MouseEvent, profileId: string) { action: () => rename(profileId), }, { text: ts._preferencesBackups.save, - icon: 'ph-floppy-disk ph-bold ph-lg', + icon: 'ti ti-device-floppy', action: () => save(profileId), }, { type: 'divider' }, { text: ts.delete, @@ -465,7 +465,7 @@ onUnmounted(() => { definePageMetadata(() => ({ title: ts.preferencesBackups, - icon: 'ph-floppy-disk ph-bold ph-lg', + icon: 'ti ti-device-floppy', })); diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index 242f368580..c8ceeccf37 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -86,6 +86,7 @@ export function getConfig(): UserConfig { 'ti ti-chevron-right ti-fw': 'ph-caret-right ph-bold ph-lg', 'ti ti-dots': 'ph-dots-three ph-bold ph-lg', 'ti ti-check': 'ph-check ph-bold ph-lg', + 'ti ti-device-floppy': 'ph-floppy-disk ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production' From b149a67a4bb86610565bbef46aaf446852e36fbd Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 21 Jun 2024 13:20:42 +0100 Subject: [PATCH 10/94] replaced ti-shield ti-shield-lock --- packages/frontend/src/components/MkRolePreview.vue | 2 +- packages/frontend/src/pages/about.vue | 2 +- packages/frontend/src/pages/admin/index.vue | 2 +- packages/frontend/src/pages/admin/moderation.vue | 2 +- packages/frontend/src/pages/admin/roles.editor.vue | 2 +- packages/frontend/src/pages/admin/security.vue | 2 +- packages/frontend/src/pages/settings/2fa.vue | 2 +- packages/frontend/src/pages/user/home.vue | 4 ++-- packages/frontend/src/ui/_common_/common.ts | 2 +- packages/frontend/vite.config.ts | 2 ++ 10 files changed, 12 insertions(+), 10 deletions(-) diff --git a/packages/frontend/src/components/MkRolePreview.vue b/packages/frontend/src/components/MkRolePreview.vue index f0343d499b..603c531aa5 100644 --- a/packages/frontend/src/components/MkRolePreview.vue +++ b/packages/frontend/src/components/MkRolePreview.vue @@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/pages/about.vue b/packages/frontend/src/pages/about.vue index 23960d39d9..796fd0653d 100644 --- a/packages/frontend/src/pages/about.vue +++ b/packages/frontend/src/pages/about.vue @@ -77,7 +77,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.termsOfService }} - + {{ i18n.ts.privacyPolicy }} diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index 6d347913fe..6ec949aafe 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -190,7 +190,7 @@ const menuDef = computed(() => [{ to: '/admin/branding', active: currentPage.value?.route.name === 'branding', }, { - icon: 'ph-shield ph-bold ph-lg', + icon: 'ti ti-shield', text: i18n.ts.moderation, to: '/admin/moderation', active: currentPage.value?.route.name === 'moderation', diff --git a/packages/frontend/src/pages/admin/moderation.vue b/packages/frontend/src/pages/admin/moderation.vue index dbb0320e28..c19bac8ae2 100644 --- a/packages/frontend/src/pages/admin/moderation.vue +++ b/packages/frontend/src/pages/admin/moderation.vue @@ -144,7 +144,7 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: i18n.ts.moderation, - icon: 'ph-shield ph-bold ph-lg', + icon: 'ti ti-shield', })); diff --git a/packages/frontend/src/pages/admin/roles.editor.vue b/packages/frontend/src/pages/admin/roles.editor.vue index 99a31d5157..e47a6e705c 100644 --- a/packages/frontend/src/pages/admin/roles.editor.vue +++ b/packages/frontend/src/pages/admin/roles.editor.vue @@ -31,7 +31,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + diff --git a/packages/frontend/src/pages/admin/security.vue b/packages/frontend/src/pages/admin/security.vue index 97e3a09403..4b742820c7 100644 --- a/packages/frontend/src/pages/admin/security.vue +++ b/packages/frontend/src/pages/admin/security.vue @@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - + diff --git a/packages/frontend/src/pages/settings/2fa.vue b/packages/frontend/src/pages/settings/2fa.vue index 10a7182269..0573e9d3b6 100644 --- a/packages/frontend/src/pages/settings/2fa.vue +++ b/packages/frontend/src/pages/settings/2fa.vue @@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index 2dde798294..6501e3d7b8 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -22,7 +22,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - + - + diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index c307d9ea01..4f74d7bafd 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -36,7 +36,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + @@ -54,7 +54,7 @@ SPDX-License-Identifier: AGPL-3.0-only bot
    - + diff --git a/packages/frontend/src/components/MkNoteHeader.vue b/packages/frontend/src/components/MkNoteHeader.vue index e643590e86..0d284ef480 100644 --- a/packages/frontend/src/components/MkNoteHeader.vue +++ b/packages/frontend/src/components/MkNoteHeader.vue @@ -24,7 +24,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 775afbec6b..ef3d2a2564 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -22,7 +22,7 @@ SPDX-License-Identifier: AGPL-3.0-only