Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native - Add Settings Stack #347

Merged
merged 30 commits into from
Aug 30, 2024
Merged

React Native - Add Settings Stack #347

merged 30 commits into from
Aug 30, 2024

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    62d1868 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4220c07 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2b732d1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    41404f0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    166e0ed View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c75605b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7c1e91e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ac95488 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8882e57 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8d653d4 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    de537a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3d4142 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0403034 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a2a40e7 View commit details
    Browse the repository at this point in the history
  5. feat: Update user API to support partial updates

    This commit updates the user API to support partial updates. It adds a new custom service call `patchUser` that allows updating specific fields of a user object instead of sending the entire object. The `partialUserShape` is introduced to define the shape of the partial user object.
    
    Code changes:
    - Added `partialUserShape` to `user/models.ts`
    - Added `patchUser` custom service call to `userApi` in `user/api.ts`
    noriega2112 committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    4146161 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    09a5bc8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    933b8e2 View commit details
    Browse the repository at this point in the history
  8. feat: Add fullName field to userShape

    This commit adds the fullName field to the userShape in the models.ts file. This field is required to store the full name of the user.
    
    Code changes:
    - Added fullName field to userShape in models.ts
    noriega2112 committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    eb9f51d View commit details
    Browse the repository at this point in the history
  9. feat: Update Terms of Service and Privacy Policy links

    This commit updates the links for the Terms of Service and Privacy Policy in the main settings screen. The new links point to the correct URLs provided by the client.
    
    Code changes:
    - Updated link for Terms of Service in main-settings.tsx
    - Updated link for Privacy Policy in main-settings.tsx
    noriega2112 committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c0ca3dc View commit details
    Browse the repository at this point in the history
  10. feat: Update StatusBar style in App.tsx

    This commit updates the StatusBar style in the App.tsx file to use the "dark" theme. This change ensures that the status bar text is displayed in dark color, providing better visibility for the user.
    
    Code changes:
    - Updated StatusBar style to "dark" in App.tsx
    noriega2112 committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    49cc454 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7a9b1ed View commit details
    Browse the repository at this point in the history
  12. feat: Improve save button behavior in EditProfile screen

    This commit updates the save button behavior in the EditProfile screen. The button is now disabled when there are unsaved changes and the form is invalid. This ensures that users cannot save invalid data.
    
    Code changes:
    - Updated save button behavior in EditProfile screen
    noriega2112 committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    5a2d197 View commit details
    Browse the repository at this point in the history
  13. feat: Add DestroyModelMixin to UserViewSet

    This commit adds the `DestroyModelMixin` to the `UserViewSet` in the `views.py` file. This mixin allows for the deletion of user objects in the API.
    
    Code changes:
    - Added `DestroyModelMixin` to `UserViewSet` in `views.py`
    noriega2112 committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e1db08b View commit details
    Browse the repository at this point in the history
  14. feat: Update dashboard screen layout and add settings button

    This commit updates the layout of the dashboard screen in the `dashboard.tsx` file. It adds a settings button to the top right corner of the screen, allowing users to navigate to the settings page. The button is implemented using the `BounceableWind` component and the `Ionicons` icon library.
    
    Code changes:
    - Updated layout of the dashboard screen
    - Added settings button to the top right corner
    noriega2112 committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    fd08597 View commit details
    Browse the repository at this point in the history
  15. feat: Add warning alert for account deletion in EditProfile screen

    This commit adds a warning alert in the EditProfile screen to inform users about the permanent nature of account deletion. The alert provides a cancel option and a delete option, allowing users to make an informed decision. The alert is triggered when the user taps on the delete button.
    
    Code changes:
    - Added warning alert for account deletion in EditProfile screen
    noriega2112 committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    5b1a4f8 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    89d2580 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8355dbe View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. feat: Remove unused patchUser service call in user API

    The patchUser service call in the user API is no longer used and can be safely removed. This commit removes the patchUser service call from the user API file.
    
    Code changes:
    - Removed patchUser service call in user API
    noriega2112 committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    65974df View commit details
    Browse the repository at this point in the history
  2. feat: Add useAuth hook to EditProfile screen

    This commit adds the useAuth hook to the EditProfile screen in order to retrieve the userId. The userId is used to retrieve the user's full name and display it in the EditProfile screen. This improves the user experience by pre-filling the full name input field with the user's current full name.
    
    Code changes:
    - Added useAuth hook to retrieve userId
    - Pre-filled full name input field with user's current full name
    noriega2112 committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    411bfd6 View commit details
    Browse the repository at this point in the history
  3. feat: Update user hooks import in user service

    This commit updates the import statements for user hooks in the user service file. The import paths have been changed to reflect the new file structure. This ensures that the user hooks are correctly imported and used in the user service.
    
    Code changes:
    - Updated import paths for user hooks in user service
    noriega2112 committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    4724cc8 View commit details
    Browse the repository at this point in the history