You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Story: As a FightPandemics chatbot user, if I am not logged in/signed up and if I am trying to View My Posts, View My Profile, Comment and See Comments, then I should be asked to Login/Signup along with an option to Skip.
As a user, once I login or sign up, I want to continue with what I had been doing before needing to login so that I can complete what I was trying to do (and don't get confused).
Use Case 1: User taps on Login/Signup button.
When I tap on the login/signup button,
Then, I should be asked to enter my email address,
When I enter my email address,
Then the bot should ask for my password,
When I enter the password and if the password and email address are correct,
Then I should be logged in.
OR
When I enter the password and if the password and email does not match,
Then I should see the following message : "Sorry your password or username was incorrect. Please try to login again." along with 3 buttons "Login" "Go back to Main Menu" "Skip"
During login process, there needs to be a way to track what the user was doing before the login/authentication process so that they can go back to what they were trying to do.
Example:
If they were trying to create a post, they would then go to the create post flow after logging in.
If they were trying to comment, they will get a prompt to add their comment and associate it to the original message they were trying to comment to after they are logged in.
If they were trying to view a profile, they will the go to the profile they were trying to view.
Areas needing login:
Create Post
Comment
View Author Profile
View My Profile
View my posts
Like (TBD if this is on chatbot)
Use Case 2: User taps on Skip button.
When I tap on the skip button,
Then I should see the following message "Without Login/Signup you wont be able to comment, create a post or connect." as well as the following buttons:
"Login/Signup" (they will reloop through the login process)
"Skip and go back" > this will take user back to the page that they were viewing when they were prompted to login
(they will not be able to go to the next step in the flow as if they were logged in)
User Story: As a FightPandemics chatbot user, if I am not logged in/signed up and if I am trying to View My Posts, View My Profile, Comment and See Comments, then I should be asked to Login/Signup along with an option to Skip.
As a user, once I login or sign up, I want to continue with what I had been doing before needing to login so that I can complete what I was trying to do (and don't get confused).
Use Case 1: User taps on Login/Signup button.
When I tap on the login/signup button,
Then, I should be asked to enter my email address,
When I enter my email address,
Then the bot should ask for my password,
When I enter the password and if the password and email address are correct,
Then I should be logged in.
OR
When I enter the password and if the password and email does not match,
Then I should see the following message : "Sorry your password or username was incorrect. Please try to login again." along with 3 buttons "Login" "Go back to Main Menu" "Skip"
During login process, there needs to be a way to track what the user was doing before the login/authentication process so that they can go back to what they were trying to do.
Example:
Areas needing login:
Use Case 2: User taps on Skip button.
When I tap on the skip button,
Then I should see the following message "Without Login/Signup you wont be able to comment, create a post or connect." as well as the following buttons:
(they will not be able to go to the next step in the flow as if they were logged in)
Wireframe: Miro board
Notion Documentation: https://www.notion.so/fightpandemics/Chatbots-Task-Board-bfe76e786f78437cba348739899cf7da?p=630e6043b7864146b87ce8857608e352
API Integration
Login: POST /api/auth/login
Signup: POST /api/auth/signup
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: