Commit Graph

7 Commits

Author SHA1 Message Date
Jerald-Golden-B 1d57be8d19 Refactor component imports and state management for clarity and efficiency 2025-05-21 17:27:54 +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
Jerald-Golden-B 2c67081173 Refactor success notifications to use echo instead of toast; update selection controls and duplication logic
- Changed success notifications from `toast.success` to `echo.success` in copy, duplication, move, rotate, and selection controls.
- Updated selection logic in `PostProcessing` to use `flattenChildren` for better performance.
- Enhanced `Simulator` component to handle selected product state and execution order more effectively.
- Modified `useSelectedItem` state to include `category` and `subCategory` properties for better item classification.
- Adjusted `WallItem` interface to standardize type values and added `modelfileID` for improved asset management.
2025-05-13 17:21:52 +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 b1569e64ed Refactor code structure for improved readability and maintainability 2025-05-12 18:09:22 +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