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": "Chiudi",
|
||||
"or": "o",
|
||||
"sign_in_sso": "Accedi con SSO",
|
||||
"add_account_title": "Aggiungi account",
|
||||
"add_account_subtitle": "Accedi con un altro account",
|
||||
"cancel": "Annulla",
|
||||
"website": "Sito web",
|
||||
"imprint": "Note legali",
|
||||
"privacy_policy": "Informativa sulla privacy",
|
||||
@@ -58,6 +61,11 @@
|
||||
"storage_free": "Libero",
|
||||
"storage_total": "Totale",
|
||||
"sign_out": "Esci",
|
||||
"sign_out_of": "Disconnetti da {account}",
|
||||
"sign_out_all": "Disconnetti da tutti gli account",
|
||||
"add_account": "Aggiungi account",
|
||||
"set_as_default": "Imposta come predefinito",
|
||||
"switch_account": "Cambia account",
|
||||
"contacts": "Contatti",
|
||||
"calendar": "Calendario",
|
||||
"settings": "Impostazioni",
|
||||
|
||||
Reference in New Issue
Block a user