From a8dcabd8adc09f8c34b6dbbd4659808d230ca03f Mon Sep 17 00:00:00 2001 From: pancakes Date: Mon, 24 Mar 2025 01:19:47 +1000 Subject: [PATCH] [frontend/pages] Add warning banners to migration page --- .../Components/WarningBanner.razor.css | 2 +- Iceshrimp.Frontend/Pages/Settings/Migration.razor | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Iceshrimp.Frontend/Components/WarningBanner.razor.css b/Iceshrimp.Frontend/Components/WarningBanner.razor.css index 02c808ea..4d71f382 100644 --- a/Iceshrimp.Frontend/Components/WarningBanner.razor.css +++ b/Iceshrimp.Frontend/Components/WarningBanner.razor.css @@ -1,6 +1,6 @@ .warning-banner { padding: 0.5rem 1rem; - margin: 1rem auto auto; + margin: 1rem auto; border: 1px solid var(--warning-color); color: var(--warning-color); border-radius: 0.5rem; diff --git a/Iceshrimp.Frontend/Pages/Settings/Migration.razor b/Iceshrimp.Frontend/Pages/Settings/Migration.razor index 765d253e..241b7a0f 100644 --- a/Iceshrimp.Frontend/Pages/Settings/Migration.razor +++ b/Iceshrimp.Frontend/Pages/Settings/Migration.razor @@ -35,8 +35,14 @@ } else { + + @Loc["Migrating your account will only move your followers from the old account to the new account. No other user data such as notes or bookmarks will be moved."] +
-

@Loc["Move current account to new account"]

+

@Loc["Migrate current account to new account"]

+ + @Loc["Make sure you've set up an alias for this account on your new account before migrating."] + @@ -55,7 +61,10 @@
-

@Loc["Move to this account from an older account"]

+

@Loc["Migrate to this account from an older account"]

+ + @Loc["This will set an alias of your old account so that you can move from that account to this current one. Do this BEFORE migrating from your older account."] +
@foreach (var alias in Status.Aliases) {