Block a user
dashboard_report_snapshots, including report type handling. Updated backend routes and models to support snapshot retrieval and upsert functionality. Enhanced frontend components to integrate report snapshot management, including UI for daily and end-cycle reports. Added tests for new functionality to ensure reliability.
numberOrZero function to ensure proper reporting of uniformity and average weight, treating days without weighing as zero instead of unavailable. Updated AiInsightCard and WeightMonitoringPageRevamped to reflect these changes, ensuring consistent data representation across components. Adjusted context management to align with new uniformity logic.