Commit Graph

329 Commits

Author SHA1 Message Date
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
5460c23a46 Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-04-29 18:37:18 +05:30
949dbbca8d refactor: Enhance FileMenu component with click handling and outside click detection 2025-04-29 18:32:25 +05:30
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
Nalvazhuthi
38161fb733 updated simulation player 2025-04-29 17:54:36 +05:30
45fea9465e Refactor styles to use 'background' shorthand property instead of 'background-color' for consistency across components. Updated various components including confirmation pop-up, input fields, lists, marketplace, menu, module toggle, simulation, and more. Enhanced visual effects with backdrop filters and adjusted padding/margins for improved layout. Removed unnecessary styles and optimized hover effects for better user experience. 2025-04-29 16:27:03 +05:30
ab5ade7bee feat: Enhance camera control and user experience with improved key handling and speed adjustments 2025-04-29 13:42:24 +05:30
c1a7fe3015 feat: Implement collaboration features including user following and avatar management 2025-04-29 12:50:14 +05:30
Nalvazhuthi
cc44826f66 updating progressbar 2025-04-29 10:34:21 +05:30
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
f05524f928 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-04-29 10:29:13 +05:30
2f65ee6a71 feat: Implement handleAddEventToProduct function and integrate it into EventProperties and Simulations components 2025-04-29 09:29:18 +05:30
1651e972db Merge remote-tracking branch 'origin/simulation-armbot-v2' into v2 2025-04-29 09:11:23 +05:30
4b4fe53ee4 play-pause-rest actions 2025-04-28 18:51:16 +05:30
7282107cd5 feat: Enhance Trigger component with rename functionality and resize option 2025-04-28 18:50:11 +05:30
94cdfa3a6c feat: Conditionally render resize button in ActionsList based on multipleAction prop 2025-04-28 18:34:50 +05:30
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
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
1182850a1f armbot ui added 2025-04-28 17:54:55 +05:30
Nalvazhuthi
f427da34a7 added arm ui 2025-04-28 13:04:11 +05:30
Nalvazhuthi
3ebadf3c10 added arm ui 2025-04-28 12:26:31 +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
e64840a4e7 feat: Update logo component and refactor UserAuth for improved readability and consistency 2025-04-28 09:25:51 +05:30
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
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
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
be4d8d458e Merge remote-tracking branch 'origin/v2' into v2-ui 2025-04-24 15:44:28 +05:30
d7f1c5224d feat: Refactor icon components and update button elements for improved accessibility and consistency 2025-04-24 14:05:55 +05:30
85515c6cd3 feat: Refactor simulation components and enhance product management with new features 2025-04-24 11:07:15 +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
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
54cc3deb98 folder structure change 2025-04-21 11:53:42 +05:30
1e901c327d Merge remote-tracking branch 'origin/rtViz' into simulation 2025-04-16 18:31:41 +05:30
cc074a5913 Merge branch 'realTimeVisulization' into simulation 2025-04-16 18:31:21 +05:30
64885f246e refactor: Improve error handling and variable naming in Assets and IKAnimationController components 2025-04-16 18:05:23 +05:30
16cf1b96cc bug fix for data selection tab 2025-04-16 18:04:29 +05:30
ee319c28e4 refactor: Remove unnecessary console logs and improve connection limit checks in simulation components 2025-04-16 16:33:48 +05:30
SreeNath14
b46b468e1c Merge remote-tracking branch 'origin/simulation' into simulation-animation 2025-04-16 11:45:29 +05:30
318ac6d939 Merge branch 'main' into rtViz 2025-04-16 09:22:15 +05:30
fa6404d86c Merge branch 'realTimeVisulization' into simulation 2025-04-15 18:35:25 +05:30
SreeNath14
c7147773c5 "updated arm logic" 2025-04-15 18:34:38 +05:30
db9c9fb8b5 duplicate zone rename bug resolved 2025-04-15 18:28:37 +05:30
109f88949c bug fix 2025-04-15 18:05:01 +05:30
5cef9bdb8a Refactor simulation types and update imports
- Renamed simulation type imports from `simulation` to `simulationTypes` across multiple files for consistency.
- Consolidated simulation type definitions into a new `simulationTypes.d.ts` file.
- Updated relevant components (e.g., `ArmBot`, `IkInstances`, `PathConnector`, etc.) to use the new type definitions.
- Removed the old `simulation.d.ts` file to clean up the codebase.
- Adjusted function signatures and state management in components to align with the new type structure.
2025-04-15 14:15:39 +05:30