Commit Graph

992 Commits

Author SHA1 Message Date
Nalvazhuthi
0be84fc502 Refactor zone-related API calls to use UUIDs instead of IDs, update endpoint versions, and enhance socket initialization with additional tokens
- Changed parameter names from `zoneId` to `zoneUuid` in multiple API service files for consistency.
- Updated API endpoints from v2 to v1 in `loadTemplate`, `lockPanel`, `panel`, `saveTemplateApi`, `update3dWidget`, `zoneCameraUpdate`, and others.
- Added authorization and token handling in headers for API requests.
- Enhanced socket initialization in the store to include dashboard and project sockets with token authentication.
- Adjusted the `useDroppedObjectsStore` to accommodate the new `zoneUuid` parameter and updated related methods.
- Updated styles in dashboard.scss for improved layout and design consistency.
- Modified builder types to include new properties and ensure type safety.
- Implemented shortcut key handling for renaming mode and other UI interactions.
2025-06-05 12:55:18 +05:30
Nalvazhuthi
66e5bb38a4 feat: integrate comparison product handling and enhance view scene label management 2025-06-05 10:34:46 +05:30
922dfb3543 refactor: Remove unnecessary line and improve login handling in UserAuth component
refactor: Add clearComparisonProduct call in KeyPressListener for better state management
2025-06-04 18:03:21 +05:30
Nalvazhuthi
b0c09234b0 Enhance styles and types across components
- Updated input styles to include textarea elements for consistent styling.
- Refined compare layout styles, including positioning and background adjustments for dropdowns and containers.
- Improved sidebar styles with new background and shadow effects.
- Added new types for Point, Wall, and Aisle in builderTypes to enhance type safety.
- Introduced helper colors in worldConstants for better visual guidance.
- Enhanced comments section styles for improved layout and readability.
- Adjusted real-time visualization styles for better responsiveness and aesthetics.
2025-06-04 18:02:38 +05:30
c8fe8f05fb Merge remote-tracking branch 'origin/v3' into dashboard 2025-06-04 17:16:08 +05:30
15d8c362ea refactor: Remove unnecessary console logs and improve code structure in Dashboard components and API functions 2025-06-04 17:02:45 +05:30
d57ee378aa refactor: Remove unnecessary console logs and improve code consistency across multiple components 2025-06-04 16:57:24 +05:30
45e50ff11c refactor: Improve code readability by adding missing commas and logging data in socket responses 2025-06-04 15:53:24 +05:30
Nalvazhuthi
5787213882 feat: add WallProperties component for managing wall dimensions and materials 2025-06-04 15:36:55 +05:30
4d738d576a refactor: Clean up console logging and improve code formatting in UserAuth and signInApi 2025-06-04 15:27:39 +05:30
4eac6c628f Merge remote-tracking branch 'origin/dashboard' into v3 2025-06-04 15:20:18 +05:30
a69fd2af92 feat: Add wall classification and geometry handling, update wall rendering logic 2025-06-04 15:19:37 +05:30
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
08362af383 merged with v3 2025-06-04 15:14:47 +05:30
9823404961 consoles removed 2025-06-04 14:37:36 +05:30
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
0d98892dff updated api and socket for builder and visualization 2025-06-04 11:55:59 +05:30
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
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
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
49ac226078 refactor: Update TextureItem interface and aisle color identifiers for consistency 2025-06-03 16:33:15 +05:30
cba9edd7c4 refactor: Update aisle types and properties, integrate arc-aisle handling 2025-06-03 14:45:17 +05:30
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
44b6b4daab Uncomment socket connection and authentication in useSocketStore for Builder and Visualization 2025-06-02 14:37:47 +05:30
de3eb81740 worked with socket for dashboard 2025-06-02 11:20:00 +05:30
d827b4e75b refactor: Improve logging and clean up unused console statements in aisle management 2025-05-30 18:04:45 +05:30
865bb9f2d3 refactor: Conditionally render distance display for aisles and reference aisles based on toggleView state 2025-05-30 17:55:58 +05:30
b26ebcc4cc refactor: Add distance display for aisles using Html component and Vector3 calculations 2025-05-30 17:54:23 +05:30
a2a068a732 refactor: Integrate aisle point snapping into Point component and enhance snapping logic 2025-05-30 17:15:04 +05:30
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
63bb7c84aa refactor: Add point snapping functionality and enhance aisle management with new Point and Gizmo components 2025-05-30 14:33:55 +05:30
0e0a53bd5a refactor: Enhance aisle management by adding selectedAisle state and click handling in aisle components 2025-05-30 12:19:07 +05:30
84d1022432 refactor: Update color uniform naming across multiple components for consistency 2025-05-30 11:34:57 +05:30
e2fab37f0f refactor: Enhance Point component with drag functionality and update state management in aisle store 2025-05-30 10:21:45 +05:30
16e3f51448 refactor: Introduce Point and ReferencePoint components for better point management in AisleCreator 2025-05-29 18:17:24 +05:30
2f5b20e2d5 refactor: Optimize AisleProperties component with useMemo for performance improvements 2025-05-29 16:58:22 +05:30
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
d30ae34426 refactor: Add ArrowsAisle component and update aisle properties for improved functionality 2025-05-29 14:39:19 +05:30
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
879c478753 refactor: Add name to wall mesh for better identification in PolygonGenerator 2025-05-29 13:58:32 +05:30
95a98e131f refactor: Remove unused imports and simplify JSX structure in AssetsGroup and Model components 2025-05-29 13:43:36 +05:30
40d7cbbcc4 refactor: Remove debug log for intersected object in selection controls 2025-05-29 13:07:16 +05:30
24810d0eeb refactor: Enhance intersection filtering by adding zonePlane and selection group exclusions 2025-05-29 13:06:02 +05:30
e72854d514 refactor: Update asset properties and selection controls for improved functionality using shift click functionality 2025-05-29 12:55:17 +05:30
e26de7e651 refactor: Update selectedObjects iteration method in SelectionControls 2025-05-29 12:08:15 +05:30
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
c8627e0249 Refactor DashboardCard component: add active prop handling and improve option click logic 2025-05-29 09:55:31 +05:30
0184abdd7a merged with main 2025-05-28 17:41:24 +05:30
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
d198f520ea Merge branch 'v3' into v2-compare 2025-05-28 15:26:26 +05:30