From ca0d53ec5df747bbfba583f161a38af9dfe4d96c Mon Sep 17 00:00:00 2001 From: tamaina Date: Thu, 9 Feb 2023 17:18:27 +0000 Subject: [PATCH] =?UTF-8?q?enhance(client):=20/auth=E3=81=8A=E3=82=88?= =?UTF-8?q?=E3=81=B3MiAuth=E3=81=AEUI=E3=82=92=E3=83=96=E3=83=A9=E3=83=83?= =?UTF-8?q?=E3=82=B7=E3=83=A5=E3=82=A2=E3=83=83=E3=83=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #9742 --- CHANGELOG.md | 9 ++ locales/ja-JP.yml | 2 + packages/frontend/src/pages/auth.form.vue | 108 +++++++------- packages/frontend/src/pages/auth.vue | 170 ++++++++++++---------- packages/frontend/src/pages/miauth.vue | 78 ++++++---- 5 files changed, 207 insertions(+), 160 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9bda3534..d3ccb5f86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,15 @@ You should also include the user name that made the change. --> +## 13.x.x (unreleased) + +### Improvements +- 非ログイン時にMiAuthを踏んだ際にMiAuthであることを表示する +- /auth/のUIをアップデート + +### Bugfixes +- + ## 13.5.4 (2023/02/09) ### Improvements diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 09069e780..60f492d66 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1628,12 +1628,14 @@ _permissions: "write:gallery-likes": "ギャラリーのいいねを操作する" _auth: + shareAccessTitle: "アプリへのアクセス許可" shareAccess: "「{name}」がアカウントにアクセスすることを許可しますか?" shareAccessAsk: "アカウントへのアクセスを許可しますか?" permissionAsk: "このアプリは次の権限を要求しています" pleaseGoBack: "アプリケーションに戻ってやっていってください" callback: "アプリケーションに戻っています" denied: "アクセスを拒否しました" + pleaseLogin: "アプリケーションにアクセス許可を与えるには、ログインが必要です。" _antennaSources: all: "全てのノート" diff --git a/packages/frontend/src/pages/auth.form.vue b/packages/frontend/src/pages/auth.form.vue index 801295fce..1a1cd55ee 100644 --- a/packages/frontend/src/pages/auth.form.vue +++ b/packages/frontend/src/pages/auth.form.vue @@ -1,60 +1,66 @@ - + + diff --git a/packages/frontend/src/pages/auth.vue b/packages/frontend/src/pages/auth.vue index b7727ca30..50afffc46 100644 --- a/packages/frontend/src/pages/auth.vue +++ b/packages/frontend/src/pages/auth.vue @@ -1,93 +1,105 @@ - - diff --git a/packages/frontend/src/pages/miauth.vue b/packages/frontend/src/pages/miauth.vue index 9a4019e5b..0a82ef8e4 100644 --- a/packages/frontend/src/pages/miauth.vue +++ b/packages/frontend/src/pages/miauth.vue @@ -1,41 +1,39 @@ -