Commit Graph

12 Commits

Author SHA1 Message Date
Gomathi 064de39eac feat: update simulation data structure and improve performance metrics display 2025-06-12 17:17:16 +05:30
Gomathi b350bc6d9e Refactor ComparisonScene and Analysis components; update simulation logic and UI
- Removed unused pause button store from ComparisonScene.
- Added commented-out mock data setup in ComparisonScene for testing.
- Updated default values in Analysis component for production capacity and ROI calculations.
- Adjusted ProductionCapacity component to reflect monthly production capacity.
- Enhanced ROISummary to calculate payback date and improved net profit calculations.
- Modified ThroughputSummary to calculate units per hour based on shift length.
- Improved ComparisonResult to dynamically display compared products' data.
- Updated EnergyUsage to randomize data for better testing.
- Refined ROIData calculations to include labor count and adjusted cost calculations.
- Enhanced production capacity calculations in productionCapacityData.
- Updated throughput calculations in throughPutData to consider shift length and yield rate.
- Cleaned up console logs in vehicleInstance for better readability.
- Added productionCapacity field to CompareProduct interface in store.
- Minor styling adjustments in simulation.scss for better layout.
2025-06-12 16:39:25 +05:30
Gomathi e60be88ded feat: Enhance comparison functionality and update analysis defaults across components 2025-06-12 12:04:45 +05:30
Gomathi 7e85cf4e53 feat: Add default values to analysis presets and enhance input handling in components 2025-06-11 16:33:21 +05:30
Gomathi 5d03a2bc61 Update ComparisonScene to include mainProduct and loadingProgress, 2025-06-11 09:33:09 +05:30
Gomathi 5be5526da6 Enhance ROIData component with product comparison functionality and clean up unused code 2025-06-10 18:06:41 +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
Gomathi 28e11d04b4 Enhance analysis components with input values integration and improve state management for production capacity and ROI calculations 2025-05-15 18:00:07 +05:30
Gomathi d88e93395f Refactor loading state management and enhance data handling in analysis components 2025-05-14 18:21:49 +05:30
Gomathi e4be4505a9 Enhance analysis components with new state management for production capacity and ROI data 2025-05-14 14:25:54 +05:30
Gomathi 3ccfc54922 Refactor imports to use the builder store for state management across analysis components 2025-05-14 10:08:55 +05:30
Gomathi d0eaf3031d analysis data 2025-05-14 09:57:31 +05:30