Commit Graph

108 Commits

Author SHA1 Message Date
74094aee9f feat: Add assembly action handling and UI components
- Implemented `useAssemblyHandler` to manage assembly actions for humans.
- Enhanced `useHumanActions` to include assembly action handling.
- Updated `HumanInstance` to support assembly processes and animations.
- Modified `HumanUi` to allow for assembly point configuration and rotation.
- Created `AssemblyAction` component for setting process time and material swap options.
- Updated simulation types to include assembly action properties.
- Adjusted existing action handlers to accommodate assembly actions alongside worker actions.
- Refactored `MaterialAnimator` and `VehicleAnimator` to manage attachment states and visibility based on load.
- Updated product store types to include human point actions.
2025-07-07 15:00:16 +05:30
dee0a96287 Merge remote-tracking branch 'origin/main-dev' into feature/agv-edit 2025-07-05 11:20:50 +05:30
5a0978560c feat: Enhance vehicle simulation with draggable path points and interactive controls 2025-07-05 11:16:31 +05:30
a0039d84e9 Merge branch 'dev-simulation/human' into main-dev 2025-07-04 17:16:24 +05:30
508c88dce2 feat: Implement human event handling in copy and duplication controls
- Added support for handling "Human" type events in the copy and duplication controls.
- Created a new HumanEventSchema to manage human-related events, including position, rotation, and action details.
- Updated the HumanAnimator to improve rotation handling using quaternions for smoother transitions.
- Enhanced the HumanInstance to ensure proper synchronization of human positions and rotations.
- Integrated human event handling in the trigger handler for various interactions, including vehicle and machine actions.
- Introduced material drop functionality from vehicles to humans, allowing for dynamic interactions in the simulation.
2025-07-04 17:15:10 +05:30
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
f3487d05fa Merge branch 'main-dev' into dev-zone 2025-07-03 17:57:33 +05:30
46ff5c0208 refactor: Update zone handling by integrating zoneStore in multiple components and removing unused zones state 2025-07-03 17:55:19 +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
0848c453af refactor: Remove console log statements from DashboardHome, DashboardProjects, and CollaborationPopup components 2025-07-02 11:22:13 +05:30
458abdb9a5 Merge remote-tracking branch 'origin/merge/wall-collab' into main-dev 2025-07-02 11:14:18 +05:30
f17fa1f2f0 Merge branch 'main' into main-dev 2025-07-02 11:06:24 +05:30
1d70212cde Implement code changes to enhance functionality and improve performance 2025-07-01 19:32:49 +05:30
8ee579fab7 fix: correct project name spelling from "Aallai" to "Aalai" across multiple files 2025-07-01 13:18:22 +05:30
35f9e62ec0 refactor: update project name and branding to Aallai 2025-07-01 13:15:33 +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
898179c2c1 Refactor: Update project handling and sharing functionalities; integrate shared projects retrieval; enhance user data structure and loading mechanisms; improve input handling in MultiEmailInvite component; adjust wall generation callbacks in DXF processing. 2025-06-30 15:54:41 +05:30
84101905ff Refactor: Enhance CollaborationPopup and MultiEmailInvite components; integrate user access sharing and project user retrieval functionalities; update user data structure for consistency. 2025-06-30 14:22:02 +05:30
e589cb22b5 Refactor: Integrate activeLayer and builder store into SelectFloorPlan and LoadBlueprint components; enhance getWallPointsFromBlueprint function with additional parameters for wall creation; update wall handling in WallCreator and PolygonGenerator components. 2025-06-30 12:59:16 +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
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
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
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
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
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
329acbe397 Refactor code by removing unnecessary lines and comments, and update wall thickness in builder store 2025-06-23 10:54:17 +05:30
88a470929e Remove debug logs and standardize container class names in Dashboard components 2025-06-23 10:23:30 +05:30