feat: implement account switcher component and state management
- Add AccountSwitcher component for managing user accounts with UI for switching, adding, and logging out. - Create account state manager to handle snapshots of account-specific states for efficient switching. - Introduce utility functions for account management, including ID generation and avatar color assignment. - Implement Zustand store for account management, supporting addition, removal, and state retrieval of accounts.
This commit is contained in:
@@ -34,6 +34,9 @@
|
||||
"dismiss": "Cerrar",
|
||||
"or": "o",
|
||||
"sign_in_sso": "Iniciar sesión con SSO",
|
||||
"add_account_title": "Agregar cuenta",
|
||||
"add_account_subtitle": "Iniciar sesión con otra cuenta",
|
||||
"cancel": "Cancelar",
|
||||
"website": "Sitio web",
|
||||
"imprint": "Aviso legal",
|
||||
"privacy_policy": "Política de privacidad",
|
||||
@@ -58,6 +61,11 @@
|
||||
"storage_free": "Libre",
|
||||
"storage_total": "Total",
|
||||
"sign_out": "Cerrar sesión",
|
||||
"sign_out_of": "Cerrar sesión de {account}",
|
||||
"sign_out_all": "Cerrar sesión de todas las cuentas",
|
||||
"add_account": "Agregar cuenta",
|
||||
"set_as_default": "Establecer como predeterminada",
|
||||
"switch_account": "Cambiar cuenta",
|
||||
"contacts": "Contactos",
|
||||
"calendar": "Calendario",
|
||||
"settings": "Configuración",
|
||||
|
||||
Reference in New Issue
Block a user