From 253f005e8021b5049d185899fdfc48316fc561ba Mon Sep 17 00:00:00 2001 From: futchitwo <74236683+futchitwo@users.noreply.github.com> Date: Sun, 21 Aug 2022 23:20:42 +0900 Subject: [PATCH 1/3] =?UTF-8?q?Fix:=20=E3=82=A2=E3=82=AF=E3=82=BB=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=83=BC=E3=82=AF=E3=83=B3=E7=AE=A1=E7=90=86=E7=94=BB?= =?UTF-8?q?=E9=9D=A2=E3=80=81=E3=82=A2=E3=82=AB=E3=82=A6=E3=83=B3=E3=83=88?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=94=BB=E9=9D=A2=E8=A1=A8=E7=A4=BA=E3=81=A7?= =?UTF-8?q?=E3=81=8D=E3=81=AA=E3=81=84=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20(#9064)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix: apps page routing * Fix: accounts page routing * Fix: router name --- packages/client/src/router.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/client/src/router.ts b/packages/client/src/router.ts index 37a8fd3dc5..111b15e0a6 100644 --- a/packages/client/src/router.ts +++ b/packages/client/src/router.ts @@ -133,6 +133,10 @@ export const routes = [{ path: '/api', name: 'api', component: page(() => import('./pages/settings/api.vue')), + }, { + path: '/apps', + name: 'api', + component: page(() => import('./pages/settings/apps.vue')), }, { path: '/webhook/edit/:webhookId', name: 'webhook', @@ -157,6 +161,10 @@ export const routes = [{ path: '/custom-css', name: 'general', component: page(() => import('./pages/settings/custom-css.vue')), + }, { + path: '/accounts', + name: 'profile', + component: page(() => import('./pages/settings/accounts.vue')), }, { path: '/account-info', name: 'other', From 450076cfa4a9e0b5ddcadeb64c26d0a7450d490e Mon Sep 17 00:00:00 2001 From: Caipira Date: Wed, 24 Aug 2022 21:02:06 +0900 Subject: [PATCH 2/3] enhance(client): mobile twitter url can be used as widget (#9057) --- packages/client/src/components/url-preview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/url-preview.vue b/packages/client/src/components/url-preview.vue index df4b0e53b8..9b2a785351 100644 --- a/packages/client/src/components/url-preview.vue +++ b/packages/client/src/components/url-preview.vue @@ -68,7 +68,7 @@ let tweetHeight = $ref(150); const requestUrl = new URL(props.url); -if (requestUrl.hostname === 'twitter.com') { +if (requestUrl.hostname === 'twitter.com' || requestUrl.hostname === 'mobile.twitter.com') { const m = requestUrl.pathname.match(/^\/.+\/status(?:es)?\/(\d+)/); if (m) tweetId = m[1]; } From 806a80a1e54c3e77af05f5aa3afcaf62d49605f2 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Fri, 26 Aug 2022 08:39:31 +0200 Subject: [PATCH 3/3] fix: volume sliders Fixed a typo that made a required property be undefined. --- packages/client/src/pages/settings/sounds.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/pages/settings/sounds.vue b/packages/client/src/pages/settings/sounds.vue index f29c9eb049..2d2b5a0a07 100644 --- a/packages/client/src/pages/settings/sounds.vue +++ b/packages/client/src/pages/settings/sounds.vue @@ -90,7 +90,7 @@ async function edit(type) { }, volume: { type: 'range', - mim: 0, + min: 0, max: 1, step: 0.05, textConverter: (v) => `${Math.floor(v * 100)}%`,