Commit Graph

31 Commits

Author SHA1 Message Date
02490214d9 feat: Enhance InputWithDropDown to support disabled state
fix: Update Model component to manage animation states and transitions more effectively

feat: Implement worker action handling in useWorkerHandler for material management

feat: Add MaterialAnimator to HumanInstance for dynamic material loading

feat: Extend useTriggerHandler to support interactions between humans and various entities

feat: Create WorkerAction component for managing load capacity and actions

feat: Introduce MaterialAnimator for human instances to visualize material loads

refactor: Update asset store to manage animation completion state

fix: Ensure proper handling of human materials in useHumanStore
2025-07-04 13:14:39 +05:30
7cf82629e9 completed init movement for human 2025-07-03 18:01:11 +05:30
8dd853dd03 feat: Implement selected animation handling and integrate with human mechanics 2025-07-03 15:18:49 +05:30
eb5683eadc feat: Refactor human action handling to replace animatedTravel with worker actions and enhance animation management 2025-07-03 14:23:57 +05:30
98f4d48db2 feat: Refactor human action handling to support animated travel and streamline action structure 2025-07-03 12:11:58 +05:30
b5c69f3335 feat: Add human mechanics and event handling, including UI components and action management 2025-07-03 12:09:31 +05:30
424df54ff7 feat: Enhance asset and human event handling with animation and loop capabilities 2025-07-02 17:31:17 +05:30
7519aa90c6 feat: Implement human simulation features
- Added human event handling in the simulation, including the ability to add, update, and remove human instances.
- Introduced a new Human store to manage human states and actions.
- Updated the simulation context to include human management.
- Enhanced the Points and TriggerConnector components to support human interactions.
- Refactored existing components to integrate human-related functionalities.
- Added HumanInstance and HumanInstances components for rendering human entities in the simulation.
- Updated TypeScript definitions to include human-related types and actions.
2025-07-02 15:07:31 +05:30
3f59f5d2dd refactor: Clean up console log statements and improve component state management in SideBarRight, AssetProperties, WallInstances, WallCreator, and SocketResponses 2025-07-02 11:52:57 +05:30
d6f6c4c901 Merge remote-tracking branch 'origin/dev-collaboration' into dev-r3f-wall 2025-06-30 18:13:23 +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
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
c73bdf4556 completed floor 2025-06-27 15:44:31 +05:30
509f79db2c Enhance AssetProperties component with animation hover effects and styling improvements 2025-06-27 09:13:11 +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
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
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
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
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
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
e22a2dc275 first commit 2025-06-10 15:28:23 +05:30