Commit Graph

7 Commits

Author SHA1 Message Date
Nalvazhuthi 66e5bb38a4 feat: integrate comparison product handling and enhance view scene label management 2025-06-05 10:34: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
Jerald-Golden-B 5c37d40733 Refactor material store usage to integrate with scene context
- Removed direct usage of useMaterialStore in various components and replaced it with useSceneContext to access materialStore.
- Introduced SceneProvider to encapsulate materialStore creation and provide it through context.
- Updated components such as CompareLayOut, Scene, and various action handlers to utilize the new context structure.
- Cleaned up imports and removed unnecessary console logs.
- Adjusted Project component to conditionally render ComparisonResult based on a boolean flag.
2025-05-28 15:26:08 +05:30
Vishnu 0b9e894341 feat: refactor compareLayout styles for improved layout and responsiveness 2025-05-28 11:02:12 +05:30
Nalvazhuthi d3048d7ef1 feat: add ComparisonResult and EnergyUsage components with performance metrics and energy usage charts 2025-05-27 18:16:11 +05:30
Nalvazhuthi 634acdd2cc Refactor version management: replace crypto.randomUUID with generateUniqueId, add new icons, and enhance version editing features 2025-05-20 09:40:52 +05:30
Nalvazhuthi 933f87a8cb Refactor compare components and version management
- Updated SVG attributes in SimulationIcons to use camelCase for color interpolation filters.
- Refactored import paths for ComparePopUp and CompareLayOut to new directory structure.
- Enhanced VersionHistory component to utilize version store for better state management.
- Removed deprecated CompareLayOut and compare components, replacing them with new versions.
- Implemented VersionSaved component to display notifications for newly saved versions.
- Added functionality to save and edit version names and descriptions.
- Updated styles for version notifications and editing popups.
- Improved AddButtons component to dynamically set IDs based on side.
- Enhanced Project component to integrate new version management features.
2025-05-16 18:02:46 +05:30