Closed MrMelon1232 closed 6 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
compass | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 1, 2024 4:01am |
also add the migrations files for any models changes you made and run the command to load it
in addition, i think you should a small disclaimer in the health tips page mentioning that these tips should not be used as medical advice
something like this to make sure we are not liable
@imran1289-ah all changes you requested has been added. I've decided to leave the white space because on mobile view it doesn't take much space. Most of the speech bubble covers the main view point.
This PR adds the frontend code for the healthTips and mood reminder feature. Once a mood journal entry is created, a reminder task will generate some tips for the user based on their mood. These will be displayed under the health tab ---> healthTips. Upon visit, 3 randomized tips from the user's collection of generated tips will be displayed. This is refreshed every time the user visits the page.
The PR adds the following:
A "healthTips" frontend page that displays 3 randomized tips out of the users' generated tips from their mood journals
Update to health page, adding a link to view a user's tips
healthTipsAPI to connect the frontend to the backend
Update the notificationPreference page to include mood reminders as an option
Updates notificationPreference controller, model and tests to add mood reminders
Adds Unit tests for healthTips page and healthTipsAPI function
Updates unit tests for health page, notificationPreference page
Closes #535 #534 #533 #536
Here are some images of what the main page looks like: