Commit Graph

7 Commits

Author SHA1 Message Date
Jerald-Golden-B 280ec8a756 Refactor tool mode handling across simulation and builder modules
- Removed the use of deleteTool and deletePointOrLine states, replacing them with a unified toolMode state.
- Updated Point, Arrows, PointsCreator, TriggerConnector, and other components to utilize toolMode for determining delete actions.
- Cleaned up unused imports and commented-out code related to deleteTool.
- Enhanced event handling in selectionControls and trigger connections to respond to toolMode changes.
- Adjusted color and interaction logic based on the current toolMode.
2025-06-11 13:19:27 +05:30
Poovizhi99 c77abff424 Implement rename mode functionality and integrate RenameTooltip component; update state management for renaming and mouse interactions in FloorGroup and Project components. 2025-05-29 14:29:53 +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 a477e0c48f Refactor and enhance zone and wall item management:
- 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.
2025-05-09 14:54:45 +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
Jerald_Golden b44aeb986f upstream pull + signIn/Up 2025-03-25 17:34:20 +05:30
Jerald-Golden-B 2303682a15 add initial components and utility functions for simulation and builder modules 2025-03-25 14:00:03 +05:30