🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
💄 style(profile): add mobile responsive layout and signup improvements (#10669)
YuTengjing1afd4710e798
diff --git a/locales/ar/auth.json b/locales/ar/auth.jsonindex 92a63422ad6..aee763b5cbf 100644--- a/locales/ar/auth.json+++ b/locales/ar/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "يرجى تأكيد كلمة المرور","emailExists": "هذا البريد الإلكتروني مسجّل بالفعل، يرجى تسجيل الدخول مباشرة","emailInvalid": "يرجى إدخال عنوان بريد إلكتروني صالح","emailNotRegistered": "هذا البريد الإلكتروني غير مسجل",@@ -65,6 +66,7 @@"passwordFormat": "يجب أن تحتوي كلمة المرور على أحرف وأرقام","passwordMaxLength": "يجب ألا تتجاوز كلمة المرور 64 حرفًا","passwordMinLength": "يجب أن تتكون كلمة المرور من 8 أحرف على الأقل",+ "passwordMismatch": "كلمتا المرور غير متطابقتين","passwordRequired": "يرجى إدخال كلمة المرور","usernameNotRegistered": "اسم المستخدم هذا غير مسجل","usernameRequired": "يرجى إدخال اسم المستخدم"@@ -125,6 +127,7 @@"submit": "تسجيل الدخول"},"signup": {+ "confirmPasswordPlaceholder": "يرجى تأكيد كلمة المرور","emailPlaceholder": "يرجى إدخال عنوان البريد الإلكتروني","error": "فشل التسجيل، يرجى المحاولة مرة أخرى","firstNamePlaceholder": "الاسم الأول",diff --git a/locales/bg-BG/auth.json b/locales/bg-BG/auth.jsonindex 827e523b7f8..3f315c6b222 100644--- a/locales/bg-BG/auth.json+++ b/locales/bg-BG/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "Моля, потвърдете паролата","emailExists": "Този имейл вече е регистриран. Моля, влезте директно.","emailInvalid": "Моля, въведете валиден имейл адрес","emailNotRegistered": "Този имейл все още не е регистриран",@@ -65,6 +66,7 @@"passwordFormat": "Паролата трябва да съдържа както букви, така и цифри","passwordMaxLength": "Паролата не може да надвишава 64 знака","passwordMinLength": "Паролата трябва да бъде поне 8 знака",+ "passwordMismatch": "Въведените пароли не съвпадат","passwordRequired": "Моля, въведете парола","usernameNotRegistered": "Това потребителско име не е регистрирано","usernameRequired": "Моля, въведете потребителско име"@@ -125,6 +127,7 @@"submit": "Вход"},"signup": {+ "confirmPasswordPlaceholder": "Моля, потвърдете паролата","emailPlaceholder": "Моля, въведете имейл адрес","error": "Регистрацията не бе успешна, моля опитайте отново","firstNamePlaceholder": "Собствено име",diff --git a/locales/de-DE/auth.json b/locales/de-DE/auth.jsonindex 8ac1054db84..afeb75ae06b 100644--- a/locales/de-DE/auth.json+++ b/locales/de-DE/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "Bitte bestätigen Sie Ihr Passwort","emailExists": "Diese E-Mail-Adresse ist bereits registriert. Bitte melden Sie sich direkt an.","emailInvalid": "Bitte geben Sie eine gültige E-Mail-Adresse ein","emailNotRegistered": "Diese E-Mail-Adresse ist noch nicht registriert",@@ -65,6 +66,7 @@"passwordFormat": "Das Passwort muss Buchstaben und Zahlen enthalten","passwordMaxLength": "Das Passwort darf maximal 64 Zeichen lang sein","passwordMinLength": "Das Passwort muss mindestens 8 Zeichen lang sein",+ "passwordMismatch": "Die beiden eingegebenen Passwörter stimmen nicht überein","passwordRequired": "Bitte geben Sie ein Passwort ein","usernameNotRegistered": "Dieser Benutzername ist noch nicht registriert","usernameRequired": "Bitte geben Sie einen Benutzernamen ein"@@ -125,6 +127,7 @@"submit": "Anmelden"},"signup": {+ "confirmPasswordPlaceholder": "Bitte bestätigen Sie Ihr Passwort","emailPlaceholder": "Bitte geben Sie Ihre E-Mail-Adresse ein","error": "Registrierung fehlgeschlagen, bitte versuchen Sie es erneut","firstNamePlaceholder": "Vorname",diff --git a/locales/en-US/auth.json b/locales/en-US/auth.jsonindex 7bef64b7794..9e45c6d1f6b 100644--- a/locales/en-US/auth.json+++ b/locales/en-US/auth.json@@ -54,8 +54,9 @@},"betterAuth": {"errors": {- "emailInvalid": "Please enter a valid email address or username",+ "confirmPasswordRequired": "Please confirm your password","emailExists": "This email is already registered. Please sign in instead",+ "emailInvalid": "Please enter a valid email address or username","emailNotRegistered": "This email or username is not registered","emailNotVerified": "Email not verified, please verify your email first","emailRequired": "Please enter your email address or username",@@ -65,6 +66,7 @@"passwordFormat": "Password must contain both letters and numbers","passwordMaxLength": "Password must not exceed 64 characters","passwordMinLength": "Password must be at least 8 characters",+ "passwordMismatch": "The passwords do not match","passwordRequired": "Please enter your password","usernameNotRegistered": "This username is not registered","usernameRequired": "Please enter your username"@@ -125,6 +127,7 @@"submit": "Sign In"},"signup": {+ "confirmPasswordPlaceholder": "Confirm your password","emailPlaceholder": "Enter your email address","error": "Sign up failed, please try again","firstNamePlaceholder": "First Name",diff --git a/locales/es-ES/auth.json b/locales/es-ES/auth.jsonindex 69ae7a45a01..0594a1098ea 100644--- a/locales/es-ES/auth.json+++ b/locales/es-ES/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "Por favor, confirma la contraseña","emailExists": "Este correo electrónico ya está registrado. Por favor, inicia sesión directamente.","emailInvalid": "Por favor, introduce una dirección de correo electrónico válida","emailNotRegistered": "Este correo electrónico no está registrado",@@ -65,6 +66,7 @@"passwordFormat": "La contraseña debe contener letras y números","passwordMaxLength": "La contraseña no puede tener más de 64 caracteres","passwordMinLength": "La contraseña debe tener al menos 8 caracteres",+ "passwordMismatch": "Las contraseñas no coinciden","passwordRequired": "Por favor, introduce tu contraseña","usernameNotRegistered": "Este nombre de usuario no está registrado","usernameRequired": "Por favor, introduce tu nombre de usuario"@@ -125,6 +127,7 @@"submit": "Iniciar sesión"},"signup": {+ "confirmPasswordPlaceholder": "Confirma tu contraseña","emailPlaceholder": "Introduce tu dirección de correo electrónico","error": "Error al registrarse. Inténtalo de nuevo","firstNamePlaceholder": "Nombre",diff --git a/locales/fa-IR/auth.json b/locales/fa-IR/auth.jsonindex 019cef6a29b..793b949b3c5 100644--- a/locales/fa-IR/auth.json+++ b/locales/fa-IR/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "لطفاً رمز عبور را تأیید کنید","emailExists": "این ایمیل قبلاً ثبت شده است، لطفاً مستقیماً وارد شوید","emailInvalid": "لطفاً یک آدرس ایمیل معتبر وارد کنید","emailNotRegistered": "این ایمیل هنوز ثبت نشده است",@@ -65,6 +66,7 @@"passwordFormat": "رمز عبور باید شامل حروف و اعداد باشد","passwordMaxLength": "رمز عبور نباید بیش از ۶۴ کاراکتر باشد","passwordMinLength": "رمز عبور باید حداقل ۸ کاراکتر باشد",+ "passwordMismatch": "رمزهای عبور وارد شده یکسان نیستند","passwordRequired": "لطفاً رمز عبور را وارد کنید","usernameNotRegistered": "این نام کاربری هنوز ثبت نشده است","usernameRequired": "لطفاً نام کاربری را وارد کنید"@@ -125,6 +127,7 @@"submit": "ورود"},"signup": {+ "confirmPasswordPlaceholder": "لطفاً رمز عبور را تأیید کنید","emailPlaceholder": "لطفاً آدرس ایمیل را وارد کنید","error": "ثبتنام ناموفق بود، لطفاً دوباره تلاش کنید","firstNamePlaceholder": "نام",diff --git a/locales/fr-FR/auth.json b/locales/fr-FR/auth.jsonindex f73ab8b1059..fce68ca4cf0 100644--- a/locales/fr-FR/auth.json+++ b/locales/fr-FR/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "Veuillez confirmer le mot de passe","emailExists": "Cet e-mail est déjà enregistré, veuillez vous connecter directement.","emailInvalid": "Veuillez saisir une adresse e-mail valide","emailNotRegistered": "Cette adresse e-mail n'est pas encore enregistrée",@@ -65,6 +66,7 @@"passwordFormat": "Le mot de passe doit contenir à la fois des lettres et des chiffres","passwordMaxLength": "Le mot de passe ne doit pas dépasser 64 caractères","passwordMinLength": "Le mot de passe doit contenir au moins 8 caractères",+ "passwordMismatch": "Les mots de passe saisis ne correspondent pas","passwordRequired": "Veuillez saisir un mot de passe","usernameNotRegistered": "Ce nom d'utilisateur n'est pas encore enregistré","usernameRequired": "Veuillez saisir un nom d'utilisateur"@@ -125,6 +127,7 @@"submit": "Connexion"},"signup": {+ "confirmPasswordPlaceholder": "Veuillez confirmer le mot de passe","emailPlaceholder": "Veuillez saisir votre adresse e-mail","error": "Échec de l'inscription, veuillez réessayer","firstNamePlaceholder": "Prénom",diff --git a/locales/it-IT/auth.json b/locales/it-IT/auth.jsonindex 69dd51ef1df..b3c8cdd65a5 100644--- a/locales/it-IT/auth.json+++ b/locales/it-IT/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "Conferma la password","emailExists": "Questo indirizzo email è già registrato, effettua direttamente l'accesso","emailInvalid": "Inserisci un indirizzo email valido","emailNotRegistered": "Questo indirizzo email non è registrato",@@ -65,6 +66,7 @@"passwordFormat": "La password deve contenere lettere e numeri","passwordMaxLength": "La password non può superare i 64 caratteri","passwordMinLength": "La password deve contenere almeno 8 caratteri",+ "passwordMismatch": "Le password inserite non corrispondono","passwordRequired": "Inserisci la password","usernameNotRegistered": "Questo nome utente non è ancora registrato","usernameRequired": "Inserisci il nome utente"@@ -125,6 +127,7 @@"submit": "Accedi"},"signup": {+ "confirmPasswordPlaceholder": "Conferma la password","emailPlaceholder": "Inserisci l'indirizzo email","error": "Registrazione fallita, riprova","firstNamePlaceholder": "Nome",diff --git a/locales/ja-JP/auth.json b/locales/ja-JP/auth.jsonindex 161fa86716a..4afdc0fef7e 100644--- a/locales/ja-JP/auth.json+++ b/locales/ja-JP/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "パスワードの確認を入力してください","emailExists": "このメールアドレスは既に登録されています。ログインしてください。","emailInvalid": "有効なメールアドレスを入力してください","emailNotRegistered": "このメールアドレスは未登録です",@@ -65,6 +66,7 @@"passwordFormat": "パスワードは英字と数字を含める必要があります","passwordMaxLength": "パスワードは64文字以内で入力してください","passwordMinLength": "パスワードは8文字以上で入力してください",+ "passwordMismatch": "入力されたパスワードが一致しません","passwordRequired": "パスワードを入力してください","usernameNotRegistered": "このユーザー名は未登録です","usernameRequired": "ユーザー名を入力してください"@@ -125,6 +127,7 @@"submit": "ログイン"},"signup": {+ "confirmPasswordPlaceholder": "パスワードの確認を入力してください","emailPlaceholder": "メールアドレスを入力してください","error": "登録に失敗しました。もう一度お試しください","firstNamePlaceholder": "名",diff --git a/locales/ko-KR/auth.json b/locales/ko-KR/auth.jsonindex a2bef31b7c0..ef511467b58 100644--- a/locales/ko-KR/auth.json+++ b/locales/ko-KR/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "비밀번호 확인이 필요합니다","emailExists": "이 이메일은 이미 등록되어 있습니다. 바로 로그인해 주세요.","emailInvalid": "유효한 이메일 주소를 입력하세요","emailNotRegistered": "이 이메일은 아직 등록되지 않았습니다",@@ -65,6 +66,7 @@"passwordFormat": "비밀번호는 영문자와 숫자를 모두 포함해야 합니다","passwordMaxLength": "비밀번호는 최대 64자까지 입력할 수 있습니다","passwordMinLength": "비밀번호는 최소 8자 이상이어야 합니다",+ "passwordMismatch": "입력한 비밀번호가 일치하지 않습니다","passwordRequired": "비밀번호를 입력하세요","usernameNotRegistered": "해당 사용자 이름은 등록되어 있지 않습니다","usernameRequired": "사용자 이름을 입력하세요"@@ -125,6 +127,7 @@"submit": "로그인"},"signup": {+ "confirmPasswordPlaceholder": "비밀번호를 다시 입력해 주세요","emailPlaceholder": "이메일 주소를 입력하세요","error": "회원가입에 실패했습니다. 다시 시도하세요","firstNamePlaceholder": "이름",diff --git a/locales/nl-NL/auth.json b/locales/nl-NL/auth.jsonindex 1a5c98f1414..f934b42ed05 100644--- a/locales/nl-NL/auth.json+++ b/locales/nl-NL/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "Bevestig alstublieft uw wachtwoord","emailExists": "Dit e-mailadres is al geregistreerd. Log direct in.","emailInvalid": "Voer een geldig e-mailadres in","emailNotRegistered": "Dit e-mailadres is nog niet geregistreerd",@@ -65,6 +66,7 @@"passwordFormat": "Het wachtwoord moet letters en cijfers bevatten","passwordMaxLength": "Het wachtwoord mag maximaal 64 tekens bevatten","passwordMinLength": "Het wachtwoord moet minimaal 8 tekens bevatten",+ "passwordMismatch": "De ingevoerde wachtwoorden komen niet overeen","passwordRequired": "Voer een wachtwoord in","usernameNotRegistered": "Deze gebruikersnaam is nog niet geregistreerd","usernameRequired": "Voer een gebruikersnaam in"@@ -125,6 +127,7 @@"submit": "Inloggen"},"signup": {+ "confirmPasswordPlaceholder": "Bevestig alstublieft uw wachtwoord","emailPlaceholder": "Voer je e-mailadres in","error": "Registratie mislukt, probeer het opnieuw","firstNamePlaceholder": "Voornaam",diff --git a/locales/pl-PL/auth.json b/locales/pl-PL/auth.jsonindex 5446c988428..6cbcf6b175c 100644--- a/locales/pl-PL/auth.json+++ b/locales/pl-PL/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "Proszę potwierdzić hasło","emailExists": "Ten adres e-mail jest już zarejestrowany, zaloguj się bezpośrednio.","emailInvalid": "Wprowadź poprawny adres e-mail","emailNotRegistered": "Ten adres e-mail nie jest zarejestrowany",@@ -65,6 +66,7 @@"passwordFormat": "Hasło musi zawierać litery i cyfry","passwordMaxLength": "Hasło nie może przekraczać 64 znaków","passwordMinLength": "Hasło musi mieć co najmniej 8 znaków",+ "passwordMismatch": "Wprowadzone hasła nie są takie same","passwordRequired": "Wprowadź hasło","usernameNotRegistered": "Nazwa użytkownika nie została zarejestrowana","usernameRequired": "Wprowadź nazwę użytkownika"@@ -125,6 +127,7 @@"submit": "Zaloguj się"},"signup": {+ "confirmPasswordPlaceholder": "Proszę potwierdzić hasło","emailPlaceholder": "Wprowadź adres e-mail","error": "Rejestracja nie powiodła się, spróbuj ponownie","firstNamePlaceholder": "Imię",diff --git a/locales/pt-BR/auth.json b/locales/pt-BR/auth.jsonindex a4f3dbe9e31..ccc5d5acb73 100644--- a/locales/pt-BR/auth.json+++ b/locales/pt-BR/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "Por favor, confirme a senha","emailExists": "Este e-mail já está registrado. Por favor, faça login diretamente.","emailInvalid": "Por favor, insira um endereço de e-mail válido","emailNotRegistered": "Este e-mail ainda não está registrado",@@ -65,6 +66,7 @@"passwordFormat": "A senha deve conter letras e números","passwordMaxLength": "A senha não pode ter mais de 64 caracteres","passwordMinLength": "A senha deve ter pelo menos 8 caracteres",+ "passwordMismatch": "As senhas inseridas não coincidem","passwordRequired": "Por favor, insira a senha","usernameNotRegistered": "Este nome de usuário ainda não está registrado","usernameRequired": "Por favor, insira o nome de usuário"@@ -125,6 +127,7 @@"submit": "Entrar"},"signup": {+ "confirmPasswordPlaceholder": "Por favor, confirme a senha","emailPlaceholder": "Por favor, insira o endereço de e-mail","error": "Falha no cadastro, tente novamente","firstNamePlaceholder": "Nome",diff --git a/locales/ru-RU/auth.json b/locales/ru-RU/auth.jsonindex 54a8aef544e..bf3b983265e 100644--- a/locales/ru-RU/auth.json+++ b/locales/ru-RU/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "Пожалуйста, подтвердите пароль","emailExists": "Этот адрес электронной почты уже зарегистрирован. Пожалуйста, войдите в систему.","emailInvalid": "Пожалуйста, введите действительный адрес электронной почты","emailNotRegistered": "Этот адрес электронной почты не зарегистрирован",@@ -65,6 +66,7 @@"passwordFormat": "Пароль должен содержать как буквы, так и цифры","passwordMaxLength": "Пароль не должен превышать 64 символа","passwordMinLength": "Пароль должен содержать не менее 8 символов",+ "passwordMismatch": "Введённые пароли не совпадают","passwordRequired": "Пожалуйста, введите пароль","usernameNotRegistered": "Это имя пользователя не зарегистрировано","usernameRequired": "Пожалуйста, введите имя пользователя"@@ -125,6 +127,7 @@"submit": "Войти"},"signup": {+ "confirmPasswordPlaceholder": "Пожалуйста, подтвердите пароль","emailPlaceholder": "Введите адрес электронной почты","error": "Не удалось зарегистрироваться, попробуйте снова","firstNamePlaceholder": "Имя",diff --git a/locales/tr-TR/auth.json b/locales/tr-TR/auth.jsonindex 5cf549e24c6..e803913feed 100644--- a/locales/tr-TR/auth.json+++ b/locales/tr-TR/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "Lütfen şifreyi onaylayın","emailExists": "Bu e-posta adresi zaten kayıtlı, lütfen doğrudan giriş yapın","emailInvalid": "Lütfen geçerli bir e-posta adresi girin","emailNotRegistered": "Bu e-posta henüz kayıtlı değil",@@ -65,6 +66,7 @@"passwordFormat": "Şifre hem harf hem de rakam içermelidir","passwordMaxLength": "Şifre en fazla 64 karakter olabilir","passwordMinLength": "Şifre en az 8 karakter olmalıdır",+ "passwordMismatch": "Girdiğiniz şifreler eşleşmiyor","passwordRequired": "Lütfen şifrenizi girin","usernameNotRegistered": "Bu kullanıcı adı henüz kayıtlı değil","usernameRequired": "Lütfen kullanıcı adınızı girin"@@ -125,6 +127,7 @@"submit": "Giriş Yap"},"signup": {+ "confirmPasswordPlaceholder": "Lütfen şifreyi onaylayın","emailPlaceholder": "Lütfen e-posta adresinizi girin","error": "Kayıt başarısız oldu, lütfen tekrar deneyin","firstNamePlaceholder": "Ad",diff --git a/locales/vi-VN/auth.json b/locales/vi-VN/auth.jsonindex e1c54204104..949e293cb15 100644--- a/locales/vi-VN/auth.json+++ b/locales/vi-VN/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "Vui lòng xác nhận mật khẩu","emailExists": "Email này đã được đăng ký, vui lòng đăng nhập trực tiếp","emailInvalid": "Vui lòng nhập địa chỉ email hợp lệ","emailNotRegistered": "Email này chưa được đăng ký",@@ -65,6 +66,7 @@"passwordFormat": "Mật khẩu phải bao gồm cả chữ và số","passwordMaxLength": "Mật khẩu không được vượt quá 64 ký tự","passwordMinLength": "Mật khẩu phải có ít nhất 8 ký tự",+ "passwordMismatch": "Mật khẩu nhập hai lần không khớp","passwordRequired": "Vui lòng nhập mật khẩu","usernameNotRegistered": "Tên người dùng này chưa được đăng ký","usernameRequired": "Vui lòng nhập tên người dùng"@@ -125,6 +127,7 @@"submit": "Đăng nhập"},"signup": {+ "confirmPasswordPlaceholder": "Vui lòng xác nhận mật khẩu","emailPlaceholder": "Vui lòng nhập địa chỉ email","error": "Đăng ký thất bại, vui lòng thử lại","firstNamePlaceholder": "Tên",diff --git a/locales/zh-CN/auth.json b/locales/zh-CN/auth.jsonindex c2ab3ce122a..71f2772a5f9 100644--- a/locales/zh-CN/auth.json+++ b/locales/zh-CN/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "请确认密码","emailExists": "该邮箱已注册,请直接登录","emailInvalid": "请输入有效的邮箱地址或用户名","emailNotRegistered": "该邮箱或用户名尚未注册",@@ -65,6 +66,7 @@"passwordFormat": "密码必须同时包含字母和数字","passwordMaxLength": "密码最多不超过 64 个字符","passwordMinLength": "密码至少需要 8 个字符",+ "passwordMismatch": "两次输入的密码不一致","passwordRequired": "请输入密码","usernameNotRegistered": "该用户名尚未注册","usernameRequired": "请输入用户名"@@ -125,6 +127,7 @@"submit": "登录"},"signup": {+ "confirmPasswordPlaceholder": "请确认密码","emailPlaceholder": "请输入邮箱地址","error": "注册失败,请重试","firstNamePlaceholder": "名字",diff --git a/locales/zh-TW/auth.json b/locales/zh-TW/auth.jsonindex e9dac1386cd..2ab114bc9af 100644--- a/locales/zh-TW/auth.json+++ b/locales/zh-TW/auth.json@@ -54,6 +54,7 @@},"betterAuth": {"errors": {+ "confirmPasswordRequired": "請確認密碼","emailExists": "該電子郵件已註冊,請直接登入","emailInvalid": "請輸入有效的電子郵件地址","emailNotRegistered": "該電子郵件尚未註冊",@@ -65,6 +66,7 @@"passwordFormat": "密碼必須同時包含字母與數字","passwordMaxLength": "密碼長度不得超過 64 個字元","passwordMinLength": "密碼長度至少需為 8 個字元",+ "passwordMismatch": "兩次輸入的密碼不一致","passwordRequired": "請輸入密碼","usernameNotRegistered": "該使用者名稱尚未註冊","usernameRequired": "請輸入使用者名稱"@@ -125,6 +127,7 @@"submit": "登入"},"signup": {+ "confirmPasswordPlaceholder": "請確認密碼","emailPlaceholder": "請輸入電子郵件地址","error": "註冊失敗,請重試","firstNamePlaceholder": "名字",diff --git a/src/app/[variants]/(auth)/signup/[[...signup]]/BetterAuthSignUpForm.tsx b/src/app/[variants]/(auth)/signup/[[...signup]]/BetterAuthSignUpForm.tsxindex e7383f3ae0e..c1be6bec447 100644--- a/src/app/[variants]/(auth)/signup/[[...signup]]/BetterAuthSignUpForm.tsx+++ b/src/app/[variants]/(auth)/signup/[[...signup]]/BetterAuthSignUpForm.tsx@@ -52,6 +52,7 @@ const useStyles = createStyles(({ css, token }) => ({}));interface SignUpFormValues {+ confirmPassword: string;email: string;password: string;}@@ -179,6 +180,28 @@ export default function BetterAuthSignUpForm() {/></Form.Item>+ <Form.Item+ dependencies={['password']}+ name="confirmPassword"+ rules={[+ { message: t('betterAuth.errors.confirmPasswordRequired'), required: true },+ ({ getFieldValue }) => ({+ validator(_, value) {+ if (!value || getFieldValue('password') === value) {+ return Promise.resolve();+ }+ return Promise.reject(new Error(t('betterAuth.errors.passwordMismatch')));+ },+ }),+ ]}+ >+ <Input.Password+ placeholder={t('betterAuth.signup.confirmPasswordPlaceholder')}+ prefix={<Lock size={16} />}+ size="large"+ />+ </Form.Item>+<Form.Item><Buttonblockdiff --git a/src/app/[variants]/(main)/(mobile)/me/(home)/features/UserBanner.tsx b/src/app/[variants]/(main)/(mobile)/me/(home)/features/UserBanner.tsxindex 8d85c9a56d4..79f31fbd97a 100644--- a/src/app/[variants]/(main)/(mobile)/me/(home)/features/UserBanner.tsx+++ b/src/app/[variants]/(main)/(mobile)/me/(home)/features/UserBanner.tsx@@ -1,10 +1,10 @@'use client';import { memo } from 'react';-import { Link, useNavigate } from 'react-router-dom';import { Flexbox } from 'react-layout-kit';+import { Link } from 'react-router-dom';-import { enableAuth, enableNextAuth } from '@/const/auth';+import { enableAuth } from '@/const/auth';import DataStatistics from '@/features/User/DataStatistics';import UserInfo from '@/features/User/UserInfo';import UserLoginOrSignup from '@/features/User/UserLoginOrSignup/Community';@@ -12,7 +12,6 @@ import { useUserStore } from '@/store/user';import { authSelectors } from '@/store/user/selectors';const UserBanner = memo(() => {- const navigate = useNavigate();const isLoginWithAuth = useUserStore(authSelectors.isLoginWithAuth);const [signIn] = useUserStore((s) => [s.openLogin]);@@ -30,12 +29,7 @@ const UserBanner = memo(() => {) : (<UserLoginOrSignuponClick={() => {- // If use NextAuth, call openLogin method directly- if (enableNextAuth) {- signIn();- return;- }- navigate('/login');+ signIn();}}/>)}diff --git a/src/app/[variants]/(main)/profile/(home)/Client.tsx b/src/app/[variants]/(main)/profile/(home)/Client.tsxindex f3c9278ba31..61f4c4fcacb 100644--- a/src/app/[variants]/(main)/profile/(home)/Client.tsx+++ b/src/app/[variants]/(main)/profile/(home)/Client.tsx@@ -31,6 +31,7 @@ interface ProfileRowProps {action?: ReactNode;children: ReactNode;label: string;+ mobile?: boolean;}const rowStyle: CSSProperties = {@@ -43,17 +44,31 @@ const labelStyle: CSSProperties = {width: 160,};-const ProfileRow = memo<ProfileRowProps>(({ label, children, action }) => (- <Flexbox align="center" gap={24} horizontal justify="space-between" style={rowStyle}>- <Flexbox align="center" gap={24} horizontal style={{ flex: 1 }}>- <Typography.Text style={labelStyle}>{label}</Typography.Text>- <Flexbox style={{ flex: 1 }}>{children}</Flexbox>+const ProfileRow = memo<ProfileRowProps>(({ label, children, action, mobile }) => {+ if (mobile) {+ return (+ <Flexbox gap={12} style={rowStyle}>+ <Flexbox align="center" horizontal justify="space-between">+ <Typography.Text strong>{label}</Typography.Text>+ {action}+ </Flexbox>+ <Flexbox>{children}</Flexbox>+ </Flexbox>+ );+ }++ return (+ <Flexbox align="center" gap={24} horizontal justify="space-between" style={rowStyle}>+ <Flexbox align="center" gap={24} horizontal style={{ flex: 1 }}>+ <Typography.Text style={labelStyle}>{label}</Typography.Text>+ <Flexbox style={{ flex: 1 }}>{children}</Flexbox>+ </Flexbox>+ {action && <Flexbox>{action}</Flexbox>}</Flexbox>- {action && <Flexbox>{action}</Flexbox>}- </Flexbox>-));+ );+});-const AvatarRow = memo(() => {+const AvatarRow = memo<{ mobile?: boolean }>(({ mobile }) => {const { t } = useTranslation('auth');const isLogin = useUserStore(authSelectors.isLogin);const updateAvatar = useUserStore((s) => s.updateAvatar);@@ -89,34 +104,48 @@ const AvatarRow = memo(() => {const canUpload = !enableAuth || isLogin;+ const avatarContent = canUpload ? (+ <Spin indicator={<LoadingOutlined spin />} spinning={uploading}>+ <Upload beforeUpload={handleUploadAvatar} itemRender={() => void 0} maxCount={1}>+ <UserAvatar clickable size={40} />+ </Upload>+ </Spin>+ ) : (+ <UserAvatar size={40} />+ );++ const updateAction = canUpload ? (+ <Upload beforeUpload={handleUploadAvatar} itemRender={() => void 0} maxCount={1}>+ <Typography.Text style={{ cursor: 'pointer', fontSize: 13 }}>+ {t('profile.updateAvatar')}+ </Typography.Text>+ </Upload>+ ) : null;++ if (mobile) {+ return (+ <Flexbox gap={12} style={rowStyle}>+ <Flexbox align="center" horizontal justify="space-between">+ <Typography.Text strong>{t('profile.avatar')}</Typography.Text>+ {updateAction}+ </Flexbox>+ <Flexbox>{avatarContent}</Flexbox>+ </Flexbox>+ );+ }+return (<Flexbox align="center" gap={24} horizontal justify="space-between" style={rowStyle}><Flexbox align="center" gap={24} horizontal style={{ flex: 1 }}><Typography.Text style={labelStyle}>{t('profile.avatar')}</Typography.Text>- <Flexbox style={{ flex: 1 }}>- {canUpload ? (- <Spin indicator={<LoadingOutlined spin />} spinning={uploading}>- <Upload beforeUpload={handleUploadAvatar} itemRender={() => void 0} maxCount={1}>- <UserAvatar clickable size={40} />- </Upload>- </Spin>- ) : (- <UserAvatar size={40} />- )}- </Flexbox>+ <Flexbox style={{ flex: 1 }}>{avatarContent}</Flexbox></Flexbox>- {canUpload && (- <Upload beforeUpload={handleUploadAvatar} itemRender={() => void 0} maxCount={1}>- <Typography.Text style={{ cursor: 'pointer', fontSize: 13 }}>- {t('profile.updateAvatar')}- </Typography.Text>- </Upload>- )}+ {updateAction}</Flexbox>);});-const FullNameRow = memo(() => {+const FullNameRow = memo<{ mobile?: boolean }>(({ mobile }) => {const { t } = useTranslation('auth');const fullName = useUserStore(userProfileSelectors.fullName);const updateFullName = useUserStore((s) => s.updateFullName);@@ -152,64 +181,83 @@ const FullNameRow = memo(() => {}}, [editValue, updateFullName]);+ const editingContent = (+ <motion.div+ animate={{ opacity: 1, y: 0 }}+ exit={{ opacity: 0, y: -10 }}+ initial={{ opacity: 0, y: -10 }}+ key="editing"+ transition={{ duration: 0.2 }}+ >+ <Flexbox gap={12}>+ {!mobile && <Typography.Text strong>{t('profile.fullNameInputHint')}</Typography.Text>}+ <Input+ autoFocus+ onChange={(e) => setEditValue(e.target.value)}+ onPressEnter={handleSave}+ placeholder={t('profile.fullName')}+ value={editValue}+ />+ <Flexbox gap={8} horizontal justify="flex-end">+ <Button disabled={saving} onClick={handleCancel} size="small">+ {t('profile.cancel')}+ </Button>+ <Button loading={saving} onClick={handleSave} size="small" type="primary">+ {t('profile.save')}+ </Button>+ </Flexbox>+ </Flexbox>+ </motion.div>+ );++ const displayContent = (+ <motion.div+ animate={{ opacity: 1 }}+ exit={{ opacity: 0 }}+ initial={{ opacity: 0 }}+ key="display"+ transition={{ duration: 0.2 }}+ >+ {mobile ? (+ <Typography.Text>{fullName || '--'}</Typography.Text>+ ) : (+ <Flexbox align="center" horizontal justify="space-between">+ <Typography.Text>{fullName || '--'}</Typography.Text>+ <Typography.Text onClick={handleStartEdit} style={{ cursor: 'pointer', fontSize: 13 }}>+ {t('profile.updateFullName')}+ </Typography.Text>+ </Flexbox>+ )}+ </motion.div>+ );++ if (mobile) {+ return (+ <Flexbox gap={12} style={rowStyle}>+ <Flexbox align="center" horizontal justify="space-between">+ <Typography.Text strong>{t('profile.fullName')}</Typography.Text>+ {!isEditing && (+ <Typography.Text onClick={handleStartEdit} style={{ cursor: 'pointer', fontSize: 13 }}>+ {t('profile.updateFullName')}+ </Typography.Text>+ )}+ </Flexbox>+ <AnimatePresence mode="wait">{isEditing ? editingContent : displayContent}</AnimatePresence>+ </Flexbox>+ );+ }+return (<Flexbox gap={24} horizontal style={rowStyle}><Typography.Text style={labelStyle}>{t('profile.fullName')}</Typography.Text><Flexbox style={{ flex: 1 }}>- <AnimatePresence mode="wait">- {isEditing ? (- <motion.div- animate={{ opacity: 1, y: 0 }}- exit={{ opacity: 0, y: -10 }}- initial={{ opacity: 0, y: -10 }}- key="editing"- transition={{ duration: 0.2 }}- >- <Flexbox gap={12}>- <Typography.Text strong>{t('profile.fullNameInputHint')}</Typography.Text>- <Input- autoFocus- onChange={(e) => setEditValue(e.target.value)}- onPressEnter={handleSave}- placeholder={t('profile.fullName')}- value={editValue}- />- <Flexbox gap={8} horizontal justify="flex-end">- <Button disabled={saving} onClick={handleCancel} size="small">- {t('profile.cancel')}- </Button>- <Button loading={saving} onClick={handleSave} size="small" type="primary">- {t('profile.save')}- </Button>- </Flexbox>- </Flexbox>- </motion.div>- ) : (- <motion.div- animate={{ opacity: 1 }}- exit={{ opacity: 0 }}- initial={{ opacity: 0 }}- key="display"- transition={{ duration: 0.2 }}- >- <Flexbox align="center" horizontal justify="space-between">- <Typography.Text>{fullName || '--'}</Typography.Text>- <Typography.Text- onClick={handleStartEdit}- style={{ cursor: 'pointer', fontSize: 13 }}- >- {t('profile.updateFullName')}- </Typography.Text>- </Flexbox>- </motion.div>- )}- </AnimatePresence>+ <AnimatePresence mode="wait">{isEditing ? editingContent : displayContent}</AnimatePresence></Flexbox></Flexbox>);});-const UsernameRow = memo(() => {+const UsernameRow = memo<{ mobile?: boolean }>(({ mobile }) => {const { t } = useTranslation('auth');const username = useUserStore(userProfileSelectors.username);const updateUsername = useUserStore((s) => s.updateUsername);@@ -281,70 +329,89 @@ const UsernameRow = memo(() => {setError('');};+ const editingContent = (+ <motion.div+ animate={{ opacity: 1, y: 0 }}+ exit={{ opacity: 0, y: -10 }}+ initial={{ opacity: 0, y: -10 }}+ key="editing"+ transition={{ duration: 0.2 }}+ >+ <Flexbox gap={12}>+ {!mobile && <Typography.Text strong>{t('profile.usernameInputHint')}</Typography.Text>}+ <Input+ autoFocus+ onChange={handleInputChange}+ onPressEnter={handleSave}+ placeholder={t('profile.usernamePlaceholder')}+ status={error ? 'error' : undefined}+ value={editValue}+ />+ {error && (+ <Typography.Text style={{ fontSize: 12 }} type="danger">+ {error}+ </Typography.Text>+ )}+ <Flexbox gap={8} horizontal justify="flex-end">+ <Button disabled={saving} onClick={handleCancel} size="small">+ {t('profile.cancel')}+ </Button>+ <Button loading={saving} onClick={handleSave} size="small" type="primary">+ {t('profile.save')}+ </Button>+ </Flexbox>+ </Flexbox>+ </motion.div>+ );++ const displayContent = (+ <motion.div+ animate={{ opacity: 1 }}+ exit={{ opacity: 0 }}+ initial={{ opacity: 0 }}+ key="display"+ transition={{ duration: 0.2 }}+ >+ {mobile ? (+ <Typography.Text>{username || '--'}</Typography.Text>+ ) : (+ <Flexbox align="center" horizontal justify="space-between">+ <Typography.Text>{username || '--'}</Typography.Text>+ <Typography.Text onClick={handleStartEdit} style={{ cursor: 'pointer', fontSize: 13 }}>+ {t('profile.updateUsername')}+ </Typography.Text>+ </Flexbox>+ )}+ </motion.div>+ );++ if (mobile) {+ return (+ <Flexbox gap={12} style={rowStyle}>+ <Flexbox align="center" horizontal justify="space-between">+ <Typography.Text strong>{t('profile.username')}</Typography.Text>+ {!isEditing && (+ <Typography.Text onClick={handleStartEdit} style={{ cursor: 'pointer', fontSize: 13 }}>+ {t('profile.updateUsername')}+ </Typography.Text>+ )}+ </Flexbox>+ <AnimatePresence mode="wait">{isEditing ? editingContent : displayContent}</AnimatePresence>+ </Flexbox>+ );+ }+return (<Flexbox gap={24} horizontal style={rowStyle}><Typography.Text style={labelStyle}>{t('profile.username')}</Typography.Text><Flexbox style={{ flex: 1 }}>- <AnimatePresence mode="wait">- {isEditing ? (- <motion.div- animate={{ opacity: 1, y: 0 }}- exit={{ opacity: 0, y: -10 }}- initial={{ opacity: 0, y: -10 }}- key="editing"- transition={{ duration: 0.2 }}- >- <Flexbox gap={12}>- <Typography.Text strong>{t('profile.usernameInputHint')}</Typography.Text>- <Input- autoFocus- onChange={handleInputChange}- onPressEnter={handleSave}- placeholder={t('profile.usernamePlaceholder')}- status={error ? 'error' : undefined}- value={editValue}- />- {error && (- <Typography.Text style={{ fontSize: 12 }} type="danger">- {error}- </Typography.Text>- )}- <Flexbox gap={8} horizontal justify="flex-end">- <Button disabled={saving} onClick={handleCancel} size="small">- {t('profile.cancel')}- </Button>- <Button loading={saving} onClick={handleSave} size="small" type="primary">- {t('profile.save')}- </Button>- </Flexbox>- </Flexbox>- </motion.div>- ) : (- <motion.div- animate={{ opacity: 1 }}- exit={{ opacity: 0 }}- initial={{ opacity: 0 }}- key="display"- transition={{ duration: 0.2 }}- >- <Flexbox align="center" horizontal justify="space-between">- <Typography.Text>{username || '--'}</Typography.Text>- <Typography.Text- onClick={handleStartEdit}- style={{ cursor: 'pointer', fontSize: 13 }}- >- {t('profile.updateUsername')}- </Typography.Text>- </Flexbox>- </motion.div>- )}- </AnimatePresence>+ <AnimatePresence mode="wait">{isEditing ? editingContent : displayContent}</AnimatePresence></Flexbox></Flexbox>);});-const PasswordRow = memo(() => {+const PasswordRow = memo<{ mobile?: boolean }>(({ mobile }) => {const { t } = useTranslation('auth');const userProfile = useUserStore(userProfileSelectors.userProfile);const hasPasswordAccount = useUserStore(authSelectors.hasPasswordAccount);@@ -387,6 +454,7 @@ const PasswordRow = memo(() => {</Typography.Text>}label={t('profile.password')}+ mobile={mobile}><Typography.Text>{hasPasswordAccount ? '••••••' : '--'}</Typography.Text></ProfileRow>@@ -435,24 +503,24 @@ const Client = memo<{ mobile?: boolean }>(({ mobile }) => {<Divider style={{ marginBlock: 0 }} />{/* Avatar Row - Editable */}- <AvatarRow />+ <AvatarRow mobile={mobile} /><Divider style={{ margin: 0 }} />{/* Full Name Row - Editable */}- <FullNameRow />+ <FullNameRow mobile={mobile} /><Divider style={{ margin: 0 }} />{/* Username Row - Editable */}- <UsernameRow />+ <UsernameRow mobile={mobile} /><Divider style={{ margin: 0 }} />{/* Password Row - For Better Auth users to change or set password */}{isLoginWithBetterAuth && (<>- <PasswordRow />+ <PasswordRow mobile={mobile} /><Divider style={{ margin: 0 }} /></>)}@@ -460,7 +528,7 @@ const Client = memo<{ mobile?: boolean }>(({ mobile }) => {{/* Email Row - Read Only */}{isLoginWithAuth && userProfile?.email && (<>- <ProfileRow label={t('profile.email')}>+ <ProfileRow label={t('profile.email')} mobile={mobile}><Typography.Text>{userProfile.email}</Typography.Text></ProfileRow><Divider style={{ margin: 0 }} />@@ -469,7 +537,7 @@ const Client = memo<{ mobile?: boolean }>(({ mobile }) => {{/* SSO Providers Row */}{isLoginWithAuth && (- <ProfileRow label={t('profile.sso.providers')}>+ <ProfileRow label={t('profile.sso.providers')} mobile={mobile}><SSOProvidersList /></ProfileRow>)}diff --git a/src/locales/default/auth.ts b/src/locales/default/auth.tsindex 16f2576958c..2704d752dbc 100644--- a/src/locales/default/auth.ts+++ b/src/locales/default/auth.ts@@ -54,6 +54,7 @@ export default {},betterAuth: {errors: {+ confirmPasswordRequired: '请确认密码',emailExists: '该邮箱已注册,请直接登录',emailInvalid: '请输入有效的邮箱地址或用户名',emailNotRegistered: '该邮箱或用户名尚未注册',@@ -65,6 +66,7 @@ export default {passwordFormat: '密码必须同时包含字母和数字',passwordMaxLength: '密码最多不超过 64 个字符',passwordMinLength: '密码至少需要 8 个字符',+ passwordMismatch: '两次输入的密码不一致',passwordRequired: '请输入密码',usernameNotRegistered: '该用户名尚未注册',usernameRequired: '请输入用户名',@@ -125,6 +127,7 @@ export default {submit: '登录',},signup: {+ confirmPasswordPlaceholder: '请确认密码',emailPlaceholder: '请输入邮箱地址',error: '注册失败,请重试',firstNamePlaceholder: '名字',