Commit Graph

8 Commits

Author SHA1 Message Date
520cd5f581 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-08 15:31:25 +05:30
Nalvazhuthi
307d2eabee Refactor API service functions for improved error handling and code consistency
- Updated signUpApi, deleteZonesApi, getZonesApi, setZonesApi, and other API functions to enhance error logging with echo.error statements.
- Reformatted function parameters for better readability.
- Removed unnecessary comments and console logs.
- Ensured consistent error messages across all API functions.
- Improved code structure for better maintainability.
2025-05-08 15:19:21 +05:30
19e23501a4 Implement action handlers for conveyor, robotic arm, and vehicle, including logging and material management 2025-05-08 13:43:37 +05:30
815a9a94ca feat: Refactor swap handling and enhance delay management in conveyor actions 2025-05-06 12:35:51 +05:30
c89c4234a4 feat: Enhance conveyor actions and event handling
- Added detailed logging for default conveyor actions in useConveyorActions.
- Integrated play and reset button states into useActionHandler for better control flow.
- Updated PointsCreator to conditionally render based on play state and improved event handling.
- Modified MaterialAnimator to support pause and resume functionality based on play state.
- Enhanced MaterialInstance to trigger actions upon animation completion.
- Implemented material clearing logic in Materials component on reset or stop.
- Updated Simulator to respect play and reset states during action handling.
- Improved trigger handling logic to accommodate new event retrieval methods.
- Added utility functions in useProductStore for fetching events by trigger and point UUIDs.
- Created a new file for default action handling in conveyor actions.
2025-05-05 20:08:05 +05:30
6b0ee0ae79 Enhance material handling: add support for additional materials in conveyor and machine mechanics, update action types, and implement material model loading. 2025-05-05 14:26:38 +05:30
8ba2bae810 Refactor simulation action handlers: consolidate action handling, enhance spawn logic, and improve type definitions for actions. 2025-05-05 11:24:00 +05:30
13af6c2c67 Refactor conveyor mechanics and action handlers: update spawn count, interval, and delay handling; enhance material management in useMaterialStore; implement spawn action handler; unify action handling across various components. 2025-05-03 18:36:30 +05:30