nss-lean-anteaters / nutshell

2 stars 0 forks source link

hide login register buttons when you're on the login register forms #34

Closed Deanna2000 closed 6 years ago

Deanna2000 commented 6 years ago

Description of Proposed Changes

Steps to Test

Outline the steps to test

git fetch --all
git checkout dv-register-login-view
code .
  1. check grunt on src
  2. open hs-o on dist
  3. click on "login" button
  4. The body of the DOM should be cleared and the login and registers buttons should also be hidden
  5. A form should be added for Username and email and "login" button
  6. Add information for username and email and click "comp reg" button - should see console log of those values
  7. Add info for username and put nothing in email field and click "login" button - should see console log of email and an alert telling you to fill in both fields (you can try with the email field blank as well)
  8. Try this for the register button as well.
  9. David is working on the redirect for the logged in state so we are not moving away from this form right now.

Impacted Areas in Application

List general components of the application that this PR will affect:

Mentions @username

Tag users that need to review this code

Definition of Done

  1. The project must be fully documented. This includes the following:
    1. Complete README that documents the steps to install the code, how to install any dependencies, or system configuration needed.
    2. Every class must be documented with purpose, author, and methods.
    3. Every method must be documented with purpose and argument list - which itself must contain a short purpose for each argument.
  2. The project must be able to run fully, and without errors, on each teammate's system.
  3. Fulfills every requirement. Every line of code has been peer reviewed.
  4. For projects that require unit testing, core functionality must be identified and have at least one test for each.
jcarter0149 commented 6 years ago

Send it

hayleylandsberg commented 6 years ago

🙋