Closed hinxcode closed 3 weeks ago
🚀 Deployed on https://deploy-preview-172--pdc-ssphere.netlify.app
This is awesome @hinxcode! Thank you! Just some small changes, I think overall is great!
@lsetiawan Thank you for your time reviewing! I just updated the code and please let me know if there are any changes needed :)
This pull request introduces several new features and improvements to the
support_sphere
project, focusing on enhancing user management and profile handling. The most significant changes include adding new methods for updating user and household information, introducing a newProfileSection
component, and integrating these updates into the profile page.New Features and Enhancements:
User and Household Updates:
updateUserPhoneNumber
method toAuthenticationRepository
for updating user phone numbers. (src/support_sphere/lib/data/repositories/authentication.dart
)UserRepository
for updating user names and household details. (src/support_sphere/lib/data/repositories/user.dart
)UserService
for updating person and household details in the database. (src/support_sphere/lib/data/services/user_service.dart
)Profile Section Component:
ProfileSection
component to modularize profile sections with editable modals. (src/support_sphere/lib/presentation/components/profile_section.dart
)Integration into Profile Page:
_ProfileSection
with the newProfileSection
component in the profile body. (src/support_sphere/lib/presentation/pages/main_app/profile/profile_body.dart
) [1] [2]ProfileSection
modals. (src/support_sphere/lib/presentation/pages/main_app/profile/profile_body.dart
) [1] [2]Additional Changes:
src/support_sphere/lib/constants/string_catalog.dart
)AuthService
for user phone number updates. (src/support_sphere/lib/data/services/auth_service.dart
)These changes collectively improve the user experience by enabling easier updates to user profiles and household information, while also enhancing the modularity and maintainability of the codebase.
Related issue
Resolves #137
DEMO