Commit Graph

61 Commits

Author SHA1 Message Date
64d086f808 feat: Implement wall asset management APIs and socket integration for create, update, and delete operations 2025-07-02 10:49:07 +05:30
d6f6c4c901 Merge remote-tracking branch 'origin/dev-collaboration' into dev-r3f-wall 2025-06-30 18:13:23 +05:30
0a039f34b1 feat: Integrate active tool management across builder components; add deletableWallAsset state and related functionality 2025-06-30 18:11:37 +05:30
364b643c72 feat: Enhance wall asset interaction and management; implement position updates and add closest point calculation utility 2025-06-30 17:48:29 +05:30
1a9aef323a feat: Add selectedWallAsset and selectedFloorAsset state management; implement corresponding setters in useBuilderStore 2025-06-30 16:59:27 +05:30
997775c27e feat: Implement wall asset management features including creation, instances, and rendering; enhance wall properties input validation 2025-06-30 16:21:54 +05:30
943ad3ba49 refactor: Update color scheme for Floor and Zone components; enhance snapping logic in ReferenceFloor and ReferenceZone 2025-06-30 12:54:25 +05:30
7124a819b6 feat: Implement zone management features including creation, deletion, and updates
- Added zone handling in the Line component for removing and updating zones based on points.
- Enhanced Point component to support snapping and updating zone positions.
- Introduced zone-related API calls for upserting and deleting zones.
- Updated zone store to manage zones more effectively, including methods for removing zones by points and getting zones by point IDs.
- Improved zone instance rendering to handle dynamic point connections.
- Refactored zone creation logic to allow for better interaction and snapping behavior.
- Updated API endpoints for zone operations to use version 1 of the API.
2025-06-30 12:22:42 +05:30
90df6c2b01 Refactor: Update useEffect dependencies to include activeLayer for ReferenceAisle, ReferenceFloor, ReferenceWall; enhance usePointSnapping with zone snapping functionality and add ReferenceZone component for zone management 2025-06-27 18:06:19 +05:30
fa6506c0be Refactor: Remove deprecated API endpoints and implement new zone management features
- Deleted obsolete API files for wall items, layers, lines, and points.
- Introduced new zone management APIs including create, delete, and update functionalities.
- Enhanced zone state management in the store with new properties for height and color.
- Implemented 2D and 3D zone rendering components for better visualization.
- Added asset fetching functionalities for marketplace integration.
- Updated types to accommodate new zone properties and API responses.
2025-06-27 17:51:57 +05:30
812a4f6aef Refactor wall creator and socket responses; update nav mesh components and remove unused pillar functions
- Updated import path for getClosestIntersection in wallCreator.tsx
- Cleaned up socketResponses.dev.tsx by removing unused imports and code, simplifying the component structure
- Modified navMesh.tsx to remove lines prop and adjust NavMeshDetails accordingly
- Refactored navMeshDetails.tsx to remove lines dependency in useEffect
- Updated polygonGenerator.tsx to remove lines prop and commented out unused code
- Added getClosestIntersection helper function for better modularity
- Removed unused pillar-related functions and commented out code in addAndUpdateReferencePillar.ts, addPillar.ts, deletableHoveredPillar.ts, deletePillar.ts, and updateReferencePolesheight.ts
2025-06-27 16:54:38 +05:30
bfa4d7bbc6 Add Floor2DInstance component and integrate into FloorInstances for 2D floor rendering 2025-06-27 16:10:53 +05:30
540bb44e0c Add floorName property to Floor interface and update related components for floor creation 2025-06-27 16:01:58 +05:30
12f1dd1771 Refactor interaction handling: change click events to double-click for DecalInstance, FloorInstance, and Wall components. Prevent event propagation to ensure proper selection behavior. 2025-06-27 15:58:34 +05:30
edf76fa1c9 Fix bounding box position calculations and update distance finding controls for accurate positioning based on geometry. Enhance move controls to correctly handle floor intersections and adjust object positioning accordingly. 2025-06-27 15:46:06 +05:30
c73bdf4556 completed floor 2025-06-27 15:44:31 +05:30
64f0cdb148 Refactor builder store and related components: update DecalInstance to manage selectedFloor state, enhance FloorInstance with improved material handling and texture application, and modify FloorGroup to remove unnecessary console log. Update Wall component for better shadow handling and adjust useBuilderStore to change default material values. 2025-06-27 11:56:54 +05:30
04c302ea4c Refactor floor management components and APIs: enhance FloorInstance for shape creation, update FloorInstances to handle floor rendering and UUID tracking, and improve FloorCreator with project and version context. Modify floor store methods for better floor management and integrate API calls for floor upsert and deletion. Adjust wall and point components to support new floor functionalities. 2025-06-27 10:48:48 +05:30
b81aa10478 Capitalize userName in CollaborationPopup for consistent display 2025-06-27 09:49:20 +05:30
509f79db2c Enhance AssetProperties component with animation hover effects and styling improvements 2025-06-27 09:13:11 +05:30
5003dc3504 Refactor floor management APIs: implement getFloorsApi, deleteFloorApi, and upsertFloorApi for enhanced floor data handling. Update FloorCreator for improved point snapping and floor creation logic. Modify ReferencePoint to include UUID and user data. Adjust usePointSnapping to handle temporary points more effectively. 2025-06-26 18:23:01 +05:30
1e88006780 Refactor aisle API services: remove createAisleApi, update deleteAisleApi to include versionId, and modify wall asset APIs for consistency in endpoint naming. Enhance floor and wall store functionality with new setters and methods for managing floors and walls, including decal handling. Introduce FloorInstance and FloorInstances components for rendering floor data, and implement FloorCreator for interactive floor creation. Add reference floor visualization with snapping capabilities. Update wall API services for improved error handling and response management. 2025-06-26 17:47:32 +05:30
d926809dec Add scene context and animation handling to AssetProperties and Model components
- Enhanced animation handling in Model component with animation state management.
- Updated useAssetStore to support multiple animations for assets.
2025-06-26 15:11:52 +05:30
e5e92d2b9f Merge remote-tracking branch 'origin/main-dev' into dev-collaboration 2025-06-26 10:59:22 +05:30
b4745451d2 Refactor SidePannel component and update builderTypes to ensure consistent decal property syntax 2025-06-26 09:51:11 +05:30
b3b0831a7f Enhance dashboard components with user collaboration features and project management improvements 2025-06-26 09:25:02 +05:30
9696bc0f1e Refactor drawWall function for improved readability and maintainability 2025-06-25 17:39:28 +05:30
d8a793c421 Comment out WallGroup component and clean up drawWall function call 2025-06-25 17:32:36 +05:30
08208528a5 Add decal management functionality and refactor wall components 2025-06-25 17:20:35 +05:30
587ed6c9d7 Refactor builder store and remove wall store
Refactor builder store and remove wall store

