Commit Graph

4 Commits

Author SHA1 Message Date
Jerald-Golden-B 5f9d2b4106 refactor: Remove unnecessary setIsPlaying calls and clean up event handling in simulation components 2025-06-10 17:58:56 +05:30
Jerald-Golden-B 6780e73dd1 Refactor product identifier from 'productId' to 'productUuid' across simulation stores and related types for consistency and clarity 2025-06-05 15:37:49 +05:30
Jerald-Golden-B e4196eee8c refactor: Enhance wall and comparison handling, improve state management in builder components 2025-06-05 11:55:46 +05:30
Jerald-Golden-B d3ea36d1ba feat: Refactor product selection and comparison functionality
- Created a new store for selected products using Zustand and immer for state management.
- Introduced `useMainProduct` and `useComparisonProduct` hooks to manage main and comparison products.
- Implemented `ComparisonScene` and `ComparisonSceneProvider` components to handle product comparisons.
- Updated `MainScene` to allow selection of main products with a dropdown.
- Enhanced styles for comparison layout and product selection UI.
- Established a context for product management to streamline state access across components.
2025-05-29 12:00:16 +05:30