Wellness dashboard api - #2094
Conversation
…tion and weekly data query
…eklyChart, and WellnessDashboardScreen - ManualLogCard: integrates useLogWellnessMetric mutation and useGetWeeklyWellness query with Zod validation, pre-fills from today's existing data, shows loading state on Save button, displays error alerts - WeeklyChart: replaces hardcoded data with live API data from useGetWeeklyWellness, adds water/steps metric toggle, shows loading skeleton and empty state - WellnessDashboardScreen: adds offline banner using Redux isConnected state
… in ManualLogCard
|
Thank you @, for creating the PR and contributing to our UltimateHealth project 💗. |
Automated Review FeedbackProvide actionable comments grouped by severity: Important
Suggestions
|
Please re-review! Also I edited more files due to local bugs i was facing in running my development locally. Please consider that when assessing my work! I will also like to request to add PRs like level:advanced You currently put level:frontend @SB2318 please look into this |
No issues, keep patience. I will review. |
🤖 Gemini AI Code ReviewSummaryThis Pull Request introduces a new Wellness Dashboard feature, including API integration, data logging, and weekly visualization components. It also significantly improves the frontend's cross-platform compatibility by implementing web mocks and lazy loading for several native-only modules (e.g., Firebase, The author's inclusion of the Overall, the PR delivers valuable new functionality and crucial bug fixes, but requires attention to the high-severity issues identified below before merging. 🔴 High Severity
|
Automated Review FeedbackProvide actionable comments grouped by severity: Critical
Important
Suggestions
|
PR Description
The issue was easy, but I ran into multiple layered errors of pre-existing frontend when I was trying to check my results locally. I have solved those alongside the issue. So please review them as well, and hence, please give me enhanced labels for this PR!
Type of Change
Select your work-area
Related Issue
#2092
Add your Work Example
even though this is a frontend PR, it does not require a screenshot.
Fixes (mention the issue number which this fixes)
#2092
Checklist
Undertaking
My code follows the style guidelines of this project.
I have performed a self-review of my code.
I have commented on my code, particularly in hard-to-understand areas.
I have made corresponding changes to the documentation.
I have checked for plagiarism and ensured its authenticity.
I have read and followed the code of conduct for this repository. I understand that violation of this undertaking may have legal consequences.
I agree.