Commit Graph

14 Commits

Author SHA1 Message Date
db162c9ffa refactor: Update icon imports and improve UI components; enhance styles for better layout and responsiveness; modify event properties and simulation player functionality 2025-05-02 16:43:43 +05:30
882c81a385 Refactor asset model handling and event data management
- 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.
2025-04-29 19:15:17 +05:30
2f65ee6a71 feat: Implement handleAddEventToProduct function and integrate it into EventProperties and Simulations components 2025-04-29 09:29:18 +05:30
897633d4cc Refactor mechanics components to use ActionsList for action management
- Consolidated action handling logic into a new ActionsList component for better code organization and reusability.
- Updated RoboticArmMechanics, StorageMechanics, and VehicleMechanics to utilize the new ActionsList component.
- Improved state management and action updates within the mechanics components.
- Enhanced UI responsiveness and styling in sidebar and real-time visualization pages.
2025-04-28 18:08:27 +05:30
5b6badaa52 refactor: Improve code readability and structure in EventProperties, DelayAction, SwapAction, and PreviewSelectionWithUpload components 2025-04-28 09:51:07 +05:30
328b045a7c Merge remote-tracking branch 'origin/v2' into v2-ui 2025-04-28 09:30:13 +05:30
a1a1eacb79 feat: Refactor event data handling and API integration; update variable names for consistency and clarity 2025-04-25 13:47:46 +05:30
bfcb67c3c8 feat: Enhance EventProperties and mechanics components with new mechanics; refactor action handling and improve state management for various actions 2025-04-25 11:19:40 +05:30
4310b473d0 feat: Enhance EventProperties and mechanics components with new state management and action handling; add DelayAction component and remove unused IkInstances 2025-04-24 19:15:36 +05:30
a305c3c006 Refactor EventProperties component to utilize new state management for selected event data and asset selection; implement action handling based on asset type and improve action rendering logic.
Enhance Simulations component to support adding and removing events from products; integrate new asset selection store for better state management.

Fix import paths in Design component and related files to ensure correct module resolution.

Update Tools component to correct import paths for template saving functionality.

Refactor EditWidgetOption component to simplify option handling and remove unnecessary state management.

Add new mechanics components for various asset types (Conveyor, Machine, Robotic Arm, Storage, Vehicle) as placeholders for future implementation.

Implement Trigger and TriggerConnector components to manage right-click interactions and asset selection in the simulation environment.

Enhance product store with new helper functions for event and action retrieval based on UUIDs.

Introduce new selected event data and asset state management in the simulation store for improved event handling.

Update simulation types to include new action types and improve type definitions for better type safety.

Remove obsolete temp markdown file from triggers directory.
2025-04-24 16:38:42 +05:30
d7f1c5224d feat: Refactor icon components and update button elements for improved accessibility and consistency 2025-04-24 14:05:55 +05:30
e43bfb6e98 feat: Add Trigger component and integrate it into EventProperties; refactor PickAndPlaceAction for improved structure 2025-04-23 18:25:55 +05:30
2f2ea93afe feat: Update asset types and labels in event properties and spawn action components 2025-04-23 17:55:35 +05:30
cbb773b623 feat: Implement event properties management with action handling and UI components 2025-04-23 17:15:07 +05:30