Commit Graph

987 Commits

Author SHA1 Message Date
Marikannan 85b9dafddd Merge pull request '1. Integerated DashBoard,' (#97) from v3-wall into main
Reviewed-on: http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev/pulls/97
2025-06-04 12:08:34 +00:00
Jerald-Golden-B d57ee378aa refactor: Remove unnecessary console logs and improve code consistency across multiple components 2025-06-04 16:57:24 +05:30
Jerald-Golden-B 45e50ff11c refactor: Improve code readability by adding missing commas and logging data in socket responses 2025-06-04 15:53:24 +05:30
Jerald-Golden-B 4d738d576a refactor: Clean up console logging and improve code formatting in UserAuth and signInApi 2025-06-04 15:27:39 +05:30
Jerald-Golden-B 4eac6c628f Merge remote-tracking branch 'origin/dashboard' into v3 2025-06-04 15:20:18 +05:30
Jerald-Golden-B a69fd2af92 feat: Add wall classification and geometry handling, update wall rendering logic 2025-06-04 15:19:37 +05:30
Poovizhi99 e27277b538 Merge branch 'dashboard' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into dashboard 2025-06-04 15:17:59 +05:30
Poovizhi99 08362af383 merged with v3 2025-06-04 15:14:47 +05:30
Gomathi 9823404961 consoles removed 2025-06-04 14:37:36 +05:30
Poovizhi99 1aaac93679 Refactor zone-related API calls to use zoneUuid instead of zoneId; update endpoint versions to V1; add authorization headers with tokens; improve error handling and logging 2025-06-04 12:01:10 +05:30
Gomathi 0d98892dff updated api and socket for builder and visualization 2025-06-04 11:55:59 +05:30
Poovizhi99 ea400847a4 Refactor Dashboard components: add createdAt prop to Project interfaces, implement ProjectSocketRes for socket event handling, and remove unused handleDuplicateProjects function. 2025-06-04 11:48:49 +05:30
Jerald-Golden-B 20b6f84b38 feat: Implement wall creation and management features
- Added WallGroup component to manage wall creation and instances.
- Introduced WallCreator for handling wall creation logic, including mouse events and snapping.
- Created ReferenceWall component to visualize temporary wall during creation.
- Implemented WallInstances to render existing walls in the scene.
- Added useWallStore for state management of walls, including adding, updating, and removing walls.
- Enhanced Point and Line components to support wall-related functionalities.
- Updated builder store to include wall properties such as thickness and height.
- Refactored point snapping logic to accommodate wall snapping.
- Removed unused ReferencePoint component and adjusted imports accordingly.
- Updated world constants to include new wall-related configurations.
2025-06-04 10:23:22 +05:30
Poovizhi99 5ba7457276 Enhance DashboardCard component: add createdAt prop and implement relative time display; create ProjectSocketDev component for socket event handling. 2025-06-04 09:11:11 +05:30
Jerald-Golden-B 49ac226078 refactor: Update TextureItem interface and aisle color identifiers for consistency 2025-06-03 16:33:15 +05:30
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
Vishnu 278a1ccde1 Merge pull request 'v3' (#95) from v3 into main
Reviewed-on: http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev/pulls/95
2025-06-02 13:27:18 +00:00
Poovizhi99 44b6b4daab Uncomment socket connection and authentication in useSocketStore for Builder and Visualization 2025-06-02 14:37:47 +05:30
Poovizhi99 de3eb81740 worked with socket for dashboard 2025-06-02 11:20:00 +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
Poovizhi99 c77abff424 Implement rename mode functionality and integrate RenameTooltip component; update state management for renaming and mouse interactions in FloorGroup and Project components. 2025-05-29 14:29:53 +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
Poovizhi99 c8627e0249 Refactor DashboardCard component: add active prop handling and improve option click logic 2025-05-29 09:55:31 +05:30
Poovizhi99 0184abdd7a merged with main 2025-05-28 17:41:24 +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
Poovizhi99 c0fed911eb Refactor SelectFloorPlan component by removing debug useEffect and cleaning up setGenerate calls; add showY prop to TransformControls in DxfFile component; initialize package-lock.json 2025-05-28 12:40:40 +05:30
Poovizhi99 50311a018c merged with dashboard 2025-05-28 12:20:03 +05:30
Poovizhi99 3d5159f1b6 Update Generated DXF Walls to backend 2025-05-28 12:07:31 +05:30