Commit Graph

816 Commits

Author SHA1 Message Date
Nalvazhuthi 5f9207a0fe Enhance Visualization and Design components: add 'Design' option to ToggleHeader, improve state handling, and update styles for better consistency 2025-05-22 15:08:52 +05:30
Nalvazhuthi 634acdd2cc Refactor version management: replace crypto.randomUUID with generateUniqueId, add new icons, and enhance version editing features 2025-05-20 09:40:52 +05:30
Vishnu da7ad17a84 Refactor Project component: remove unused version store and update SimulationPlayer import 2025-05-16 18:15:30 +05:30
Vishnu 1c4b02dee0 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-16 18:15:18 +05:30
Jerald-Golden-B b7a5908884 Refactor scene components and add moving clouds feature
- Cleaned up the Ground and Shadows components for better readability and consistency.
- Introduced MovingClouds component to enhance the visual environment with animated clouds.
- Updated Scene component to include new cloud feature.
- Improved ConveyorInstance logic to handle product selection and conveyor state management.
- Enhanced RoboticArmInstance to check for active robotic arms in subsequences.
- Added utility functions to find conveyors and robotic arms in sequences for better simulation control.
- Refactored trigger handling to manage material pause states more effectively.
- Optimized vehicle instance logic for smoother operation during loading and unloading.
2025-05-16 18:11:58 +05:30
Nalvazhuthi f3f3784560 Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-05-16 18:03:23 +05:30
Nalvazhuthi 933f87a8cb Refactor compare components and version management
- Updated SVG attributes in SimulationIcons to use camelCase for color interpolation filters.
- Refactored import paths for ComparePopUp and CompareLayOut to new directory structure.
- Enhanced VersionHistory component to utilize version store for better state management.
- Removed deprecated CompareLayOut and compare components, replacing them with new versions.
- Implemented VersionSaved component to display notifications for newly saved versions.
- Added functionality to save and edit version names and descriptions.
- Updated styles for version notifications and editing popups.
- Improved AddButtons component to dynamically set IDs based on side.
- Enhanced Project component to integrate new version management features.
2025-05-16 18:02:46 +05:30
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
Vishnu 5c896e11a8 refactor: Update min-width property in controls-player-container for better layout handling 2025-05-15 12:11:25 +05:30
Vishnu 032d6e80a4 refactor: Update KeyPressListener to include isPlaying state for improved shortcut handling 2025-05-15 12:10:13 +05:30
Vishnu 9cd08f75e3 refactor: Enhance ControlsPlayer and CamMode for improved camera mode handling and UI responsiveness 2025-05-15 12:06:51 +05:30
Vishnu 8facad31bc refactor: Implement hidePlayer state in ControlsPlayer and SimulationPlayer for better UI control 2025-05-15 11:32:16 +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
Vishnu 8d555278d2 Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-05-15 10:11:24 +05:30
Nalvazhuthi 4daed0f09a refactor: Simplify chartTypes declaration and enhance widget drag-and-drop functionality 2025-05-15 10:10:56 +05:30
Vishnu d99a78ece0 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-15 10:10:36 +05:30
Vishnu 3e97c67b24 Merge remote-tracking branch 'origin/main' into v2-ui 2025-05-15 10:01:31 +05:30
Jerald-Golden-B 243a2e7606 Merge branch 'main' into v2 2025-05-15 09:44:40 +05:30
Jerald-Golden-B 6c4b298072 Implement asset management and loading functionality with Zustand; refactor error handling and update asset types 2025-05-15 09:34:55 +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
Vishnu 69e7cdaf35 Update app/src/components/temporary/SelectFloorPlan.tsx 2025-05-13 14:59:19 +00:00
Vishnu b45aa1d2ab Merge pull request 'v2-ui' (#87) from v2-ui into main
Reviewed-on: http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev/pulls/87
2025-05-13 14:34:32 +00:00
Vishnu e5f860ccb3 Update floorplane_2.glb asset for improved layout representation 2025-05-13 20:02:53 +05:30
Vishnu 1243ccd842 Refactor constants and update grid and plane dimensions for improved configuration management 2025-05-13 20:00:47 +05:30
Vishnu 33a7efceab Refactor CalculateAreaGroup component for improved readability and consistency 2025-05-13 18:56:12 +05:30
Vishnu ca2b999de8 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-13 18:45:42 +05:30
Jerald-Golden-B 0134b64ca0 Remove redundant rating validation logic from AssetPreview component 2025-05-13 18:43:18 +05:30
Jerald-Golden-B 9e56948f99 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-13 18:43:01 +05:30
Jerald-Golden-B 8a815f4539 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-05-13 18:35:53 +05:30
Vishnu bf8d90b18c Refactor SelectFloorPlan and LayoutModel components to use Zustand for layout management and improve code clarity 2025-05-13 18:34:24 +05:30
Vishnu bcd648f71b Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-13 18:22:18 +05:30
Vishnu 9d2406e123 Temporarily comment out SelectFloorPlan component in Project page for future removal 2025-05-13 18:21:48 +05:30
Vishnu 42f424c9b0 Add SelectFloorPlan component to Project page and style updates for better layout 2025-05-13 18:21:22 +05:30
Jerald-Golden-B ba4fdfc314 Add layout management with Zustand and integrate LayoutImage component 2025-05-13 18:20:25 +05:30
Vishnu e8b637dddf Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-05-13 18:14:42 +05:30
Vishnu a5cd65898d Refactor Footer component to integrate OuterClick for better shortcut management; add SelectFloorPlan component with preset options 2025-05-13 18:13:48 +05:30
Nalvazhuthi 9200cade5a Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-05-13 18:08:34 +05:30
Nalvazhuthi f2bb79f61c Enhance Footer component to toggle shortcut visibility with Escape key; integrate OuterClick for improved interaction 2025-05-13 18:05:57 +05:30
Jerald-Golden-B b7f74c975c Refactor material handling to include setEndTime in despawn and store actions for improved state management 2025-05-13 18:03:57 +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 e16092b204 Refactor code structure for improved readability and maintainability 2025-05-13 17:46:30 +05:30
Vishnu 33687b822b Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-13 17:30:41 +05:30
Jerald-Golden-B be23b30e91 Refactor notification system to replace toast with echo for consistency; update relevant controls for improved user feedback 2025-05-13 17:23:12 +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
Vishnu aa300ac576 Refactor Tools and Menu components for improved state management and UI responsiveness 2025-05-13 17:21:17 +05:30