Skip to content

lucyyang01/pet-care-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keep Paws Posted

Welcome to Keep Paws Posted!

From medical information, dietary needs, exercise needs, and socialization, there is a lot for a pet parent to keep track of. Keep Paws Posted is the solution: a centralized platform to keep all of a pet's crucial information safe and organized.

Here are some of the things you can do:

  • make profiles for each of your pets
  • store sentimental information
  • keep track of pets’ health and diet/nutrition
  • receive suggestions in case of dips in nutrition/health

Try it out!

Clone the repository:

git clone https://github.com/kellyye-cal/cs160-paws/

Make sure you have Node installed. In the correct directory, run

node App.js

Notes for Display

This app is designed for smartphones, and the major testing device is an iPhone 13 Pro. Some of the implementations show the best on this device, and some of those may shown in wrong proportion on other smartphones or on a desktop.

Using this app: a complete walkthrough

Implemented functions & Navbars

This app has a profile page for the pet and three sections that manage different aspects of the pet. The user can navigate between the profile and the other sections by tapping on the navbar at the bottom of the screen. The selected navbar item will be highlighted with a colored image instead of one in white.

Loading screen

The user will first see a loading screen with the app's logo, the app's name, and a loading mark before opening the app (website). This page will stay for 2 seconds and then it will automatically jump to the profile page. The user can also tap on the app's name on the upper navbar to be directed to this loading page, but this is just a place holder as the user should be able to see this loading screen in the place where data needs to be loaded.

Profile

This is a page where the user can view the picture, name, information, and records of the pet. The first part "Profile" shows the pet's name, type, gender, and age. The second part "About Me" has two subparts for the user to view and edit. When a data item is missing its value, the UI will show a gray "- No data -"; otherwise, it will display the corresponding value there in black.

When the user taps on the "Edit" button, a new menu will drop down below the corresponding part. For example, if the user taps on the "Edit" button next to "General Info", an "Info Change" menu will drop down below this part. The user can then select the item they want to edit from the "Item" dropdown menu. Then, the saved value will shown in the "Info" textbox. if there is no saved value for an item, there will be no value filled for the textbox.

When the user finishes editing the info, they can then tap on the check mark to confirm their change. If the user trys to enter an empty value, a new prompt in red background will slide down and warn that this will delete the value of this item. The user can choose to cancel and edit more or to continue to delete the data.

Moments

This is a page where the user can view moments of the pet and add more posts. A moment is a post with a picutre, a title (name), a date, and some descriptions. The first part "Add Moment" allows the user to add a new moment to the list. The user can fill in all sections and then tap on the "Add Moment" button to add a new moment. If some of the sections are not finished, the app will alert the user with "Do not leave blanks before submitting!" or "Please select an image before submitting" and then adds nothing to the page. If a moment is added, it will appear at the end of the "Moments" list.

For the second part "Moments", the user can edit or delete any moments. They can first tap on the "Edit" button on the right of the moment card and a "Moment Change" menu will drop down. The saved item values will appear in the textboxs, and the user will again need to finish all sections to edit the moment.

The user can also delete a moment by entering the "Moment Change" menu after tapping on the "Edit" button. There is a trash can button that deletes the post. After tapping the delete button, there will be a warning prompt in red background dropping down that reminds the user to confrim deletion. If the user deletes all moments, the text "There is no moment." will show in the "Moments" section.

Health

This is a page where the user can view a summarized list of health related records.

The first part "Barney's Daily View" is a form that generates a log entry to the last part of this page. The user can select the medication taken by the pet by checking and unchecking three "Medications" items. Then, the user can select the pain level of the pet by selecting one of the three emojis. The user can choose to enter some notes or to submit without any. By tapping the "Add Daily Log" button, a log with the date today will be added to the start of the "Daily Logs" list at the end of this page.

The second part "Barney's Treatments" allows the user to see treatments of the pet. The user can see details by tapping on the plus mark. When the menu is expanded, the plus mark will become a minus mark, and tapping that will make the menu folded back.

The third part "Vethub" has two subparts, "Appointments and "Vaccination". the user can add new appointments by tapping on the "+ Schedule" button next to the subtitle "Appointments". Then, a menu "Schedule Appointment" will slide down. If the user leaves any blanks and clicked on the check mark to submit, the app will alert "Do not leave blanks before submitting!" and submits nothing. If the form is finished and the user submits the appointment, the new appointment will appear at the end of the appointments list.

The user is also able to edit existing appointments or to delete them by tapping on the "Edit" next to each appointment entry. When the user taps on "Edit", a menu "Edit Appointment" will slide down with pre-filled value. The user can also delete an appointment entry by tapping on the trash can button. A warning menu in red background will appear, and the user can decide to cancel deletion and edit more or to delete the item. When all appointments are deleted, the text "There is no appointment." will show in the part where entries show appear.

The "Vaccination" subpart shows a list of vaccinations that the pet has taken. There will be comments on the expiration dates, and items that will expire soon or non-compliant will be shown in red. Normal items are in green.

The fourth part "Daily Logs" is a list of all log entries. The user can view notes of each log entry by tapping the "View Notes" to see the notes in a new menu sliding down. If there is no notes entered for the log entry, the texts "- No data -" will show instead. The user can filter out certain log entries by tapping on the "Filter" button and a menu will slide down. The user can then select a filter from the dropdown menu and then tap on the confirm button to apply the filter. The user can tap on the "Fliter" again to stow the menu back.

The second

Nutrition

This is a page for the user to manage the pet's meal, view nutrition analysis, and take food suggestions.

The first part "Meals" has the list of food items and their amount. The user can add food items to this list by tapping on the "Add..." button. A menu "Add an item" will slide down, and the user can select a food item from the list. If there are more than four food items in the list, the user will be able to slide left and right to view more items. The "Add..." button will also change to a "Close" button when the menu is dropped down. When the user taps on a food item in the "Add an item" list, a new menu "Amount Add" will slide down, and the user can type a positive number in the textbox. If the input is not a positive number, after tapping on the confirm button, the prompt "Please enter a positive number." will appear.

The user can also add new food items by tapping on items in the "Meals" list. the current amount will be pre-filled in the textbox, and after entering a positive number, the user can then tap on the confirm button to update the amount. The user can also delete a food item on this menu by tapping on the trash can button. A warning menu in red background will appear, and the user can decide to cancel deletion and edit more or to delete the food item. The user can tap on the selected food item again to stow the menus back.

The second part has two subparts, "Overview" and "Analysis". Both of these are calculated by the saved food items and their amount in the "Meals" list. For each of the nutrient items, if the amount falls in the recommended daily intake level interval, the results will be in green. Otherwise, they will be in red.

For the third part "Suggestions", the user can select a food item with a specific amount and then add it to the meals list. The user can tap on a food item and confirm the recommended food amount by tapping the confirm button. The food item will then be added to the meals list. If all four nutrient items are with "OK" status, the texts "There is no suggestion." will appear in the list instead.

Collaborators

  • Joey Hou
  • Lucy Yang
  • Kelly Ye
  • Andrew Zhang
  • Anna Zhao

Created for CS 160 (User Interface Design) at UC Berkeley, Spring 2023

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published