ActoKids / AD440_W19_CloudPracticum

3 stars 1 forks source link

User logged in logic #93

Closed coultergeist closed 5 years ago

coultergeist commented 5 years ago

For this final sprint, create logic to determine if a user is signed in or not. Also, need to Hide/Show

Nav bar

1) Remove Sign with Log (ie: Log in, Log out) 2) Hide/Show Login functions: (see issue # 92 for User logged in logic)

Once assigned, annotate your estimated time. Then, keep regular updates on your issue. Comment your approach, tutorials, articles, updates, links, photos, etc. Comment often. When closing your issue include the following in your final comment.

Time estimated: Time spent: Pull Request link: Wiki link: Deployed Code link: Testers: What I tested:

See also the Demo Issue for more info. APIs include:

Once assigned, annotate your estimated time. Then, keep regular updates on your issue. Comment your approach, tutorials, articles, updates, links, photos, etc. Comment often. When closing your issue include the following in your final comment.

Time estimated: Time spent: Pull Request link: Wiki link: Deployed Code link: Testers: What I tested:

hkhual commented 5 years ago

Created Handle 404s page in React Js from https://serverless-stack.com/chapters/handle-404s.html tutorial. Estimated Time: 7 Hours Actual Time: TBD

hkhual commented 5 years ago

The actokids signin page logic is working. actokids-home-signin

Once the user logged in the navbar menu will changed into create event and sign up dashboard-page

If the user click sign up, it will go back to sign in page.

hkhual commented 5 years ago

Still need to figure out how to hide signout functions when the user logged in. The signup button still appear even the user is logged in. I will be looking at https://serverless-stack.com/chapters/add-the-session-to-the-state.html this tutorial

hkhual commented 5 years ago

Time estimated: 7 hours Time spent: 12 hours Pull Request link: https://github.com/ActoKids/web-ui/pull/46 https://github.com/ActoKids/web-ui/pull/53 https://github.com/ActoKids/web-ui/pull/61 Wiki link: https://github.com/ActoKids/web-ui/wiki/User-logged-in-logic Deployed Code link: http://actokids-logged-logic.s3-website-us-east-1.amazonaws.com

Who test this and what is the feedback? Erik and Yithong tested User logged in logic page. Erik gave me feedback on an issue with Sign out because Sign out is not working property. After much research, I was able to find solutions to the problem.

What did you test and what is the feedback?

I tested these pull requests https://github.com/ActoKids/web-ui/pull/44 Ran this PR and found no error. https://github.com/ActoKids/web-ui/pull/45 : moment.js library for date and time format https://github.com/ActoKids/web-ui/pull/49 Tested Search Function https://github.com/ActoKids/web-ui/pull/50/ tested filter function in this PR.

Bugs That I've worked on. https://github.com/ActoKids/AD440_W19_CloudPracticum/issues/120 @erikNeville