Repository navigation
User Stories
Jacob Nicotra edited this page Jan 19, 2022
·
3 revisions
- As an unregistered and unauthorized user, I want to be able to sign up through a page form.
- When I'm on the
/signuppage:- I would like to be able to enter an email, username, city, and password on a clearly organized form.
- I would like the website to log me in after completing the sign-up form in order to immediately access the site's functionality.
- When I enter invalid data on the sign-up form:
- I would like the website to display a list of the validations I failed to meet, and then repopulate the form with the valid entries (excluding password) so that I may retry without needing to refill forms I entered valid data into.
- As a registered and authorized user, I want to be able to log in to the website via a log-in form.
- When I'm on the
/page:- I would like to be able to enter my email and password on a clearly organized form.
- I would like the website to log me in after completing the sign-in form in order to immediately access the site's functionality.
- When I enter invalid data on the log-up form:
- I would like the website to notify me of this with an error message.
- As an unregistered and unauthorized user, I would like an easily accessible and clear button on both the
/signupand/pages to allow me to visit the site as a guest without signing up or logging in. - When I'm on the
/signupor/pages:- I can click on a Guest User button to log me in and allow me access as a logged in user.
- I'll be able to test the site's features and functionality without needing to stop and enter credentials.
- I can click on a Guest User button to log me in and allow me access as a logged in user.
- As a logged in user, I want to easily log out with a LogOut button on the navigation bar
- While on any page of the site:
- I can log out of my account and be redirected to the login page.
- So that I can easily log out to keep my information secure.
- As a logged in user, I want to be able to view a selection puzzles that other users own:
- I can filter by city. See Puzzles in my city.
- So that I initiate a puzzle swap request if I like a puzzle that I see
- I can filter by city. See Puzzles in my city.
- As a logged in user, I want to be able to create new puzzles. I can do so by clicking the “+” for registering a puzzle that I own:
- I can choose a name for puzzle and more than one image - choosing one image as the thumbnail.
- I can specify the piece-count of the puzzle, as well as a description.
- I am redirected to my puzzle's page,
puzzles/:puzzleId/, which contains the details about it- so that I can verify that my puzzle was displayed the way I want it to be
- I am redirected to my puzzle's page,
- As a logged in owner of a puzzle, I can edit the puzzle name, description, images, and piece-count.
- When I'm on
/puzzles/:puzzleIdpage...- I can chose to edit the puzzle details
- So that I can clarify or change any part of my puzzle details.
- I can chose to edit the puzzle details
- When I'm on
- As a logged in owner of the puzzle, I can delete the puzzle.
- When I am on
/puzzles/:puzzleIdpage...- I can chose to click a delete button …
- Which well then pop up a confirm model...
- So I may remove the puzzle from existence.
- Which well then pop up a confirm model...
- I can chose to click a delete button …
- When I am on
- As a logged in and authorized user, I can view swap requests that have been made to me as well as ones which I have initiated.
- When I am on a SwapRequest's page, I can view the details about it, as well as wether it was accepted or not.
- I can accept a swap request made to me, or change the details and send back to the other user for confirmation.
- So that another user and I can swap two puzzles. To do so, I have to confirm the time, location, and the puzzle I wish to give.
- As a logged in and authorized user, I can create Swap Requests to another user. * When I click the new sap request button, I can name and create a new swap request. * So that I trade puzzles.
- As a logged in and authorized user, I can update the details of a swap request which I have made.
- When I click the edit button of a specific swap request:
- I can change the name time, location, puzzle to give and get, and/or message. * So I can ensure that I swap what I want.
- When I click the edit button of a specific swap request:
- As a logged in and authorized user, I can revoke a request which I have initiated.
- When I click the revoke button of a request, it prompts for confirmation.
- Clicking confirmation removes the request for myself and the user on the other end.
- So that I can cancel the puzzle exchange.
- As a logged in User, I want to be able to post a review on a puzzle which I own.
- When I'm on the
/puzzles/:puzzleIdpage- I can write and submit a new review, specifying a difficulty rating, and leaving an optional description
- So that I can share my experience with that puzzle with other puzzlers
- I can write and submit a new review, specifying a difficulty rating, and leaving an optional description
- When I'm on the
- As a logged in User, I want to be able to view any review of a puzzle
- When I'm on the
/puzzle/:puzzleId/page- I can view all the past reviews as well as see the difficulty rating next to the puzzle title
- So that I can decide if I want that puzzle
- I can view all the past reviews as well as see the difficulty rating next to the puzzle title
- When I'm on the
- As a logged in User, I want to be able to delete a review I posted
- When I am on the
/puzzles/:puzzleId/page, I can go to my review and delete it- So that I retract my review of the puzzle. The difficulty rating will also be updated properly
- When I am on the
- As a logged in user, I want to be able to see the previous owners of a puzzle.
- When I'm on the
/puzzles/:puzzleIdpage:- I can see all the previous owners of a puzzle
- When I'm on the
- As a logged in User, when I create a puzzle, or swap for it, I am automatically added to the previous owners list for that puzzle
- So other users can see that I once owned this puzzle