Skip to content

Add Skeletal User Page#254

Merged
peacheym merged 19 commits intomasterfrom
add-user-page
Apr 2, 2020
Merged

Add Skeletal User Page#254
peacheym merged 19 commits intomasterfrom
add-user-page

Conversation

@peacheym
Copy link
Copy Markdown
Contributor

@peacheym peacheym commented Apr 2, 2020

Additions

This PR add the skeleton functionality & tests for the UserPage component.

  • Enforces that a user must sign-in to view their User Profile directly.
  • Updates signIn & signOut functions to include a userName field in the apollo client cache.
  • Uses Formik for form validation and submission
  • Uses the existing PasswordConfirmation component for changing password.
  • Updates domain and tfa queries.

Todo

Next PR will include functionality that will link the 'UserList' component to the 'UserPage' component.

peacheym added 17 commits March 25, 2020 11:28
Begin populating component
Add 'Account Detail' section info.
Add Sign-out button and apolloClient.
Add toast for signout.
Remove signout button from APP.js nav bar.
Add enable TFA button and link to correct page.
Improve draft layout.
Begin populating component
Add 'Account Detail' section info.
Add Sign-out button and apolloClient.
Add toast for signout.
Remove signout button from APP.js nav bar.
Add enable TFA button and link to correct page.
Improve draft layout.
TODO: fix schema.faker.graphql.
Add export default of empty string to frontend/src/graphql/mutations.
Force user to be signed in to access userpage -- remove direct link from app.js nav.
Update signIn and signOut functions to add the userName field to apollo client.
@peacheym peacheym merged commit 61f760d into master Apr 2, 2020
@peacheym peacheym deleted the add-user-page branch April 2, 2020 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant