From fea278fbf4770d299afe8c970d12387d1d2705dc Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 6 Dec 2022 20:12:44 -0800 Subject: [PATCH 01/17] Fix icons + formatting fix more icons --- package.json | 2 +- packages/client/src/components/MkInfo.vue | 2 +- packages/client/src/components/MkMoved.vue | 15 ++++++++---- .../client/src/pages/admin/proxy-account.vue | 24 ++++++++++--------- packages/client/src/pages/explore.users.vue | 18 +++++++------- packages/client/src/pages/messaging/index.vue | 4 ++-- .../client/src/pages/settings/integration.vue | 6 ++--- packages/client/src/pages/user/index.vue | 2 +- 8 files changed, 40 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index 1212633b2..635d3614a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "13.0.0-b4", + "version": "13.0.0-b5", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/components/MkInfo.vue b/packages/client/src/components/MkInfo.vue index 98dfef967..0790e58e3 100644 --- a/packages/client/src/components/MkInfo.vue +++ b/packages/client/src/components/MkInfo.vue @@ -9,7 +9,7 @@ diff --git a/packages/client/src/components/MkMoved.vue b/packages/client/src/components/MkMoved.vue index 103853c4d..6251d93a8 100644 --- a/packages/client/src/components/MkMoved.vue +++ b/packages/client/src/components/MkMoved.vue @@ -1,23 +1,28 @@ diff --git a/packages/client/src/pages/settings/index.vue b/packages/client/src/pages/settings/index.vue index 9a03c8f28..f6ca654ef 100644 --- a/packages/client/src/pages/settings/index.vue +++ b/packages/client/src/pages/settings/index.vue @@ -134,6 +134,11 @@ const menuDef = computed(() => [{ }, { title: i18n.ts.otherSettings, items: [{ + icon: 'ph-airplane-takeoff-bold ph-lg', + text: i18n.ts.migration, + to: '/settings/migration', + active: currentPage?.route.name === 'migration', + }, { icon: 'ph-package-bold ph-lg', text: i18n.ts.importAndExport, to: '/settings/import-export', diff --git a/packages/client/src/pages/settings/security.vue b/packages/client/src/pages/settings/security.vue index db59f9b8a..a5fbc774e 100644 --- a/packages/client/src/pages/settings/security.vue +++ b/packages/client/src/pages/settings/security.vue @@ -9,7 +9,7 @@ - + @@ -52,7 +52,7 @@ const pagination = { limit: 5, }; -async function change() { +async function change(): Promise { const { canceled: canceled1, result: currentPassword } = await os.inputText({ title: i18n.ts.currentPassword, type: 'password', @@ -78,14 +78,14 @@ async function change() { }); return; } - + os.apiWithDialog('i/change-password', { currentPassword, newPassword, }); } -function regenerateToken() { +function regenerateToken(): void { os.inputText({ title: i18n.ts.password, type: 'password', diff --git a/packages/client/src/pages/user/home.vue b/packages/client/src/pages/user/home.vue index 8877bce72..65ccdb88b 100644 --- a/packages/client/src/pages/user/home.vue +++ b/packages/client/src/pages/user/home.vue @@ -7,8 +7,8 @@
- +