Commit Graph

568 Commits

Author SHA1 Message Date
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
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
Vishnu 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
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
Vishnu b4e3d3ef73 Refactor styles: update backdrop-filter values for improved UI consistency; clean up code formatting in various components. 2025-05-03 11:17:20 +05:30
Vishnu 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
Vishnu 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
Jerald-Golden-B 4fc014cd28 Merge branch 'main' into v2 2025-05-03 10:46:05 +05:30
Jerald-Golden-B 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
Vishnu 50171d851d Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-03 10:41:51 +05:30
Vishnu 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
Jerald-Golden-B 846350728f Remove unused armBots reference from ArmBotUI component 2025-05-03 10:39:43 +05:30
Jerald-Golden-B 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
Jerald-Golden-B 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
Vishnu 10a6060891 Merge pull request 'v2' (#74) from v2 into main
Reviewed-on: http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev/pulls/74
2025-05-03 04:44:20 +00:00
Jerald-Golden-B 9233bb97c8 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-03 10:12:02 +05:30
Jerald-Golden-B 8b0daa3305 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-05-03 10:11:20 +05:30
Jerald-Golden-B b8d24e2d32 Merge remote-tracking branch 'origin/simulation-armbot-v2' into v2 2025-05-03 10:10:11 +05:30
Jerald-Golden-B 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
Gomathi 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
Vishnu 39c0017a5b refactor: Reintroduce Footer component with updated log handling; remove unused layouts styles 2025-05-03 10:02:40 +05:30
Vishnu ac49f62bb0 refactor: Remove unused analysis and ROISummary styles; consolidate simulation styles for improved organization 2025-05-03 09:45:29 +05:30
Vishnu 70b48b39cf refactor: Enhance LogList component layout and styles; improve footer and logs styles for better readability and responsiveness 2025-05-02 19:09:05 +05:30
Vishnu fb0da32504 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-02 18:52:30 +05:30
Poovizhi99 ad63a8d72b added actions for machines 2025-05-02 18:40:22 +05:30
Gomathi 39c86b6fc1 consoles cleared 2025-05-02 18:34:44 +05:30
Gomathi 80e7bf4bf9 armbot position updated 2025-05-02 18:33:27 +05:30
Vishnu 78c228aba6 refactor: Clean up LogList component by removing unused TickIcon; enhance footer and logs styles for better layout and readability 2025-05-02 18:31:00 +05:30
Vishnu 0f41f3f845 Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-05-02 18:17:03 +05:30
Vishnu 6a1bf7f769 refactor: Update ROISummary component to use ArrowIcon for expand functionality; enhance styles in ROISummary, global, and analysis components for improved layout and responsiveness 2025-05-02 18:16:22 +05:30
Nalvazhuthi 52c6ab8a65 added echo logs list 2025-05-02 18:06:29 +05:30
Nalvazhuthi 8659f4be71 added logs list 2025-05-02 17:58:28 +05:30
Nalvazhuthi db0f32ae85 added logs list-v2 2025-05-02 17:39:43 +05:30
Vishnu 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
Gomathi 53055a0b82 Merge branch 'v2' into simulation-armbot-v2 2025-05-02 17:38:13 +05:30
Gomathi d83b934e61 armbot circular path updated and ui dynamic updation 2025-05-02 17:35:52 +05:30
Jerald-Golden-B 439f917884 Refactor Trigger component: pass selectedPointData and type props, enhance state management for triggers, and streamline rendering logic for better performance. 2025-05-02 17:34:55 +05:30
Nalvazhuthi 4b7a868d1a added logs list 2025-05-02 17:14:36 +05:30
Vishnu 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
Jerald-Golden-B 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
Jerald-Golden-B 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
Poovizhi99 14e3a60db3 Merge remote-tracking branch 'origin/v2' into simulation-agv-v2 2025-05-02 14:05:31 +05:30
Poovizhi99 ef2baacf55 added snap function for ctrl and ctrl+shift key 2025-05-02 14:04:52 +05:30
Jerald-Golden-B 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
Jerald-Golden-B 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
Jerald-Golden-B 34c30bb5a2 Enhance Machine and Vehicle components: add current action management and update machine sample structure 2025-05-02 12:11:09 +05:30
Poovizhi99 e6fc9642df Merge remote-tracking branch 'origin/v2' into simulation-agv-v2 2025-05-02 11:57:20 +05:30