Commit Graph

52 Commits

Author SHA1 Message Date
Vishnu 69a7f28d71 refactor: update import statements for useToggleStore to named import 2025-05-21 17:42:40 +05:30
Vishnu 304ccf134a refactor: Clean up code by removing unused imports, enhancing component props, and improving styles for better maintainability 2025-05-15 11:06:01 +05:30
Vishnu c77b62db19 refactor: Update element IDs for better clarity and consistency across components 2025-05-15 10:30:37 +05:30
Nalvazhuthi df5dfd35bc feat: Enhance User Authentication and Socket Management
- Added IDs to buttons in UserAuth for better accessibility.
- Improved socket management in Zustand store, ensuring proper connection handling.
- Introduced new Compare functionality with a dedicated popup for version comparison.
- Updated footer styles for fixed positioning and improved responsiveness.
- Redesigned controls player UI for better user experience and added walk mode toggle.
- Refactored styles for real-time visualization and compare layout for consistency.
2025-05-14 18:39:47 +05:30
Jerald-Golden-B db7b4c6f7d Refactor store imports and consolidate state management
- Updated import paths for various components to use the new builder store.
- Removed the old store file and migrated all state management logic to the new builder store.
- Ensured all components utilizing socket and visualization state are now referencing the builder store.
- This change improves organization and maintainability of the state management system.
2025-05-13 17:53:00 +05:30
Vishnu 33687b822b Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-13 17:30:41 +05:30
Vishnu aa300ac576 Refactor Tools and Menu components for improved state management and UI responsiveness 2025-05-13 17:21:17 +05:30
Vishnu fefe4d8456 Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-05-13 17:02:11 +05:30
Nalvazhuthi 8ef37039f0 Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-05-13 16:54:37 +05:30
Nalvazhuthi d9b5f1e2d2 Developed Ui for shortcuts preview 2025-05-13 16:50:50 +05:30
Vishnu d66384c7a5 Refactor code structure for improved readability and maintainability 2025-05-13 15:37:06 +05:30
Jerald-Golden-B 3a9c41434d Merge branch 'main' into v2 2025-05-13 13:00:10 +05:30
Jerald-Golden-B ecab03c5f0 Refactor MoveControls and TransformControls for improved asset manipulation
- Cleaned up MoveControls component by removing unused variables and optimizing event handling.
- Enhanced asset movement logic with better key event detection and state management.
- Removed deprecated transform mode state from store.
- Updated worldTypes to remove unnecessary positionY property.
- Introduced TransformControls component for handling object transformations (translate/rotate) with proper state management and backend updates.
- Implemented event handling for mouse actions and keyboard shortcuts to toggle transformation modes.
2025-05-13 12:58:04 +05:30
Vishnu 4337bb9056 Refactor sidebar toggle functionality to support independent left and right UI states; update related components and styles for improved usability 2025-05-13 10:32:24 +05:30
Jerald-Golden-B 816196db1e Refactor tool and builder modules: remove unused movePoint state and related logic; enhance clarity in tool handling and state management. 2025-05-09 10:46:18 +05:30
Vishnu 8bf48bfcfe Update tooltips to include keyboard shortcuts and adjust tooltip positioning 2025-05-07 19:02:36 +05:30
Vishnu ad2b6b96f3 Add tooltips to various components and improve styling for better user experience 2025-05-07 13:56:31 +05:30
Vishnu 44e3f5c207 Refactor RealTimeVisualization component and handle widget drop functionality
- 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.
2025-05-02 17:39:11 +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
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
Nalvazhuthi 4edb3cfd7d updated folder structure 2025-04-11 18:08:47 +05:30
Vishnu de2bfc9149 refactor: Implement modifier key detection for keyboard shortcuts in various controls 2025-04-10 13:41:05 +05:30
Vishnu 03e9bcc740 feat: Add Shortcut Keys, activeSubTool state management and improve user avatar handling 2025-04-09 17:43:44 +05:30
Jerald-Golden-B 715e551098 Merge remote-tracking branch 'origin/ui' into simulation 2025-04-08 18:36:41 +05:30
Nalvazhuthi ed6edef24e updated visualization panel ui and added outer click 2025-04-08 18:34:21 +05:30
Jerald-Golden-B b5ba3a0ce1 Refactor event handling and state management for StaticMachine and ArmBot types
- Updated `loadInitialFloorItems.ts` to streamline event data processing for StaticMachine and ArmBot types.
- Enhanced `copyPasteControls.tsx` and `duplicationControls.tsx` to support StaticMachine and ArmBot event data creation with proper UUID generation.
- Modified `moveControls.tsx`, `rotateControls.tsx`, and `transformControls.tsx` to include event data in the state.
- Improved `pathConnector.tsx` to handle connections for StaticMachine and ArmBot types, including deletion functionality.
- Updated store management to rename `useDeleteModels` to `useDeleteTool` for clarity.
- Adjusted type definitions in `worldTypes.d.ts` to include StaticMachine and ArmBot event schemas.
2025-04-08 14:56:45 +05:30
Poovizhi99 37f912a6f1 solved few bugs in agv 2025-04-04 09:46:18 +05:30
Poovizhi99 15d48372a3 merged to main 2025-04-02 19:21:13 +05:30
Poovizhi99 f5f74f35ad added avg paths 2025-04-02 19:12:14 +05:30
Gomathi 238f76cb4c socket added for 3d and floating Widget 2025-04-02 18:49:18 +05:30
Jerald-Golden-B 29ea88a58a Merge remote-tracking branch 'origin/rtViz' into simulation 2025-03-31 19:53:54 +05:30
Gomathi 6b8ccc02c7 3d widget api added and template frontend and backend completed 2025-03-31 19:20:03 +05:30
Jerald-Golden-B e54c9e6e0d Refactor Tools component for improved readability and structure 2025-03-31 14:52:06 +05:30
Jerald-Golden-B b71fdbddbb Merge remote-tracking branch 'origin/simulation-agv' into simulation 2025-03-31 14:29:04 +05:30
Poovizhi99 cacb23ea5a added feneration assets 2025-03-31 12:59:12 +05:30
Poovizhi99 e1200f52d0 assets added based on categoryin builder 2025-03-31 12:07:25 +05:30
Vishnu 8fc4453cee Refactor input styles, implement 3D toggle state management, and enhance FileMenu with dropdown options 2025-03-31 11:11:44 +05:30
Jerald-Golden-B d4d4b145c7 refactor: improve toggle UI logic in Header and Tools components for better state management 2025-03-29 14:31:02 +05:30
Jerald-Golden-B c2dc898d53 refactor: rename position handlers to startPoint and endPoint for clarity; update toggle UI logic to use localStorage 2025-03-29 13:57:39 +05:30
Jerald-Golden-B 991fd4328a Merge remote-tracking branch 'origin/simulation-agv' into simulation 2025-03-29 13:15:53 +05:30
Jerald-Golden-B 13732a5679 added ui and integerated ui for the vehicle mechanics 2025-03-29 12:58:54 +05:30
Poovizhi99 cff29304d0 integrated Factory builder features 2025-03-29 12:57:16 +05:30
Jerald-Golden-B 1ce24a64f1 refactor: standardize activeTool casing and enhance trigger mechanics with bufferTime 2025-03-29 10:24:47 +05:30
Vishnu 68211c277b simulation slider 2025-03-27 10:55:44 +05:30
Nalvazhuthi 6aa1ee8bdd added marketplace cards 2025-03-26 13:52:10 +05:30
Nalvazhuthi b585e74fcb adding market place 2025-03-26 11:30:17 +05:30
Nalvazhuthi 932ab54631 added 2d 3d view 2025-03-26 10:03:43 +05:30
Nalvazhuthi 33632fd58e updated ui 2025-03-25 15:55:48 +05:30
Nalvazhuthi a84fe40486 updated pannels 2025-03-25 14:25:51 +05:30