From f03b126f80ab5f1a4248cfc7925b0ce9d26951d8 Mon Sep 17 00:00:00 2001
From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
Date: Fri, 1 Mar 2024 13:54:48 +0900
Subject: [PATCH] remove pushnotification page
---
.../frontend/src/components/MkTutorial.vue | 23 +++++--------------
packages/frontend/src/pages/onboarding.vue | 3 +--
2 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/packages/frontend/src/components/MkTutorial.vue b/packages/frontend/src/components/MkTutorial.vue
index 634a1b7531..864ecf6e84 100644
--- a/packages/frontend/src/components/MkTutorial.vue
+++ b/packages/frontend/src/components/MkTutorial.vue
@@ -79,17 +79,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
-
-
-
-
{{ i18n.ts.pushNotification }}
-
{{ i18n.tsx._initialTutorial._pushNotification.description({ name: instance.name ?? host }) }}
-
-
-
-
-
+
@@ -98,7 +88,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-
+
@@ -134,7 +124,7 @@ SPDX-License-Identifier: AGPL-3.0-only
@@ -146,7 +136,6 @@ import XTimeline from '@/components/MkTutorial.Timeline.vue';
import XFollowUsers from '@/components/MkTutorial.FollowUsers.vue';
import XPostNote from '@/components/MkTutorial.PostNote.vue';
import XSensitive from '@/components/MkTutorial.Sensitive.vue';
-import MkPushNotificationAllowButton from '@/components/MkPushNotificationAllowButton.vue';
import XPrivacySettings from '@/components/MkTutorial.PrivacySettings.vue';
import MkAnimBg from '@/components/MkAnimBg.vue';
import { i18n } from '@/i18n.js';
@@ -195,7 +184,7 @@ function next() {
if (page.value === 3 && !props.withSetup) {
page.value += 2;
} else if (page.value === 6 && !props.withSetup) {
- page.value += 3;
+ page.value += 2;
} else {
page.value++;
}
@@ -206,8 +195,8 @@ function next() {
function prev() {
if (page.value === 5 && !props.withSetup) {
page.value -= 2;
- } else if (page.value === 9 && !props.withSetup) {
- page.value -= 3;
+ } else if (page.value === 8 && !props.withSetup) {
+ page.value -= 2;
} else {
page.value--;
}
diff --git a/packages/frontend/src/pages/onboarding.vue b/packages/frontend/src/pages/onboarding.vue
index da426d8288..5de033aeb5 100644
--- a/packages/frontend/src/pages/onboarding.vue
+++ b/packages/frontend/src/pages/onboarding.vue
@@ -15,8 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.follow }}
{{ i18n.ts._initialTutorial._postNote.title }}
{{ i18n.ts._initialTutorial._howToMakeAttachmentsSensitive.title }}
- {{ i18n.ts.pushNotification }}
- {{ i18n.ts.privacy }}
+ {{ i18n.ts.privacy }}
{{ i18n.ts._initialTutorial.title }}