krsteele / daily-baby-client Goto Github PK
View Code? Open in Web Editor NEWFull Stack Capstone Project
Full Stack Capstone Project
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:
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
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
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:
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:
As a Daily Baby user, I should be able to edit a journal entry that I created.
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:
Related Children:
Texting Preferences:
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:
Add Cloudinary upload widget wherever the file input is currently being used.
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
The relationship dropdown on the baby form needs to be updated to use more inclusive, non-binary language.
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
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:
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:
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
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
The initial default profile image is too large and needs to be brought to uniform size with all other profile pics
As a Daily Baby user, I should be able to delete a journal entry that I created.
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
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
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.