- Update zone handling in ZoneGroup to include selected zone visibility.
- Improve camera transition speed in ZoneCentreTarget.
- Add clearSelectedZone functionality in useZoneStore.
- Integrate clearSelectedZone in KeyPressListener for ESCAPE key action.
- Adjust sidebar and module toggle positioning for better UI layout.
- Clean up unused code and comments in Project component.
- Updated the builder module to improve code readability and organization by adjusting import statements and restructuring the component.
- Enhanced the distance text component to manage lines more effectively, including the addition of room state management.
- Modified the trigger handler to accept an optional materialId parameter, ensuring more robust handling of triggers across different event types.
- Introduced a new rooms state in the store for better management of room-related data.
- Implement user following functionality in Header component
- Update FollowPerson component to handle target and rotation
- Modify CollabUserIcon to include target data for selected users
- Adjust setCameraView function to utilize target for camera positioning
- Extend user types to include position, rotation, and target properties
- 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.
- Commented out the handleDrop function in RealTimeVisualization.tsx and moved its logic to a new utility function createHandleDrop for better separation of concerns.
- Updated Project.tsx to utilize the new createHandleDrop function, improving readability and maintainability.
- Enhanced styling for the scene container and real-time visualization components to improve layout and responsiveness.
- Removed unnecessary styles and consolidated button and input styles for consistency.
- Cleaned up unused imports and variables in various files to streamline the codebase.
- Simplified state initialization and effect hooks for better readability.
- Enhanced event handling functions for speed, action type, and action renaming.
- Updated current values retrieval logic to utilize getEventByModelUuid.
- Cleaned up JSX structure for better maintainability.
Update addAssetModel to remove unnecessary console log
- Removed debug logging for roboticArmEvent in addAssetModel.
Enhance copyPasteControls and duplicationControls with event handling
- Integrated useEventsStore to manage events during copy and paste operations.
- Updated event data structure for Conveyor, Vehicle, ArmBot, and StaticMachine types.
- Ensured proper UUID generation for new events and actions.
Refactor PointsCreator to ensure event sphere clearing
- Re-enabled clearSelectedEventSphere on pointer miss events for better UX.
Add logging in Products component for debugging
- Added console log to inspect data fetched from getAllProductsApi.
Update useProductStore to return updated events after modifications
- Modified updateEvent, addAction, removeAction, updateAction, and renameAction to return updated event data.
- Ensured consistency in event handling across the product store.
- Removed redundant data structure in handleModelLoad function.
- Introduced eventData object to encapsulate event-related information for different asset types (Conveyor, Vehicle, ArmBot, StaticMachine).
- Updated socket emission to include complete data with eventData.
- Enhanced copy-paste and duplication controls to maintain eventData integrity during object duplication.
- Integrated event data updates in move and rotate controls to reflect changes in the simulation state.
- Improved PointsCreator component to handle rotation for event groups.
- Updated handleAddEventToProduct function to support event data management.
- Enhanced product management to fetch existing products from the server and handle new product creation.
- Added new types for eventData in worldTypes and simulationTypes for better type safety.
- Refactored IndexedDB utility functions for cleaner code.