Commit Graph

920 Commits

Author SHA1 Message Date
Jerald-Golden-B 70136fd7d3 Add useThree hook and update visibility logic for target mesh in RoboticArmInstance 2025-05-21 17:38:42 +05:30
Vishnu d628567eea Merge pull request 'v2' (#92) from v2 into main
Reviewed-on: http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev/pulls/92
2025-05-21 12:01:31 +00:00
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 2b4153f520 Refactor MaterialAnimator to replace sphereRef with materialRef for clarity and consistency 2025-05-21 17:06:07 +05:30
Jerald-Golden-B 406b52b0d8 Enhance event managers with play, pause, and reset functionality; remove obsolete vehicle event manager 2025-05-21 16:41:16 +05:30
Jerald-Golden-B 184cea5067 Merge branch 'main' into v2 2025-05-21 16:13:08 +05:30
Jerald-Golden-B 8e01c24844 Refactor API imports and restructure services
- Updated import paths for `upsertProductOrEventApi`, `deleteEventDataApi`, `deleteProductApi`, `getProductApi`, `getAllProductsApi`, and `renameProductApi` to point to the new `products` directory.
- Removed old API files for `UpsertProductOrEventApi`, `deleteEventDataApi`, `deleteProductApi`, `getProductApi`, `getAllProductsApi`, and `renameProductApi`.
- Introduced new implementations for the above APIs in the `products` directory.
- Added `MaterialCollisionDetector` component to handle material collision detection using a web worker.
- Updated various components to utilize the new API structure and ensure proper functionality.
2025-05-21 15:36:34 +05:30
Vishnu fb108d33c9 Merge pull request 'v2-ui' (#91) from v2-ui into main
Reviewed-on: http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev/pulls/91
2025-05-21 07:36:05 +00:00
Vishnu 77a15d0f48 Merge remote-tracking branch 'origin/analysis' into v2-ui 2025-05-21 13:00:10 +05:30
Vishnu 1eb5522716 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-21 12:59:44 +05:30
Vishnu 39e3b28ba7 fix: add transparent outline to button for better hover visibility 2025-05-21 12:59:17 +05:30
Jerald-Golden-B 60a277f7f0 feat: implement vehicle and machine event managers for monitoring state changes 2025-05-21 12:43:25 +05:30
Gomathi c7ec5289fc Merge branch 'main' into analysis 2025-05-21 10:43:07 +05:30
Jerald-Golden-B 402223feb3 feat: optimize ArrowOnQuadraticBezier to improve curve calculations and simplify subCurve generation 2025-05-21 10:05:17 +05:30
Jerald-Golden-B 88d6c48c1d feat: update PointsCreator to include getPointByUuidFromProduct and enhance point state management 2025-05-21 09:44:49 +05:30
Vishnu 812e96f1c7 Merge remote-tracking branch 'origin/v2-ui' 2025-05-20 18:33:58 +05:30
Jerald-Golden-B 542faf5ea9 feat: enhance PointsCreator to update backend with event data and refactor event handling logic 2025-05-20 18:17:06 +05:30
Jerald-Golden-B 292ea0dbc2 feat: refactor TriggerConnector to include Arrows component for visualizing connections and update import paths
refactor: remove unused triggerConnector file and update trigger.tsx import path
2025-05-20 17:46:22 +05:30
Gomathi 9b3a4e7253 Refactor various components: remove console logs, adjust visibility logic, and enhance styling for active list items 2025-05-20 15:49:45 +05:30
Vishnu 6ff23e1dd9 fix: correct input value handling in InputWithDropDown component 2025-05-20 15:32:25 +05:30
Jerald-Golden-B 92ae705399 fix: add optional chaining to prevent runtime errors in action handlers and instances 2025-05-20 15:07:14 +05:30
Jerald-Golden-B 6da65eba7b feat: implement conveyor and arm bot event managers for monitoring state changes 2025-05-20 13:01:43 +05:30
Vishnu 74c1562c3c feat: improve zone name positioning in ZoneGroup based on polygon center and average height 2025-05-20 10:13:31 +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 068af3f936 feat: add zone name display in ZoneGroup and update styles for zone-name-wrapper 2025-05-19 16:27:58 +05:30
Vishnu bdde20a611 refactor: remove unused imports from ROISummary and ThroughPutData components 2025-05-19 16:13:03 +05:30
Poovizhi99 3654694392 changed local api to server 2025-05-19 14:58:24 +05:30
Poovizhi99 0ecb85a211 added dashboard with add delete and recently view the projects 2025-05-19 14:50:33 +05:30
Vishnu aea5293e2f Merge remote-tracking branch 'origin/analysis' 2025-05-19 11:02:53 +05:30
Vishnu a5acb613af fix: correct typo in log message in MarketPlace component 2025-05-19 11:02:50 +05:30
Gomathi 4298c34a36 Add modelUrl prop to card component in CardsContainer; clean up vehicleInstance imports 2025-05-19 10:58:25 +05:30
Gomathi 3d0226843a Merge branch 'main' into analysis 2025-05-19 10:57:24 +05:30
Gomathi d000ee193a Enable sprite rendering for 3D widgets in ProductionCapacity, ReturnOfInvestment, StateWorking, and Throughput components; update CSS to allow pointer events in realTimeViz 2025-05-19 10:53:16 +05:30
Vishnu b7219bce19 Merge branch 'main' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev 2025-05-19 10:28:25 +05:30
Vishnu 3521deeb68 fix: Add missing eslint-disable comment for useEffect dependency array 2025-05-19 10:28:22 +05:30
Vishnu 448338c65d Merge pull request 'v2-ui' (#90) from v2-ui into main
Reviewed-on: http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev/pulls/90
2025-05-19 03:49:09 +00:00
Gomathi 48992317f4 Update server socket API base URL in environment configuration 2025-05-17 18:05:36 +05:30
Gomathi b1dc6216b3 2d and 3d widgets duplication removed 2025-05-17 18:05:00 +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 65726ed337 Merge pull request 'v2-ui' (#89) from v2-ui into main
Reviewed-on: http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev/pulls/89
2025-05-16 08:38:06 +00:00
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
Gomathi 28e11d04b4 Enhance analysis components with input values integration and improve state management for production capacity and ROI calculations 2025-05-15 18:00:07 +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