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

Feature/194 #219

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Open

Feature/194 #219

wants to merge 11 commits into from

Conversation

MichaelXian
Copy link
Collaborator

@MichaelXian MichaelXian commented Mar 23, 2019

🔨 Changes

Connected signup/login forms to the backend. I have changed the name for the Username/email part of the login form to just email, since the backend doesn't support logging in using username.

:squirrel: Testing instructions

📄 Relevant screenshots or documentation links

📋 Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@cowmanjoe
Copy link
Collaborator

Cool! Looks like it is hooked up correctly. I'm not sure what the definition of done here is since we don't have the other user-specific pages up. Is it OK, that there isn't any indicators of signing in? Maybe a GET/user to get your username and display it somewhere in the nav bar? I haven't done too much on the front end so I'd like someone else to approve/advise on this.

Copy link
Collaborator

@frostyshadows frostyshadows left a comment

Choose a reason for hiding this comment

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

Tested it out and looks like all the calls are working :) left a few comments

@@ -0,0 +1,12 @@
const store = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

looks like this file appeared because of a Git issue, it should be safe to delete

responseHTML = 'Account successfully created';
} else {
responseHTML = <font color='#ff0000'> {response} </font>;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I saw that you set color='blue' on a button in another part of the code, is it possible to do color='red' here?

}
var encodedKey = encodeURIComponent(property);
var encodedValue = encodeURIComponent(details[property]);
formBody.push(encodedKey + '=' + encodedValue);
Copy link
Collaborator

Choose a reason for hiding this comment

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

could use a string template here

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.

3 participants