Commit Graph

359 Commits

Author SHA1 Message Date
8fd0d0121e Implement code changes to enhance functionality and improve performance 2025-05-03 19:18:35 +05:30
e4b0fc61f5 Merge remote-tracking branch 'origin/simulation-armbot-v2' into v2 2025-05-03 19:18:10 +05:30
0b69494465 arm points constraints defined and armbot movements bug cleared 2025-05-03 19:11:24 +05:30
b85ff07a15 Merge branch 'main' into v2 2025-05-03 18:36:51 +05:30
13af6c2c67 Refactor conveyor mechanics and action handlers: update spawn count, interval, and delay handling; enhance material management in useMaterialStore; implement spawn action handler; unify action handling across various components. 2025-05-03 18:36:30 +05:30
ae9c2fda66 refactor: Improve code readability and consistency in PointsCreator component; streamline JSX structure and enhance key usage in event mapping 2025-05-03 18:16:31 +05:30
e39da61ed8 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-03 18:16:24 +05:30
Nalvazhuthi
c8c0f9a9c0 updating UI 2025-05-03 17:37:31 +05:30
Nalvazhuthi
2ad1006de4 updating UI 2025-05-03 17:28:46 +05:30
Nalvazhuthi
750ac5af1d Refactor footer and log components; introduce new log icons and improve styling
- Moved log icon logic to a separate file for better organization.
- Updated Footer component to utilize new log icon logic and improved styling.
- Created new LogIcons component for various log types.
- Enhanced LoggerContext to support 'success' log type.
- Refactored LogList component to use new log icon logic and improved tab handling.
- Removed unused CSS styles and consolidated log-related styles in SCSS files.
- Updated user authentication styles for better color consistency.
- Removed deprecated index.css file and adjusted imports accordingly.
- Improved overall styling and responsiveness of log and footer components.
2025-05-03 17:27:48 +05:30
2711702efa feat: Update icon components for consistency; refactor SVG attributes and styles 2025-05-03 17:21:37 +05:30
Nalvazhuthi
d5a5b0849c Refactor robotic arm simulation components
- Updated MachineInstances to utilize the machine store for rendering multiple MachineInstance components.
- Enhanced Machine component to include machine state management and logging.
- Refactored RoboticArmAnimator for improved path handling and animation logic.
- Modified RoboticArmInstance to streamline state management and integrate with the updated animator.
- Improved IKInstance to support armBot state and interaction.
- Adjusted RoboticArm to dynamically load armBots based on selected products and events.
- Cleaned up unused code and improved overall readability and maintainability.
2025-05-03 15:21:03 +05:30
135633ef7a Refactor logging components and styles; remove unused CSS; enhance log icon functionality
- Removed the random color generation function from ProductionCapacity component.
- Updated ThroughputSummary component to remove unused imports.
- Simplified LogList component by removing unnecessary icons and integrating GetLogIcon for log types.
- Enhanced LoggerContext to support a new "success" log type and optimized logger methods with useMemo.
- Adjusted SimulationPlayer to conditionally render analysis components.
- Deleted index.css and removed its import from index.tsx.
- Cleaned up builder module by removing unused imports and optimizing state management.
- Removed savedTheme from Ground component.
- Changed log message from info to warning in Project component.
- Updated log color variables in SCSS files for better visibility and consistency.
- Added new log icons for success, error, info, and warning in LogIcons component.
- Created GetLogIcon utility to streamline log icon rendering based on log type.
2025-05-03 15:20:52 +05:30
aefa9ec2b2 Fix SVG attribute casing in icons and update action handling in RoboticArmInstance for improved functionality 2025-05-03 13:49:59 +05:30
649352b4b4 Comment out mesh rendering in RoboticArmAnimator to disable visual representation of the armBot's position. 2025-05-03 12:35:56 +05:30
75699e7199 Refactor multiple components: streamline action handling in ActionsList, RoboticArmMechanics, and Trigger; update vehicle and robotic arm data management in Products and Vehicles; unify action naming in loadInitialFloorItems, copyPasteControls, and duplicationControls; enhance ArmBotUI with selected event sphere integration. 2025-05-03 12:25:10 +05:30
Nalvazhuthi
2c37472928 feat: Add dragging and rotating state management to simulation store
- Introduced `useIsDragging` and `useIsRotating` stores to manage dragging and rotating states.
- Each store maintains its own state and provides setter functions.

refactor: Enhance storage unit and vehicle stores

- Added `clearStorageUnits` and `clearvehicles` methods to clear respective stores.
- Prevent duplicate entries in `addStorageUnit` and `addVehicle` methods by checking for existing model UUIDs.

style: Update SCSS variables and improve styling consistency

- Refactored background gradient variables for better readability.
- Introduced log indication colors for better visual feedback.
- Cleaned up and organized styles in various components for improved maintainability.

chore: Remove unused ROISummary styles

- Deleted `ROISummary.scss` as it was no longer needed.

feat: Implement new analysis component styles

- Created `analysis.scss` for the new analysis component layout and styles.
- Added styles for various sections including metrics, throughput values, and progress bars.

fix: Update main styles import

