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

feat: finish out user settings page #57

Closed
golanglemonade opened this issue Nov 11, 2024 · 0 comments · Fixed by #142 or #146
Closed

feat: finish out user settings page #57

golanglemonade opened this issue Nov 11, 2024 · 0 comments · Fixed by #142 or #146
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@golanglemonade
Copy link
Member

golanglemonade commented Nov 11, 2024

The user-settings profile page currently only allows the update of first + last name. We need to finish this out:

  1. Avatar - this currently doesn't send the upload to the backend, this should be updated to actually store the image on the backend. The user resolver accepts a file upload as part of the input:
    mutation UpdateUser($updateUserId: ID!, $input: UpdateUserInput!, $avatarFile: Upload) {
      updateUser(id: $updateUserId, input: $input, avatarFile: $avatarFile) {
        user {
        ...
          }
        }
      }
    }
    
  2. Allow the update of the following fields as well:
  • email
  • displayName
  • defaultOrg
  1. Allow for account deletion - you should expect errors such as not being able to delete your account if you are the owner of an organization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants