theopenlane / openlane-ui

the openlane ui - holds openlane console and storybook
Apache License 2.0
3 stars 2 forks source link

feat: finish out user settings page #57

Open golanglemonade opened 3 weeks ago

golanglemonade commented 3 weeks ago

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