Commit Graph

220 Commits

Author SHA1 Message Date
Jerald-Golden-B d29c4ce48a Refactor Trigger component: remove console logs and clean up unused code in Trigger and RoboticArm components; update ArmBotUI to improve state management and backend integration; fix typo in useProductStore comments. 2025-05-03 10:28:59 +05:30
Jerald-Golden-B 8b0daa3305 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-05-03 10:11:20 +05:30
Jerald-Golden-B 94c306c813 Refactor Trigger component usage in mechanics files: pass selectedPointData and type props for Machine, RoboticArm, StorageUnit, and Vehicle to enhance functionality and maintain consistency. 2025-05-03 10:09:39 +05:30
Vishnu fb0da32504 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-02 18:52:30 +05:30
Jerald-Golden-B 439f917884 Refactor Trigger component: pass selectedPointData and type props, enhance state management for triggers, and streamline rendering logic for better performance. 2025-05-02 17:34:55 +05:30
Vishnu 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
Jerald-Golden-B 01a03f5166 Refactor action updates to include productId in updateAction calls across mechanics components; enhance event handling in product store and trigger management. Add clear functions for various stores to reset state. Update action and trigger management to prevent duplicates and ensure integrity. Adjust initial load actions to use consistent naming conventions. 2025-05-02 13:13:41 +05:30
Jerald-Golden-B 405dbe434f Merge branch 'main' into v2 2025-05-02 11:55:57 +05:30
Jerald-Golden-B 928c683a79 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-02 11:36:12 +05:30
Poovizhi99 2a669f6337 removed sample data and worked with schema for agv 2025-05-02 11:15:11 +05:30
Jerald-Golden-B 29efeab387 Enhance event handling and backend updates across mechanics components; refactor trigger management in TriggerConnector 2025-04-30 20:16:26 +05:30
Vishnu b1b8672cf8 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-04-30 16:53:54 +05:30
Vishnu 5ea85f49f0 refactor: Update icon stroke and fill colors based on active state; modify EventProperties component structure; adjust styles in tools, sidebar, and realTimeViz for improved layout and responsiveness 2025-04-30 16:52:08 +05:30
Vishnu 5119b014b7 Refactor Assets component layout and styling; enhance Trigger dropdowns with labels; update MenuBar theme retrieval; fix icon import in AssetPreview; adjust Card component star rating display; modify AddButtons styles and functionality; improve variable definitions in SCSS files; streamline input component styles; refine marketplace card layout; enhance menu dropdown styles; update module toggle styles; adjust tools component styles; improve visualization floating styles; clean up sidebar styles; optimize realTimeViz styles for better responsiveness. 2025-04-30 16:23:24 +05:30
Jerald-Golden-B a704be77d3 Refactor VehicleMechanics component for improved state management and event handling
- 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.
2025-04-30 15:58:23 +05:30
Jerald-Golden-B 304d6689c1 Refactor Simulations component layout: streamline event handling and add comparison functionality 2025-04-30 12:46:00 +05:30
Jerald-Golden-B 73f9bb29f7 Merge branch 'main' into v2 2025-04-30 12:01:39 +05:30
Jerald-Golden-B 014bc3a7ca Refactor model identifier naming conventions from 'modeluuid' and 'modelname' to 'modelUuid' and 'modelName' across multiple modules for consistency and clarity. Update related API calls and local storage handling to reflect these changes. Remove unused deleteProductDataApi service and implement deleteProductApi service for product data deletion. Introduce steeringAngle property in vehicle configurations. 2025-04-30 11:46:20 +05:30
Vishnu 4152e611a9 refactor: Update dropdown items to include active state, enhance List and DropDownList components, and improve sidebar styles for better layout and accessibility 2025-04-30 10:10:39 +05:30
Jerald-Golden-B 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
Vishnu 0b0e1e3d8b Refactor event properties components to use section elements for better semantics and styling consistency; update mechanics components to enhance layout and improve user experience; modify simulation component to manage open/close state for event lists; enhance file menu with project icon; improve input toggle styles; standardize color variables in SCSS; adjust sidebar styles for better visual hierarchy; implement backdrop filters for improved UI aesthetics; and refine overall component styling for consistency across the application. 2025-04-29 18:19:03 +05:30
Vishnu ab5ade7bee feat: Enhance camera control and user experience with improved key handling and speed adjustments 2025-04-29 13:42:24 +05:30
Vishnu c1a7fe3015 feat: Implement collaboration features including user following and avatar management 2025-04-29 12:50:14 +05:30
Jerald-Golden-B ea53af62c4 Refactor vehicle simulation components for improved path handling and state management
- Updated PointsCreator component to enhance event data selection and keyboard handling.
- Refactored VehicleAnimator to streamline animation logic and reset handling.
- Simplified VehicleInstance logic for better clarity and maintainability.
- Modified vehicle data structure to include rotation information for pick-up and unload points.
- Adjusted TypeScript types to reflect new vehicle point schema with nested position and rotation properties.
2025-04-29 10:33:30 +05:30
Vishnu 2f65ee6a71 feat: Implement handleAddEventToProduct function and integrate it into EventProperties and Simulations components 2025-04-29 09:29:18 +05:30
Vishnu 7282107cd5 feat: Enhance Trigger component with rename functionality and resize option 2025-04-28 18:50:11 +05:30
Vishnu 94cdfa3a6c feat: Conditionally render resize button in ActionsList based on multipleAction prop 2025-04-28 18:34:50 +05:30
Vishnu 2da211f464 feat: Enable add button in ActionsList based on multipleAction prop and style disabled state in sidebar 2025-04-28 18:25:25 +05:30
Vishnu 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
Vishnu 5b6badaa52 refactor: Improve code readability and structure in EventProperties, DelayAction, SwapAction, and PreviewSelectionWithUpload components 2025-04-28 09:51:07 +05:30
Vishnu 328b045a7c Merge remote-tracking branch 'origin/v2' into v2-ui 2025-04-28 09:30:13 +05:30
Jerald-Golden-B 81b353307b feat: Integrate upsertProductOrEventApi in Simulations and Products components; adjust loadInitialFloorItems to accept renderDistance parameter; update material handling in addAssetModel and Vehicles components 2025-04-25 18:29:01 +05:30
Jerald-Golden-B d7a22f5bfb feat: Refactor PickAndPlaceAction component to accept props for pick and place points; enhance RoboticArmMechanics with action handling and state management 2025-04-25 16:06:24 +05:30
Jerald-Golden-B a1a1eacb79 feat: Refactor event data handling and API integration; update variable names for consistency and clarity 2025-04-25 13:47:46 +05:30
Jerald-Golden-B 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
Jerald-Golden-B 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
Jerald-Golden-B 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
Vishnu be4d8d458e Merge remote-tracking branch 'origin/v2' into v2-ui 2025-04-24 15:44:28 +05:30
Vishnu d7f1c5224d feat: Refactor icon components and update button elements for improved accessibility and consistency 2025-04-24 14:05:55 +05:30
Jerald-Golden-B 85515c6cd3 feat: Refactor simulation components and enhance product management with new features 2025-04-24 11:07:15 +05:30
Vishnu e43bfb6e98 feat: Add Trigger component and integrate it into EventProperties; refactor PickAndPlaceAction for improved structure 2025-04-23 18:25:55 +05:30
Vishnu 2f2ea93afe feat: Update asset types and labels in event properties and spawn action components 2025-04-23 17:55:35 +05:30
Vishnu cbb773b623 feat: Implement event properties management with action handling and UI components 2025-04-23 17:15:07 +05:30
Jerald-Golden-B 6363d5b9af feat: Implement Zustand stores for machine, simulation, storage unit, vehicle, and visualization management
- Added `useMachineStore` for managing machine statuses, including actions for adding, removing, and updating machines.
- Introduced `useSimulationStore` to handle product and event management with actions for adding, removing, and updating products and events.
- Created `useStorageUnitStore` for managing storage unit statuses, including load tracking and state updates.
- Developed `useVehicleStore` for vehicle management, including load and state updates.
- Implemented `useChartStore` for managing measurement data and visualization settings.
- Added `useDroppedObjectsStore` for handling dropped objects in visualization zones, including object manipulation actions.
- Created `useZone3DWidgetStore` for managing 3D widget data in zones, including position and rotation updates.
- Introduced `useZoneStore` for managing selected zone states and widget configurations.
2025-04-22 14:28:29 +05:30
Jerald-Golden-B 54cc3deb98 folder structure change 2025-04-21 11:53:42 +05:30
Jerald-Golden-B 1e901c327d Merge remote-tracking branch 'origin/rtViz' into simulation 2025-04-16 18:31:41 +05:30
Jerald-Golden-B cc074a5913 Merge branch 'realTimeVisulization' into simulation 2025-04-16 18:31:21 +05:30
Jerald-Golden-B 64885f246e refactor: Improve error handling and variable naming in Assets and IKAnimationController components 2025-04-16 18:05:23 +05:30
gabriel 16cf1b96cc bug fix for data selection tab 2025-04-16 18:04:29 +05:30
Jerald-Golden-B ee319c28e4 refactor: Remove unnecessary console logs and improve connection limit checks in simulation components 2025-04-16 16:33:48 +05:30