July 16th, 2025

Release Notes 1.3

This PR delivers a comprehensive set of bug fixes, UX improvements, backend enhancements, and new featuresโ€”with a strong focus on grooming appointments, invoicing, SEO, and commission tracking. ๐Ÿงผ๐Ÿพ๐Ÿ’ผ


๐Ÿพ Grooming Module Updates & Enhancements

  • โœ… Improved calendar UI and appointment time slot logic for smoother booking.

  • โœ… Fixed bug where selecting multiple services caused conflicts.

  • โœ… Added fallback rendering delay with await new Promise(resolve => setTimeout(...)).

  • โœ… Resolved ReferenceError: timeSlot is not defined.

  • โœ… Enhanced date parsing and formatting with formatDateLocalized().

  • โœ… Added null checks on service.appointmentTime to prevent runtime crashes.

  • โœ… Introduced & styled grooming checkout page.

  • โœ… Fixed syntax & HTML nesting issues in grooming components.

  • โœ… Updated grooming summary email with currency & unit formatting.

  • โœ… Refined grooming check-in flow and added more granular time options.

  • โœ… Handled appointment.invoice_status when undefined.

  • โœ… Updated grooming weight unit display for clarity.


๐Ÿ’ผ Grooming Commission Feature

  • โœจ Added staff commission tracking per grooming appointment.

  • ๐Ÿ” Integrated commission logic into grooming-related reporting modules.


๐Ÿ“ˆ Reports & Analytics

  • ๐Ÿงฉ Improved reporting performance and structure.

  • ๐Ÿ—“ Extended AnalyticsData interface with fullMonth support for better charting.

  • โœ… Enhanced error handling with typed error objects and cleaner logging.


๐Ÿ’ณ Stripe Integration Fixes

  • ๐Ÿ”ง Fixed issues in Stripe subscription logic to handle edge cases reliably.


๐Ÿงพ Invoice Type & Backend Fixes

  • โœ… Fixed type mismatch on pet_parents in Invoice type.

  • ๐Ÿ’ธ Fixed currency formatting in invoice dashboard & grooming complete screen.

  • ๐Ÿ› ๏ธ Explicitly typed availability in TypeScript to resolve compile errors.

  • โœ… Ran DB migration to correct foreign key constraints.


๐ŸŒ SEO & Localization Improvements

  • โœ… Fixed 404 errors flagged by Google Search Console.

  • โœ… Resolved bugs in getLocalizationSetting() logic.

  • โœ… Fixed inconsistent useEffect dependencies in localization hook.

  • ๐ŸŒ Simplified localization data fetching on invoicing page.


๐Ÿ”ง Technical Fixes

  • โœ… Ensured createClient() is properly awaited (returns a Promise).

  • โœ… Confirmed correct usage of getLocalizationSettings() across modules.