GithubHelp home page GithubHelp logo

daily-baby-client's People

Contributors

krsteele avatar

Stargazers

 avatar

Watchers

 avatar

daily-baby-client's Issues

Edit Texting Preferences

As a Daily Baby user, I would like to be able to modify my texting preferences.

Given the user is viewing their profile page
When the user clicks the edit button under their texting preferences
Then they should be presented with a form and given the ability to change the texting preferences

Given the user is finished updating the texting preferences
When they click the save button
Then the updated information should be saved to the database
And the user should be redirected to their profile page displaying the updated texting preferences

Given the user has decided not to edit the texting preferences
*When they click the cancel button
Then the user should be redirected back to their profile page

Editable Information:

  • phone number
  • time at which they would like their reminders
  • days of the week on which they would like their reminders

Logout

As a user I would like to be able to logout of the system so that I can ensure that no one else who uses my computer will have access to my Daily Baby account.

Given an authenticated user is in the Daily Baby application
When they select the Logout option from the menu
Then they should be logged out of the system
And they should be directed to the login page

User Profile Pic Update Form

As a user, I should be able to click my profile picture and be given the option of updating my photo.

Given a user has registered with the Daily Baby app
When the user clicks on their profile image on any page
Then they should be given the option of updating their profile pic

Create Journal Entry

As a Daily Baby user, I should be able to create a journal entry while logged into my account.

Given the user is in the Daily Baby application
When they select the New Entry button
Then they should be directed to a journal entry form

Given the user has entered the relevant information for a journal entry
When they click the save button
Then the entry should be saved to the database
And the creation datetime should be automatically set to the current date and time
And the user should be recorded as the creator of the entry
And the user should be redirected to the relevant child's journal displaying the newly created entry

The form should contain fields for:

  • which child the entry is about
  • a checkbox for whether the entry is private
  • a way to upload an image
  • entry text

Edit a child's information

As a Daily Baby user, I would like to be able to modify my children's information.

Given the user is viewing their child's profile
And Given the user's UserBaby relationship is mother or father
When the user clicks the edit button
Then they should be presented with a form and given the ability to change the details for that child

Given the user is finished updating the child's information
When they click the save button
Then the updated information should be saved to the database
And the user should be redirected to their child's profile page

Given the user has decided not to edit the child's information
*When they click the cancel button
Then the user should be redirected back to their child's profile page

Editable Information:

  • first name
  • middle name
  • last name
  • nickname
  • birthdate
  • profile image
  • user's relationship to child

Edit a Journal Entry

As a Daily Baby user, I should be able to edit a journal entry that I created.

View User Profile

As a Daily Baby user, I would like to be able to view my profile information.

Given a user is authenticated into the Daily Baby app
When they select "my profile" in the nav bar
Then they should be directed to their User Profile detail page

User profile details include:

  • Personal Info:

    • user's profile photo
    • Full Name
    • Username
    • email
  • Related Children:

    • each child's profile pic
    • each child's name
  • Texting Preferences:

    • phone number where they would like to be contacted for reminders
    • time at which they would like to be contacted
    • days of week on which they would like to be contacted for reminders

Edit Personal Info on Profile Page

As a Daily Baby user, I would like to be able to modify my personal information.

Given the user is viewing their profile page
When the user clicks the edit button under their profile information
Then they should be presented with a form and given the ability to change the personal information

Given the user is finished updating the personal information
When they click the save button
Then the updated data should be saved to the database
And the user should be redirected to their profile page displaying the updated personal information

Given the user has decided not to edit the personal info
*When they click the cancel button
Then the user should be redirected back to their profile page

Editable Information:

  • First Name
  • Last Name
  • email address
  • username
  • password

Text Reminder Sent to User

Given a user makes any changes to their texting preferences
When a user clicks the affordance to save or update their texting preferences
Then a function should run to find any queued text message reminder events and update using the new preferences

Given there is a queued event for a user
When the event runs, the next event should be queued

The text reminder should remind the user to make a journal entry and give a link to the Daily Baby website

View Journal Entries

As a Daily Baby user, I would like to see the journal entries for each of my children.

Given the user is in the Daily Baby application
When they select the Journal menu option
Then they should be directed to the Journal
And each post in the list should display the photo, prompt, text, and author
And the journal should be in order of created_on date with the most recent on top

Given the user has more than one child
When they select the Journal menu option
Then they should be directed to a list of their children
And each child's name should link their the journal for that child

Add a Child

As a Daily Baby user, I would like to be able to add my baby's information.

Given the user is viewing their profile page
When the user clicks the add child button
Then they should be presented with a form and given the ability create a related baby

Given the user is finished adding the child's information
When they click the save button
Then the updated information should be saved to the database
And the user should be redirected to their profile page displaying the newly created child's information along with the rest of the user's profile information

Given the user has decided not to create the child
*When they click the cancel button
Then the user should be redirected back to their profile page

Form fields should include:

  • child's first name
  • child's middle name
  • child's last name
  • child's nickname
  • child's birthdate
  • child's profile image
  • user's relationship to child

View Child's Profile

As a Daily Baby user, I should be able to view my child's profile.

Given a user is viewing their user profile
When they click the hyperlinked name of one of their children
Then they should be directed to that child's profile page

Viewable information:

  • child's full name
  • child's nickname
  • child's birthdate
  • user-child relationship
  • child's profile image

Basic Authentication

As the Daily Baby product owner, I would like all users to be authenticated in order to perform any activity in the system so that the system will be able to record which user created baby, entry, etc... and restrict access to children and certain features based on user permissions.

Given an unauthenticated user is in the Daily Baby application
When they click any link
Then they should be prompted to login using their email address

Given an unauthenticated user is viewing the login form
When they enter an email address that matches an existing User Profile
Then they should be authenticated into the system
And they should be directed to their profile page.

Given an unauthenticated user is viewing the login form
When they enter an email address that does not match an existing User Profile
Then an error message should be displayed
And the user should be given another chance to enter a valid email address

Register

As a potential user I would like to be able to create an account in the system so that I may use its features.

Given a potential user wants to create an account in the system
When they select the Register option
Then they should be directed to a form where they are prompted to enter their User Profile information

Given a potential user has entered their User Profile information
when they click the Register button
Then a new User Profile should be created in the database
And the User Profile's creation datetime should be set to the current date and time
And the user should be directed to their profile page

The User Profile information is:

First name
Last name
Display name
Email
Password

Delete Journal Entry

As a Daily Baby user, I should be able to delete a journal entry that I created.

Delete Images from Cloudinary

Given a user updates or changes a profile or journal entry image
When the user clicks the save or update affordance
Then the existing image should be deleted from Cloudinary and the new one should be saved to Cloudinary

Child Profile Pic Update Form

Given a user has created a child's profile
And Given that user is the parent of that child and has permission to do so
When the user clicks the child's profile image on any page
Then the user should be given the option of updating that child's profile pic

User Exists Error Modal

Given a person is trying to register a new account
If the username or email address is already being used for an existing account
Then an error modal should be shown asking the user to choose a different username or email address

Journal Entry Text Conversation and Save Content

As a Daily Baby user, when I receive a text message reminder to make a journal entry, I should be able to engage with a text automation to choose from options.

Given a user has saved text preferences
When the user receives text message reminders to create a journal entry for their child on the day and time specified in their text preferences
Then the user should be given options to choose to submit a journal entry via text

Given a user has received a reminder and would like to create a journal entry
When the user texts their journal entry to the app
Then the entry should be saved in the database

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.