From 8e7c6d3a9b980184f977874b2bd7524059833aa8 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 1212633b22..635d3614a7 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 98dfef9677..0790e58e3b 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 103853c4d0..6251d93a8c 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 9a03c8f288..f6ca654ef4 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 db59f9b8a4..a5fbc774ee 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 8877bce724..65ccdb88b8 100644 --- a/packages/client/src/pages/user/home.vue +++ b/packages/client/src/pages/user/home.vue @@ -7,8 +7,8 @@
- +