-
Notifications
You must be signed in to change notification settings - Fork 0
User Stories
Luke-Yamasaki edited this page Jan 14, 2022
·
10 revisions
- As a new user, I want to be able to sign up for the website via a sign-up form.
- When I'm on the
/signuppage:- I would like to be able to enter my email, username, and preferred password on a clearly laid out form.
- After signing up, I want to be redirected to a newsfeed.
- When I enter invalid data on the sign-up form:
- I would like the website to inform me of the validations I failed to pass, and repopulate the form with my valid entries (except my password).
- So that I can try again without needing to refill forms I entered valid data into.
- When I'm on the
- As a registered and unauthorized user, I want to be able to log in to the website via a log-in form.
- When I'm on the
/loginpage:- I would like to be able to enter my email and password on a clearly laid out form.
- After logging in, I want to be redirected to my newsfeed.
- When I enter invalid data on the log-in form:
- I would like the website to inform me of the validations I failed to pass, and repopulate the form with my valid entries (except my password).
- So that I can try again without needing to refill forms I entered valid data into.
- I would like the website to inform me of the validations I failed to pass, and repopulate the form with my valid entries (except my password).
- When I'm on the
- As an unregistered and unauthorized user, I would like an easy to find and clear button on both the
/signupand/loginpages to allow me to visit the site as a guest without signing up or logging in.- When I'm on either the
/signupor/loginpages:- I can click on a Demo User button to log me in and allow me access as a normal user.
- So that I can test the site's features and functionality without needing to stop and enter credentials.
- I can click on a Demo User button to log me in and allow me access as a normal user.
- When I'm on either the
- As a logged in user, I want to log out via an easy to find log out button on the navigation bar.
- While on any page of the site:
- I can log out of my account and be redirected to a page displaying recent CookNook questions.
- While on any page of the site:
- As a logged in user, I want to be able to post new questions.
- When I click the add question button in the nav bar:
- I can write and submit a new question.
- So that I post questions to the CookNook community.
- When I'm on the
/questionspage:- I can write and submit a new question at the top of the feed like Twitter.
- So that I post questions to the CookNook community.
- I can write and submit a new question at the top of the feed like Twitter.
- I can write and submit a new question.
- When I click the add question button in the nav bar:
-
As a logged in or logged out user, I want to be able to view a selection of the most recent questions.
- When I'm on the
/questionspage:- I can view the ten most recently posted questions.
- So that I can see what my peers are asking.
- I can view the ten most recently posted questions.
- When I'm on the
-
As a logged in or logged out user, I want to be able to view a specific question and its associated answers and comments.
- When I'm on the
/questions/:idpage:- I can view the content of the question, as well as the associated answers and comments.
- So that I can read answers and comments
- I can view the content of the question, as well as the associated answers and comments.
- When I'm on the
- As a logged in user, I want to be able to edit my questions by clicking an Edit button associated with the question anywhere that my question appears.
- When I'm on the
/questions,/questions/:id, or/users/:id/questionspages:- I can click "Edit" to make permanent changes to questions I have posted.
- So that I can fix any errors I make in my questions.
- I can click "Edit" to make permanent changes to questions I have posted.
- When I'm on the
- As a logged in user, I want to be able to delete my questions by clicking a Delete button associated with the question anywhere that my question appears.
- When I'm on the
/questions,/questions/:id, or/users/:id/questionspages:- I can click "Delete" to permanently delete a question I have posted.
- So that when I realize I shouldn't have publicly said something, I can easily remove it.
- I can click "Delete" to permanently delete a question I have posted.
- When I'm on the
- As a logged in user, I want to be able to comment on answers.
- When I'm on the homepage, I want to click the title of the question in my feed so that I am redirected to the /questions/:id page
- When I'm on the
/questionsor/questions/:idpage:- I can write and submit a new answer.
- When I'm on the
- When I'm on the homepage, I want to click the title of the question in my feed so that I am redirected to the /questions/:id page
-
As a logged in or logged out user, I want to be able to view a selection of the most recent answers.
- When I'm on the
/questionspage:- I can view the ten most recently posted questions.
- So that I can see what my peers are asking.
- I can view the ten most recently posted questions.
- When I'm on the
-
As a logged in or logged out user, I want to be able to view a specific question and its associated answers and comments.
- When I'm on the
/questions/:idpage:- I can view the content of the question, as well as the associated answers and comments.
- So that I can read answers and comments
- I can view the content of the question, as well as the associated answers and comments.
- When I'm on the
- As a logged in user, I want to be able to edit my answers by clicking an Edit button associated with the answer anywhere that my answer appears.
- When I'm on the
/questions,/questions/:id, or/users/:id/questionspages:- I can click "Edit" to make permanent changes to questions I have posted.
- So that I can fix any errors I make in my questions.
- I can click "Edit" to make permanent changes to questions I have posted.
- When I'm on the
- As a logged in user, I want to be able to delete my answers by clicking a Delete button associated with the answer anywhere that my answer appears.
- When I'm on the
/questions,/questions/:id, or/users/:id/questionspages:- I can click "Delete" to permanently delete an answer I have posted.
- So that when I realize I shouldn't have publicly said something, I can easily remove it.
- I can click "Delete" to permanently delete an answer I have posted.
- When I'm on the
- As a logged in user, I want to be able to answer questions.
- When I'm on the homepage, I want to click the title of the question in my feed so that I am redirected to the /questions/:id page
- When I'm on the
/questionsor/questions/:idpage:- I can write and submit a new answer.
- When I'm on the
- When I'm on the homepage, I want to click the title of the question in my feed so that I am redirected to the /questions/:id page
-
As a logged in or logged out user, I want to be able to view a selection of the most recent answers.
- When I'm on the
/questionspage:- I can view the ten most recently posted questions.
- So that I can see what my peers are asking.
- I can view the ten most recently posted questions.
- When I'm on the
-
As a logged in or logged out user, I want to be able to view a specific question and its associated answers and comments.
- When I'm on the
/questions/:idpage:- I can view the content of the question, as well as the associated answers and comments.
- So that I can read answers and comments
- I can view the content of the question, as well as the associated answers and comments.
- When I'm on the
- As a logged in user, I want to be able to edit my answers by clicking an Edit button associated with the answer anywhere that my answer appears.
- When I'm on the
/questions,/questions/:id, or/users/:id/questionspages:- I can click "Edit" to make permanent changes to questions I have posted.
- So that I can fix any errors I make in my questions.
- I can click "Edit" to make permanent changes to questions I have posted.
- When I'm on the
- As a logged in user, I want to be able to delete my answers by clicking a Delete button associated with the answer anywhere that my answer appears.
- When I'm on the
/questions,/questions/:id, or/users/:id/questionspages:- I can click "Delete" to permanently delete an answer I have posted.
- So that when I realize I shouldn't have publicly said something, I can easily remove it.
- I can click "Delete" to permanently delete an answer I have posted.
- When I'm on the