Skip to content

User Stories

Noraa Stoke edited this page Feb 22, 2023 · 3 revisions

Features

User Stories

Users

Sign Up

  • As an unregistered and unauthorized user, I want to be able to sign up for the website via a sign-up form.
    • When I'm on the /signup page:
      • I would like to be able to enter my email, username, and preferred password on a clearly laid out form.
      • I would like the website to log me in upon successful completion of the sign-up form.
        • So that I can seamlessly access the site's functionality
    • 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.

Log in

  • 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 /login page:
      • I would like to be able to enter my email and password on a clearly laid out form.
      • I would like the website to log me in upon successful completion of the lob-up form.
        • So that I can seamlessly access the site's functionality
    • When I enter invalid data on the log-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.

Demo User

  • As an unregistered and unauthorized user, I would like an easy to find and clear button on both the /signup and /login pages to allow me to visit the site as a guest without signing up or logging in.
    • When I'm on either the /signup or /login pages:
      • 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.

Log Out

  • 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 FauxTweets.
        • So that I can easily log out to keep my information secure.

Notebooks

Create Notebooks

  • As a logged in user, I want to be able to create a new notebook.
    • When I'm on the /new-notebook page:
      • I can write and submit a new Notebook.
        • So that I can have a place to organize my ideas

Viewing Notebooks

  • As a logged in user, I want to be able to view my notebooks.

    • When I'm on the /notebooks page:
      • I can view all my notebooks
        • So that I can read my previous ideas.
  • As a logged in or logged out user, I want to be able to view a specific notebook and its associated notes

    • When I'm on the /notebooks/:id page:
      • I can view my notebook and its notes
        • So that I can view all my ideas.

Updating

  • As a logged in user, I want to be able to edit my Notebooks by clicking an Edit button associated with the notebook anywhere that Notebook appears.
    • When I'm on the /notebooks, /notebooks/:id, or /users/:id/notebooks pages:
      • I can click "Edit" to make permanent changes to Notebooks I have posted.
        • So that I can fix any errors I make in my Notebooks.

Deleting notebooks

  • As a logged in user, I want to be able to delete my Notebooks by clicking a Delete button associated with the Notebook anywhere that the Notebook appears.
    • When I'm on the /notebooks, /notebooks/:id, or /users/:id/notebooks pages:
      • I can click "Delete" to permanently delete a Notebook I have created
        • So that I can delete unneeded notebooks. Notes inside the notebook will be moved to a "default" notebook. The default notebook is the home for notes that havent been assigned a notebook yet. It will not be able to be deleted, however the individual notes inside may be deleted.

Notes

Notes

  • As a logged in user, I want to be able to create a new note.
    • When I'm on the /new-note page:
      • I can write and submit a new note.
        • So that I can record my ideas.

Viewing Notea

  • As a logged in user, I want to be able to view my notes.

    • When I'm on the /notes page:
      • I can view all my notes
        • So that I can read my previous ideas.
  • As a logged in or logged out user, I want to be able to view a specific notebook and its associated notes

    • When I'm on the /notes/:id page:
      • I can view my note
        • So that I can view my idea.

Updating

  • As a logged in user, I want to be able to edit my Notes by clicking an Edit button associated with the notebook anywhere that Note appears.
    • When I'm on the /notes, /notes/:id, or /users/:id/notes pages:
      • I can click "Edit" to make permanent changes to Notes I have posted.
        • So that I can fix any errors I make in my Notes.

Deleting notebooks

  • As a logged in user, I want to be able to delete my Notes by clicking a Delete button associated with the Note anywhere that Note appears.
    • When I'm on the /notes, /notes/:id, or /users/:id/notes pages:
      • I can click "Delete" to permanently delete a Note I have posted.