Open Nikababy01 opened 4 years ago
As a user, when I am unauthenticated I should be able to see the dashboard (Read only).boards.
WHEN the page loads I should see all boards THEN click a button to see all boards AND can click a login button to edit the boards
This is an ADD-ON task from ticket item #14 the function checkLoginStatus will need to be continously modified to allow read-only view:
const authDiv = $('#auth'); const logoutButton = $('#navbar-logout-button'); const checkLoginStatus =() => { firebase.auth().onAuthStateChanged((user) => { if (user) { // person is logged in authDiv.addClass('hide'); logoutButton.removeClass('hide') } else { //person is Not logged in authDiv.removeClass('hide'); logoutButton.addClass('hide'); } }); };
export default { checkLoginStatus } ;
EX. #2
USER STORY
As a user, when I am unauthenticated I should be able to see the dashboard (Read only).boards.
AC
WHEN the page loads I should see all boards THEN click a button to see all boards AND can click a login button to edit the boards
WIREFRAMES
DEV NOTES
export default { checkLoginStatus } ;
RELATED TICKETS
EX. #2