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

FP Chatbot on Telegram- Signout flow #9

Closed
anjanarao24 opened this issue Jul 23, 2020 · 1 comment
Closed

FP Chatbot on Telegram- Signout flow #9

anjanarao24 opened this issue Jul 23, 2020 · 1 comment
Labels
ready for engineering story is ready to play after PM review

Comments

@anjanarao24
Copy link
Collaborator

anjanarao24 commented Jul 23, 2020

User story: As a chatbot user, I want to be able to signout of my FP account at any time so that I can feel secure that no one else can access my account and I want to be able to confirm I'm signing out so I don't sign out by accident.

Use case 1: User invokes /Sign out command from Telegram menu or clicks on the "Sign Out" button. When they get the message "Are you sure you want to sign out?", user confirms "Yes".

Then user gets confirmation: "You have successfully signed out of FightPandemics!" with the Main Menu buttons:
[ offer help] [ request help]
etc.
Here is issue to pull in Main Menu:
#3

Wireframe:
https://miro.com/app/board/o9J_kp0wo_Y=/?moveToWidget=3074457349347689489&cot=12

Use case 2: User invokes /Sign out command and chooses to stay logged in.

After entering message "/Sign out" in the command line,
User gets get the message "Are you sure you want to sign out?" with options [Yes] or [No, keep me logged in]
User selects "No, keep me logged in"
User gets confirmation "You are still logged in to FightPandemics! What would you like to do next?" with the Main Menu buttons:
[offer help] [request help]
etc.
Here is issue to pull in Main Menu:
#3

Wireframe:
https://miro.com/app/board/o9J_kp0wo_Y=/?moveToWidget=3074457349347732961&cot=12

Acceptance Criteria:
A. Given User enters "/Sign out" from command line,
When they see the request for confirmation "Are you sure you want to sign out?" and choose "Yes",
Then they will be signed out from FP and they will get the command:
"You have successfully signed out of FightPandemics!
What would you like to do next?"
with the Main Menu buttons displayed.

B. Given User enters "/Sign out" from command line,
When they see the request for confirmation "Are you sure you want to sign out?" and choose "No, keep me logged in",
Then they will not be signed out from FP and they will get the command:
"You are still logged in to FightPandemics!
What would you like to do next?"
with the Main Menu buttons displayed.

C. Given User successfully signs out
When user re-engages with FP bot
Then user will be prompted to login whenever they try to create post, comment, view author profile, view my profile as if they were a new user.

@emtay emtay added ready for engineering story is ready to play after PM review and removed todo 🗒️ labels Aug 14, 2020
@kumudchauhan
Copy link
Member

Signout flow is implemented using Signout button-through main menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for engineering story is ready to play after PM review
Projects
None yet
Development

No branches or pull requests

3 participants