- Adjusted imports in `main.scss` to reflect the new structure and removed obsolete imports.
2025-05-03 11:20:31 +05:30
Nalvazhuthi
55d691074b updating UI 2025-05-03 11:20:04 +05:30
b4e4bf7fb3 Refactor Simulations, RenameTooltip, EditWidgetOption, and RoboticArmAnimator components: streamline imports, enhance UI elements, and improve event handling logic. 2025-05-03 11:17:14 +05:30
52c6017649 Fix key prop in PointsCreator component: add unique key for nested point mapping to improve rendering performance. 2025-05-03 10:48:39 +05:30
6a79ef563c Refactor PointsCreator and RoboticArmInstance: remove unused hooks and streamline state management; update ArmBotUI to eliminate unnecessary imports. 2025-05-03 10:48:29 +05:30
c198a90ac6 Refactor PointsCreator and RoboticArmInstance: remove unused hooks and clean up code; comment out scene.add(helper) in IKInstance; streamline imports in ArmBotUI. 2025-05-03 10:45:36 +05:30
50171d851d Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-03 10:41:51 +05:30
1bfa004dc6 Enhance UI components: add active state to ZoneItem, refactor EditWidgetOption and RealTimeVisualization styles, and implement RenameTooltip for dynamic renaming functionality. 2025-05-03 10:41:34 +05:30
846350728f Remove unused armBots reference from ArmBotUI component 2025-05-03 10:39:43 +05:30
03fcc62238 Refactor ArmBotUI: enhance action retrieval by using getActionByUuid; streamline state updates by removing unnecessary dependencies in useEffect. 2025-05-03 10:39:12 +05:30
d29c4ce48a Refactor Trigger component: remove console logs and clean up unused code in Trigger and RoboticArm components; update ArmBotUI to improve state management and backend integration; fix typo in useProductStore comments. 2025-05-03 10:28:59 +05:30
9233bb97c8 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-03 10:12:02 +05:30
8b0daa3305 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-05-03 10:11:20 +05:30
b8d24e2d32 Merge remote-tracking branch 'origin/simulation-armbot-v2' into v2 2025-05-03 10:10:11 +05:30
94c306c813 Refactor Trigger component usage in mechanics files: pass selectedPointData and type props for Machine, RoboticArm, StorageUnit, and Vehicle to enhance functionality and maintain consistency. 2025-05-03 10:09:39 +05:30
0e4005f31e multiple action state updated 2025-05-03 10:05:25 +05:30
Nalvazhuthi
c187a07b22 updating UI 2025-05-03 10:03:39 +05:30
fb0da32504 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-02 18:52:30 +05:30
ad63a8d72b added actions for machines 2025-05-02 18:40:22 +05:30
39c86b6fc1 consoles cleared 2025-05-02 18:34:44 +05:30
80e7bf4bf9 armbot position updated 2025-05-02 18:33:27 +05:30
44e3f5c207 Refactor RealTimeVisualization component and handle widget drop functionality
- Commented out the handleDrop function in RealTimeVisualization.tsx and moved its logic to a new utility function createHandleDrop for better separation of concerns.
- Updated Project.tsx to utilize the new createHandleDrop function, improving readability and maintainability.
- Enhanced styling for the scene container and real-time visualization components to improve layout and responsiveness.
- Removed unnecessary styles and consolidated button and input styles for consistency.
- Cleaned up unused imports and variables in various files to streamline the codebase.
2025-05-02 17:39:11 +05:30
53055a0b82 Merge branch 'v2' into simulation-armbot-v2 2025-05-02 17:38:13 +05:30
d83b934e61 armbot circular path updated and ui dynamic updation 2025-05-02 17:35:52 +05:30
db162c9ffa refactor: Update icon imports and improve UI components; enhance styles for better layout and responsiveness; modify event properties and simulation player functionality 2025-05-02 16:43:43 +05:30
66b3d75500 Refactor VehicleAnimator component: update agvDetail type to VehicleStatus, ensure objectRotation is defined before use, and adjust object rotation handling to utilize agvDetail's rotation values. 2025-05-02 14:59:19 +05:30
fb9e507f4f Enhance TriggerConnector and VehicleUI components: improve event handling by resetting firstSelectedPoint on invalid intersections, refine intersection checks, and streamline state updates in VehicleUI. Integrate backend updates for vehicle actions and ensure consistent rotation handling. 2025-05-02 14:44:29 +05:30
14e3a60db3 Merge remote-tracking branch 'origin/v2' into simulation-agv-v2 2025-05-02 14:05:31 +05:30
ef2baacf55 added snap function for ctrl and ctrl+shift key 2025-05-02 14:04:52 +05:30
a3b48d12c1 Refactor TriggerConnector to improve event handling: reset firstSelectedPoint on invalid intersections, update event model name, and ensure proper cleanup of state. Adjust event listener conditions for better performance. 2025-05-02 13:40:00 +05:30
01a03f5166 Refactor action updates to include productId in updateAction calls across mechanics components; enhance event handling in product store and trigger management. Add clear functions for various stores to reset state. Update action and trigger management to prevent duplicates and ensure integrity. Adjust initial load actions to use consistent naming conventions. 2025-05-02 13:13:41 +05:30
34c30bb5a2 Enhance Machine and Vehicle components: add current action management and update machine sample structure 2025-05-02 12:11:09 +05:30
405dbe434f Merge branch 'main' into v2 2025-05-02 11:55:57 +05:30
96530b981f Add dragging and rotating state management to simulation store; enhance PointsCreator and VehicleUI components 2025-05-02 11:54:40 +05:30