Replace location sharing with profile visibility
Replace the previous location-sharing privacy model with a profile-visibility feature. Renamed localization keys (en/es) and updated UI widget text. Added repository methods to get/update profile visibility using Data Connect, wired new GraphQL query (getStaffProfileVisibility) and mutation (UpdateStaffProfileVisibility), and added corresponding use cases (GetProfileVisibilityUseCase, UpdateProfileVisibilityUseCase). Updated BLoC, events, and state to use boolean isProfileVisible instead of PrivacySettingsEntity and removed old location-sharing usecases/entities. Also updated module DI and public exports accordingly; asset loading for legal docs kept with minor error logging.
This commit is contained in:
@@ -1129,9 +1129,9 @@
|
||||
"title": "Privacy & Security",
|
||||
"privacy_section": "Privacy",
|
||||
"legal_section": "Legal",
|
||||
"location_sharing": {
|
||||
"title": "Location Sharing",
|
||||
"subtitle": "Share location during shifts"
|
||||
"profile_visibility": {
|
||||
"title": "Profile Visibility",
|
||||
"subtitle": "Show your profile to other users"
|
||||
},
|
||||
"terms_of_service": {
|
||||
"title": "Terms of Service"
|
||||
|
||||
@@ -1129,9 +1129,9 @@
|
||||
"title": "Privacidad y Seguridad",
|
||||
"privacy_section": "Privacidad",
|
||||
"legal_section": "Legal",
|
||||
"location_sharing": {
|
||||
"title": "Compartir Ubicación",
|
||||
"subtitle": "Compartir ubicación durante turnos"
|
||||
"profile_visibility": {
|
||||
"title": "Visibilidad del Perfil",
|
||||
"subtitle": "Mostrar tu perfil a otros usuarios"
|
||||
},
|
||||
"terms_of_service": {
|
||||
"title": "Términos de Servicio"
|
||||
|
||||
Reference in New Issue
Block a user