feat(user-preferences): implement user preferences management with backend support

Added functionality for managing user preferences, including the ability to update preferences via a new API endpoint. The preferences are now stored server-side, allowing for synchronization across devices. Updated relevant components to handle user preferences, including the UserMenu and settings views. Enhanced internationalization support for error messages related to preference updates.
This commit is contained in:
wizardchen
2026-05-18 11:21:55 +08:00
committed by lyingbug
parent 3226cb97ff
commit 68ac7fb973
20 changed files with 301 additions and 24 deletions
+1
View File
@@ -2561,6 +2561,7 @@ export default {
registerFailed: 'Registration failed',
getUserFailed: 'Failed to get user info',
getTenantFailed: 'Failed to get tenant info',
updatePreferencesFailed: 'Failed to update preferences',
refreshTokenFailed: 'Token refresh failed',
logoutFailed: 'Logout failed',
validateTokenFailed: 'Token validation failed',