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": "Fechar",
|
||||
"or": "ou",
|
||||
"sign_in_sso": "Entrar com SSO",
|
||||
"add_account_title": "Adicionar conta",
|
||||
"add_account_subtitle": "Entrar com outra conta",
|
||||
"cancel": "Cancelar",
|
||||
"website": "Site",
|
||||
"imprint": "Informações legais",
|
||||
"privacy_policy": "Política de privacidade",
|
||||
@@ -58,6 +61,11 @@
|
||||
"storage_free": "Livre",
|
||||
"storage_total": "Total",
|
||||
"sign_out": "Sair",
|
||||
"sign_out_of": "Sair de {account}",
|
||||
"sign_out_all": "Sair de todas as contas",
|
||||
"add_account": "Adicionar conta",
|
||||
"set_as_default": "Definir como padrão",
|
||||
"switch_account": "Trocar conta",
|
||||
"contacts": "Contatos",
|
||||
"calendar": "Calendário",
|
||||
"settings": "Configurações",
|
||||
|
||||
Reference in New Issue
Block a user