Commit Graph

16 Commits

Author SHA1 Message Date
80a672adf0 Refactor simulation product handling and state management
- Replaced `useComparisonProduct` with `useSimulationState` in multiple components to streamline state management.
- Updated `SyncCam` to use `comparisonScene` instead of `comparisonProduct`.
- Modified `Products` component to utilize `mainScene` and `comparisonScene` for product selection.
- Adjusted various simulation functions to accept `ProductsSchema` instead of `productsSchema`.
- Enhanced `Simulator` component to fetch simulation data using the updated state structure.
- Refined Zustand store to manage `mainScene` and `comparisonScene` states, including their respective setters and clearers.
- Updated type definitions for products to ensure consistency across the application.
- Cleaned up shortcut key handling to reflect changes in state management.
2025-09-08 11:40:27 +05:30
c8e9633050 merged and added the layout 2025-09-06 18:19:02 +05:30
71484cba18 feat: Enhance vehicle simulation with draggable path points and interactive controls 2025-09-06 16:03:45 +05:30
cb1b16fffd Merge remote-tracking branch 'origin/feature/layout-comparison-version' into dev-heatmap 2025-09-06 14:41:20 +05:30
3b8bdd3684 refactor api-simulation for create and fetch 2025-09-06 14:05:29 +05:30
0f10a84215 Refactor version management: Replace useSaveVersion with useIsComparing across components
- Updated MainScene, SideBarLeft, SideBarRight, Simulations, and CompareLayOut to utilize isComparing state instead of isVersionSaved.
- Adjusted conditional rendering and logic to reflect the new comparison state.
- Introduced SyncCam component to synchronize camera state during comparisons.
- Created useSceneStore to manage camera state with position and target vectors.
- Cleaned up imports and ensured consistent formatting across affected files.
2025-09-05 18:09:43 +05:30
5a9785648b Merge remote-tracking branch 'origin/main-demo' into main-dev 2025-09-05 16:00:54 +05:30
23570d7007 integerated product context to scene context 2025-09-05 15:54:38 +05:30
f27af9a58d refactor: update component structure and enhance list functionality with new asset and zone handling 2025-09-05 15:50:07 +05:30
9904a5079d integerated version context with scene context 2025-09-05 15:17:43 +05:30
1f382de751 file structure change 2025-09-05 11:43:14 +05:30
f6a63c20d7 add simulations data 2025-09-04 17:26:18 +05:30
54b02541c1 updated 2025-06-23 09:37:53 +05:30
2fbdf8ab61 updated comparision 2025-06-12 17:35:42 +05:30
c7cc5cf2ca update assetID 2025-06-12 09:31:51 +05:30
e22a2dc275 first commit 2025-06-10 15:28:23 +05:30