Commit Graph

956 Commits

Author SHA1 Message Date
Jerald-Golden-B cba9edd7c4 refactor: Update aisle types and properties, integrate arc-aisle handling 2025-06-03 14:45:17 +05:30
Jerald-Golden-B da741ed6df Refactor point and aisle handling to use pointUuid and aisleUuid consistently
- Updated useAislePointSnapping and usePointSnapping to reference point.pointUuid instead of point.uuid.
- Modified Point component to utilize point.pointUuid for snapping and position updates.
- Changed useAisleStore methods to work with aisleUuid and point.pointUuid for better clarity and consistency.
- Introduced new properties for junction aisles, including isFlipped, and updated related logic.
- Added implementations for ArrowAisle, CircleAisle, and JunctionAisle components to handle rendering and interactions.
2025-06-03 12:51:04 +05:30
Jerald-Golden-B d827b4e75b refactor: Improve logging and clean up unused console statements in aisle management 2025-05-30 18:04:45 +05:30
Jerald-Golden-B 865bb9f2d3 refactor: Conditionally render distance display for aisles and reference aisles based on toggleView state 2025-05-30 17:55:58 +05:30
Jerald-Golden-B b26ebcc4cc refactor: Add distance display for aisles using Html component and Vector3 calculations 2025-05-30 17:54:23 +05:30
Jerald-Golden-B a2a068a732 refactor: Integrate aisle point snapping into Point component and enhance snapping logic 2025-05-30 17:15:04 +05:30
Jerald-Golden-B 5254bbd8df refactor: Implement point snapping functionality and enhance aisle management with new snapping logic and state management 2025-05-30 16:27:28 +05:30
Jerald-Golden-B 63bb7c84aa refactor: Add point snapping functionality and enhance aisle management with new Point and Gizmo components 2025-05-30 14:33:55 +05:30
Jerald-Golden-B 0e0a53bd5a refactor: Enhance aisle management by adding selectedAisle state and click handling in aisle components 2025-05-30 12:19:07 +05:30
Jerald-Golden-B 84d1022432 refactor: Update color uniform naming across multiple components for consistency 2025-05-30 11:34:57 +05:30
Jerald-Golden-B e2fab37f0f refactor: Enhance Point component with drag functionality and update state management in aisle store 2025-05-30 10:21:45 +05:30
Jerald-Golden-B 16e3f51448 refactor: Introduce Point and ReferencePoint components for better point management in AisleCreator 2025-05-29 18:17:24 +05:30
Jerald-Golden-B 2f5b20e2d5 refactor: Optimize AisleProperties component with useMemo for performance improvements 2025-05-29 16:58:22 +05:30
Jerald-Golden-B 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.
2025-05-29 16:37:25 +05:30
Jerald-Golden-B d30ae34426 refactor: Add ArrowsAisle component and update aisle properties for improved functionality 2025-05-29 14:39:19 +05:30
Jerald-Golden-B 879c478753 refactor: Add name to wall mesh for better identification in PolygonGenerator 2025-05-29 13:58:32 +05:30
Jerald-Golden-B 95a98e131f refactor: Remove unused imports and simplify JSX structure in AssetsGroup and Model components 2025-05-29 13:43:36 +05:30
Jerald-Golden-B 40d7cbbcc4 refactor: Remove debug log for intersected object in selection controls 2025-05-29 13:07:16 +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 e72854d514 refactor: Update asset properties and selection controls for improved functionality using shift click functionality 2025-05-29 12:55:17 +05:30
Jerald-Golden-B e26de7e651 refactor: Update selectedObjects iteration method in SelectionControls 2025-05-29 12:08:15 +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 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.
2025-05-28 16:24:08 +05:30
Jerald-Golden-B d198f520ea Merge branch 'v3' into v2-compare 2025-05-28 15:26:26 +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
Jerald-Golden-B 3ed7c531aa Merge remote-tracking branch 'origin/v2-ui' into v2-compare 2025-05-28 13:34:04 +05:30
Vishnu 0b9e894341 feat: refactor compareLayout styles for improved layout and responsiveness 2025-05-28 11:02:12 +05:30
Nalvazhuthi db46327249 feat: update ComparisonResult and EnergyUsage components with new chart layouts and styling adjustments 2025-05-28 10:57:10 +05:30
Jerald-Golden-B 7a176c03da Merge branch 'main' into v3 2025-05-28 10:45:54 +05:30
Jerald-Golden-B cb414f2824 feat: enhance aisle management with new properties and types 2025-05-28 10:44:19 +05:30
Nalvazhuthi 3f3e6d4f14 feat: enhance ComparisonResult component with chart integration and layout adjustments 2025-05-28 09:54:16 +05:30
Nalvazhuthi 3944588cb0 Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-05-27 18:16:58 +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
Jerald-Golden-B 13ec906fac Merge remote-tracking branch 'origin/v3-ui' into v3 2025-05-27 18:12:02 +05:30
Jerald-Golden-B bb46eeb3cc feat: implement aisle management features with creator and instances 2025-05-27 18:11:26 +05:30
Vishnu 99ef074765 feat: add AisleProperties component with texture and type selection 2025-05-27 16:09:36 +05:30
Jerald-Golden-B 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.
2025-05-27 11:31:03 +05:30
Jerald-Golden-B 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.
2025-05-27 11:26:55 +05:30
Jerald-Golden-B f6f0478e9a refactor: reorganize asset management functions and remove unused components 2025-05-27 09:16:33 +05:30
Jerald-Golden-B 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.
2025-05-26 18:03:27 +05:30
Jerald-Golden-B 1258d11ee8 converting asset loading and other functionalities to r3f from three js 2025-05-26 14:29:37 +05:30
Vishnu 00012689d3 Merge pull request 'v2-ui' (#94) from v2-ui into main
Reviewed-on: http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev/pulls/94
2025-05-26 05:09:29 +00:00
Vishnu a8432c6902 feat: remove unnecessary transform property from thread-chat-wrapper 2025-05-23 17:41:44 +05:30
Gomathi 0091cf59e7 Merge remote-tracking branch 'origin/v2-ui' into analysis 2025-05-23 17:10:42 +05:30
Gomathi 53c2ad0917 feat: implement draggable functionality for ThreadChat component 2025-05-23 17:09:54 +05:30
Vishnu 3dc56ee1ef feat: remove ThreadChat component from Project page for cleaner UI 2025-05-23 15:31:05 +05:30
Vishnu 4dddc82c8c feat: add delete action to Messages component and enhance styling for better user experience 2025-05-23 15:29:18 +05:30
Gomathi baace7f83d Merge remote-tracking branch 'origin/v2-ui' into analysis 2025-05-23 12:13:08 +05:30
Gomathi b6597a912a chore: update ProductionCapacity component for improved readability and maintainability 2025-05-23 12:12:23 +05:30
Vishnu 1a0edcd43a Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-05-23 12:09:30 +05:30