July 19th, 2025
This PR introduces major updates to the Analytics Dashboard, upgrades the Grooming Settings module, and applies critical TypeScript and UI improvements for better platform performance, usability, and developer experience. π»ππ§΄
β Fixed data loading issues in the Analytics Dashboard.
π¨ Added Low Stock Alerts and Slow-Moving Inventory tracking.
π Implemented analytics widgets for:
Service Distribution
Peak Hours
Sales Trends
ποΈ Fixed date formatting issues in query parameters.
π§© Refactored Grooming Settings Page (UI + functional improvements).
π° Fixed missing reference to total_price in grooming_appointments.
π Improved visuals and data formatting in the Grooming Dashboard.
π Fixed Reset Password flow and form validation.
π‘οΈ Corrected RLS misconfiguration on the users table.
π§ Updated Forgot Password page logic and link behavior.
β Added explicit types for:
slowMovingProducts
productLastSaleMap
timeFormat
π§Ό Fixed syntax errors in JSX (e.g., lines 821β824).
π Reorganized return statements & conditional rendering logic for better clarity and performance.