Commit Graph

6 Commits

Author SHA1 Message Date
Jerald-Golden-B 280ec8a756 Refactor tool mode handling across simulation and builder modules
- Removed the use of deleteTool and deletePointOrLine states, replacing them with a unified toolMode state.
- Updated Point, Arrows, PointsCreator, TriggerConnector, and other components to utilize toolMode for determining delete actions.
- Cleaned up unused imports and commented-out code related to deleteTool.
- Enhanced event handling in selectionControls and trigger connections to respond to toolMode changes.
- Adjusted color and interaction logic based on the current toolMode.
2025-06-11 13:19:27 +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 24810d0eeb refactor: Enhance intersection filtering by adding zonePlane and selection group exclusions 2025-05-29 13:06:02 +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 8e01c24844 Refactor API imports and restructure services
- Updated import paths for `upsertProductOrEventApi`, `deleteEventDataApi`, `deleteProductApi`, `getProductApi`, `getAllProductsApi`, and `renameProductApi` to point to the new `products` directory.
- Removed old API files for `UpsertProductOrEventApi`, `deleteEventDataApi`, `deleteProductApi`, `getProductApi`, `getAllProductsApi`, and `renameProductApi`.
- Introduced new implementations for the above APIs in the `products` directory.
- Added `MaterialCollisionDetector` component to handle material collision detection using a web worker.
- Updated various components to utilize the new API structure and ensure proper functionality.
2025-05-21 15:36:34 +05:30
Jerald-Golden-B 292ea0dbc2 feat: refactor TriggerConnector to include Arrows component for visualizing connections and update import paths
refactor: remove unused triggerConnector file and update trigger.tsx import path
2025-05-20 17:46:22 +05:30