v2-ui #89

Merged
Vishnu merged 5 commits from v2-ui into main 2025-05-16 08:38:20 +00:00

5 Commits

Author SHA1 Message Date
Vishnu bb826b7bdb Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-16 12:43:29 +05:30
Nalvazhuthi d6dceb400f refactor: Update layout styles and improve KeyPressListener for better UI responsiveness and shortcut handling 2025-05-15 18:19:35 +05:30
Nalvazhuthi 95f118f8ee Refactor and enhance various components and utilities
- Updated floorItemsGroup to send unique floor items to the GLTF loader.
- Modified Card component to dynamically set button ID based on AssetID.
- Enhanced FilterSearch component to assign unique IDs to star buttons.
- Refactored camMode to utilize a new firstPersonCamera utility for cleaner code.
- Introduced firstPersonCamera utility for handling camera mode transitions.
- Improved Templates component to use nullish coalescing for email retrieval.
- Cleaned up AddButtons component by removing commented-out code and optimizing email retrieval.
- Updated Panel component to generate unique IDs for panel wrappers.
- Simplified Project component by removing unused setIsPlaying function.
- Removed hardcoded backend URL in panel service.
- Created useAssetStore for managing asset state and CRUD operations.
- Added camera mode state management to usePlayButtonStore.
- Enhanced footer styles for better layout and responsiveness.
- Improved simulation styles for better control visibility and responsiveness.
- Refactored tools styles for cleaner transitions and hover effects.
- Updated realTimeViz styles for better layout and responsiveness.
- Introduced builderTypes for better type safety in asset management.
- Enhanced shortcut key handling to include camera mode toggling.
2025-05-15 18:19:20 +05:30
Nalvazhuthi d187e4cc20 feat: Implement version saving functionality and layout comparison feature
- Added `useSaveVersion` store to manage version saving state.
- Updated `SideBarLeft` and `SideBarRight` components to conditionally render based on version saving state.
- Introduced `CompareLayOut` component for layout comparison with resizing functionality.
- Created `ComparePopUp` component to prompt users to save versions before comparing layouts.
- Enhanced `Simulations` component to handle version saving and comparison logic.
- Updated `Project` page to integrate layout selection and comparison features.
- Added styles for the new comparison layout and pop-up components.
- Refactored shortcut handling to include version saving state management.
2025-05-15 17:34:46 +05:30
Jerald-Golden-B f37750023f Refactor FloorItemsGroup to integrate environment data retrieval and improve asset loading progress tracking
Enhance useRetrieveHandler to manage retrieval timing based on animation speed and arm bot state

Update materials component to streamline imports and improve readability

Modify roboticArmInstance to change state handling from 'idle' to 'running' during active phases

Fix useTriggerHandler to ensure actions are handled correctly when material is null

Refactor vehicleInstance to improve material drop handling and integrate conveyor and robotic arm interactions

Add getLastMaterial method to useVehicleStore for better material management in vehicle instances
2025-05-15 14:36:57 +05:30