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

Add Flowdock and GitHub usernames #45

Merged
merged 9 commits into from
Sep 15, 2017
Merged

Add Flowdock and GitHub usernames #45

merged 9 commits into from
Sep 15, 2017

Conversation

jksmall0631
Copy link
Contributor

@jksmall0631 jksmall0631 commented Sep 15, 2017

This PR closes #25 and closes #35 and closes #44

What does this PR do?

-created inputs for usernames
-modified user update mutation
-display user info in inputs if available

How does this PR make you feel? 🔗

src/UserInfo.js Outdated

updateDB() {
const { githubName, flowdockName, description } = this.state;
const { id } = this.props.data.user;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optionally destructure on the right hand side...

 const { data: { user : { id } } = this.props;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but totally up to you :)

Copy link
Member

@dviramontes dviramontes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the comment/suggestion LGTM 👏
Thanks @jksmall0631 !

@@ -51,12 +53,18 @@ class LoginAuth0 extends Component {
const idToken = window.localStorage.getItem(
"cfd-members-auth0IdToken"
);
let nickname = "";
let { identities: [ { provider} ] } = profile;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing space, NBD though

@jksmall0631 jksmall0631 merged commit 9a421a7 into master Sep 15, 2017
@wdoug wdoug deleted the 25-usernames branch January 26, 2018 02:59
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.

feat: add github oauth integration feat: Add github username feat: add flowdock handle component
2 participants