Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
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