v3 #95

Merged
Vishnu merged 39 commits from v3 into main 2025-06-02 13:27:43 +00:00
Member
No description provided.
Vishnu added 39 commits 2025-06-02 13:26:56 +00:00
b086ee8f75 Refactor asset management and selection controls
- Removed the FloorItemsGroup component to streamline asset handling.
- Updated socket response handling by removing TempLoader integration.
- Enhanced CopyPasteControls and DuplicationControls to utilize the new asset management structure.
- Integrated asset addition and updates in move, rotate, and selection controls.
- Improved performance by skipping items without valid modelfileID in the GLTF loader worker.
- Cleaned up unused variables and imports across various control components.
- Added logging for selectedFloorItem and deletableFloorItem for debugging purposes.
25439fdd8c Refactor asset management and collaboration features
- Removed use of floor items from various components and replaced with asset management.
- Integrated asset selection and clearing logic in Models component.
- Updated SocketResponses to handle asset creation, updates, and deletions through collaboration.
- Simplified copy, paste, and duplication controls by removing floor item dependencies.
- Enhanced TransformControl to manage asset properties and synchronize with the backend.
- Deleted unused AddOrRemoveEventsInProducts component to streamline event handling.
- Updated Project component to initialize asset state instead of floor items.
- Added setName method to asset store for updating asset names.
42a3d7285e Refactor asset management:
- Removed obsolete Models component and integrated its functionality into AssetsGroup.
- Updated import paths for AssetsGroup and related components.
- Implemented new asset loading and event handling logic in AssetsGroup.
- Added asset bounding box visualization.
- Enhanced model loading with caching and error handling.
- Improved asset interaction features including selection and deletion.
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.
5e58606f8f Refactor store creation for Conveyor, Machine, Storage Unit, and Vehicle
- Changed the store creation functions to `createConveyorStore`, `createMachineStore`, `createStorageUnitStore`, and `createVehicleStore` for better clarity and consistency.
- Updated the internal state management methods to maintain functionality while improving readability.
- Ensured that all stores now return their respective types for better type safety.
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.
9875239d54 Refactor aisle properties and types in builder store
- Updated AisleProperties component to include new properties for dashed, dotted, and arrows aisles.
- Added new handlers for dash length, gap length, dot radius, and aisle length changes.
- Enhanced aisle type management in AisleCreator to handle new aisle types and their properties.
- Introduced type-specific setters in useAisleStore for better aisle property management.
- Updated builderTypes to define specific interfaces for each aisle type.
- Improved rendering logic for advanced properties based on selected aisle type.
Vishnu merged commit 278a1ccde1 into main 2025-06-02 13:27:42 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Dwinzo-Beta/Dwinzo_dev#95
No description provided.