Commit Graph

39 Commits

Author SHA1 Message Date
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
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
b4745451d2 Refactor SidePannel component and update builderTypes to ensure consistent decal property syntax 2025-06-26 09:51:11 +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
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
d27c86a006 Add versionId parameter to addingWidgets function and update widget calls 2025-06-23 10:16:23 +05:30
5d0c36071e Add selectedVersion checks in multiple components to prevent API calls without a valid version 2025-06-23 10:09:09 +05:30
1ac0e86e74 Update server API base URLs in .env file 2025-06-23 09:53:25 +05:30
54b02541c1 updated 2025-06-23 09:37:53 +05:30
2fbdf8ab61 updated comparision 2025-06-12 17:35:42 +05:30
c7cc5cf2ca update assetID 2025-06-12 09:31:51 +05:30
c913966339 test 2025-06-10 15:28:40 +05:30
e22a2dc275 first commit 2025-06-10 15:28:23 +05:30