July 19th, 2025

Release Notes 1.4

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. πŸ’»πŸ“ŠπŸ§΄


πŸ“Š Analytics & Inventory Enhancements

  • βœ… 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.


🧼 Grooming Module Fixes & UI Upgrades

  • 🧩 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.


πŸ” Authentication & Access Control

  • πŸ” Fixed Reset Password flow and form validation.

  • πŸ›‘οΈ Corrected RLS misconfiguration on the users table.

  • πŸ”§ Updated Forgot Password page logic and link behavior.


🧠 TypeScript & Codebase Clean-Up

  • βœ… 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.