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

Implement basic login for Venia (Issue #249) #281

Closed
wants to merge 23 commits into from
Closed

Implement basic login for Venia (Issue #249) #281

wants to merge 23 commits into from

Conversation

JStein92
Copy link
Contributor

This PR is a:

[x ] New feature
[ ] Enhancement/Optimization
[ ] Refactor
[ ] Bugfix
[ ] Test for existing code
[ ] Documentation

Summary

When this pull request is merged, it will allow basic login using existing user accounts via REST API.

Addresses #249

login_real

Additional information

  • signin_token is retrieved from Magento REST API and is stored it local storage. If signin_token is present in local storage, it is added to all GraphQL and REST requests headers.

  • Adds a generic Input component, which lets developers customize error, success, and hint messages and the conditional which will display each one. This allows real time form validation, like ensuring a password is x characters, etc.

  • Adds Account drawer which is built into navigation.

  • Adds new actions and reducers for user functionality, (ex. SIGN_IN and SIGN_IN_ERROR)

  • Adds storybook-dist to eslint ignore

@zetlen zetlen changed the base branch from master to release/1.0 September 25, 2018 20:42
Copy link
Contributor

@zetlen zetlen left a comment

Choose a reason for hiding this comment

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

If I'm not mistaken, this is a subset of the changes in #250. If so, then can you please merge any updates you make to #250 into this? Once they're both ready to go, I'll merge them separately so that the history reflects each individual feature.

@zetlen zetlen changed the base branch from release/1.0 to release/2.0 September 26, 2018 21:05
@zetlen zetlen added the enhancement New feature or request label Sep 27, 2018
@zetlen
Copy link
Contributor

zetlen commented Oct 3, 2018

Hey @JStein92, what's the status of this issue now that #250 is merged?

@pcvonz
Copy link
Contributor

pcvonz commented Oct 18, 2018

@zetlen Looks like #293 included all commits from this pull request. This one can be closed.

@zetlen zetlen closed this Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants