From 83a4adbd95ab8f89dfddbab9ba1f302564047d52 Mon Sep 17 00:00:00 2001
From: tobi <31960611+tsmethurst@users.noreply.github.com>
Date: Sat, 17 Feb 2024 17:03:44 +0100
Subject: [chore] Disable Move API endpoints for now until Move is fully
 implemented in the backend (#2650)

* [chore] Disable Move API endpoints for now until Move is fully implemented in the backend

* disable other form fields

* clarify that moving to GtS also isn't implemented yet
---
 web/source/settings/user/migration.tsx | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'web/source/settings/user/migration.tsx')

diff --git a/web/source/settings/user/migration.tsx b/web/source/settings/user/migration.tsx
index 7a8b934ac..ddfc71cdd 100644
--- a/web/source/settings/user/migration.tsx
+++ b/web/source/settings/user/migration.tsx
@@ -46,6 +46,10 @@ function UserMigrationForm({ data: profile }) {
 	return (
 		<>
 			<h2>Account Migration Settings</h2>
+			<div className="info">
+				<i className="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
+				<b>Moving your account to another instance, or moving an account from another instance to your account, isn't implemented yet! <a href="https://github.com/superseriousbusiness/gotosocial/issues/130" target="_blank" rel="noopener noreferrer">See here for progress</a>.</b>
+			</div>
 			<p>
 				The following settings allow you to <strong>alias</strong> your account to another account
 				elsewhere, and to <strong>move</strong> your followers and following lists to another account.
@@ -186,18 +190,20 @@ function MoveForm({ data: profile }) {
 				</a>
 			</div>
 			<TextInput
+				disabled={true}
 				field={form.movedToURI}
 				label="Move target URI"
 				placeholder="https://example.org/users/my_new_account"
 			/>
 			<TextInput
+				disabled={true}
 				type="password"
 				name="password"
 				field={form.password}
 				label="Confirm account password"
 			/>
 			<MutationButton
-				disabled={false}
+				disabled={true}
 				label="Confirm account move"
 				result={result}
 			/>
-- 
cgit v1.2.3