- Consolidated wall-related state management into the builder store by removing the useWallStore.
- Added new properties and setters for wall attributes (thickness, height, materials) in the builder store.
- Introduced SelectedWallProperties and WallProperties components for managing wall properties in the sidebar.
- Created a new floor store for managing floor-related state.
- Added a wall asset store for managing wall assets.
- Implemented a zone store for managing zones and their properties.
- Updated sidebar styles for better layout and appearance.
2025-06-25 15:26:53 +05:30
982c92cf26 Add WallAsset, Floor, and Zone interfaces to builderTypes 2025-06-25 12:20:53 +05:30
3ab5c6ee6a Refactor 3D Widget Input Handling and Cleanup
- Removed commented-out code related to adding 3D widgets from BarChartInput, LineGrapInput, PieChartInput, Progress1Input, Progress2Input components.
- Updated widget input fetching logic in Widget2InputCard3D, Widget3InputCard3D, and Widget4InputCard3D to include projectId and versionId.
- Enhanced error handling and logging in add3dWidget and get3dWidgetInput services.
- Cleaned up console logs and unnecessary comments across various components for better readability.
- Ensured consistent handling of widget data structure in ProductionCapacity, ReturnOfInvestment, StateWorking, and Throughput components.
2025-06-25 11:11:23 +05:30
62e315e3d9 Merge remote-tracking branch 'origin/main-dev' into dev-collaboration 2025-06-25 09:36:22 +05:30
13a2648e83 Implement collaboration features with user access management and email invitation functionality 2025-06-25 09:35:47 +05:30
7dc7b832ea Merge branch 'main-dev' into dev-refactor 2025-06-24 15:41:18 +05:30
5ae0ec0713 Implement API enhancements for token management and new endpoints
- Added token management for various API calls in the factoryBuilder and visualization services.
- Updated deleteLayerApi, deleteLineApi, deletePointApi, getLinesApi, setLineApi, updatePointApi, and version control APIs to handle new access tokens from response headers.
- Introduced new API endpoints for 3D widget and floating widget data retrieval.
- Enhanced error handling and logging for API responses.
- Created new sessionValidity and input retrieval components for better session management and data handling.
2025-06-24 15:38:05 +05:30
761d7bf704 Merge remote-tracking branch 'origin/dev-collaboration' into main-dev 2025-06-24 12:41:41 +05:30
17ec72e283 Update API endpoints to use consistent versioning in URL paths 2025-06-24 12:32:45 +05:30
a562a51025 Refactor collaboration APIs to include versionId in relevant functions and clean up commented code 2025-06-24 12:21:12 +05:30
81eb2d8193 Merge remote-tracking branch 'origin/dev-collaboration' into main-dev 2025-06-24 11:57:37 +05:30
3fe52e3e7c Add versioning support to collaboration features and API calls
- Adjust logic in socket responses to handle versioning for comments and threads.
2025-06-24 11:56:26 +05:30
a5afcd5757 Implement resetStates hook and integrate it into Header component for state management 2025-06-24 11:04:56 +05:30
b49f431ebf Refactor error handling in API services to use console.error instead of throwing errors
- Updated various API service files to replace error throwing with console.error for better logging.
- This change affects services related to aisles, assets, cameras, collaboration, comments, environment, lines, marketplace, simulation, visualization, and zones.
- The modifications aim to improve error handling by logging errors to the console instead of interrupting the flow with thrown errors.
2025-06-24 09:31:45 +05:30
385a64d307 Remove debug log from useWallClassification and update dependencies in WallCreator effect 2025-06-23 14:11:49 +05:30
f593fcd578 Enhance builder functionality by implementing drag-and-drop for lines and points, adding hover effects, and improving wall distance display in the UI. 2025-06-23 13:38:26 +05:30
329acbe397 Refactor code by removing unnecessary lines and comments, and update wall thickness in builder store 2025-06-23 10:54:17 +05:30
e38f17a18d Update selection clearing logic to include tool mode and toggle view checks 2025-06-23 10:36:58 +05:30
88a470929e Remove debug logs and standardize container class names in Dashboard components 2025-06-23 10:23:30 +05:30
05a11c1184 Remove debug log for versionHistory in MainScene component 2025-06-23 10:18:44 +05:30
012544a048 Merge remote-tracking branch 'origin/dev-refactor' into main-dev 2025-06-23 10:18:03 +05:30