Commit Graph

343 Commits

Author SHA1 Message Date
180cac9045 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-05 20:08:48 +05:30
c89c4234a4 feat: Enhance conveyor actions and event handling
- Added detailed logging for default conveyor actions in useConveyorActions.
- Integrated play and reset button states into useActionHandler for better control flow.
- Updated PointsCreator to conditionally render based on play state and improved event handling.
- Modified MaterialAnimator to support pause and resume functionality based on play state.
- Enhanced MaterialInstance to trigger actions upon animation completion.
- Implemented material clearing logic in Materials component on reset or stop.
- Updated Simulator to respect play and reset states during action handling.
- Improved trigger handling logic to accommodate new event retrieval methods.
- Added utility functions in useProductStore for fetching events by trigger and point UUIDs.
- Created a new file for default action handling in conveyor actions.
2025-05-05 20:08:05 +05:30
dd402184e4 Merge remote-tracking branch 'origin/v2' into simulation-agv-v2 2025-05-05 14:28:48 +05:30
6b0ee0ae79 Enhance material handling: add support for additional materials in conveyor and machine mechanics, update action types, and implement material model loading. 2025-05-05 14:26:38 +05:30
c9949c98c0 merged with origin/v2 2025-05-05 12:22:42 +05:30
ec4d3db70e added machine actions 2025-05-05 12:20:55 +05:30
be8f937759 reset function updated 2025-05-05 11:25:06 +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
e39da61ed8 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-03 18:16:24 +05:30
d41a4849e1 Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-05-03 17:59:46 +05:30
27817f00d4 refactor: Update SVG attributes for consistency and improve styling in analysis icons; remove unused imports in ProductionCapacity component; enhance simulation player UI with custom slider wrapper 2025-05-03 17:58:21 +05:30
Nalvazhuthi
c1e5e25c54 feat: Update throughput chart data and styling; hide axes and add background pattern 2025-05-03 17:57:57 +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
f8abd71116 feat: Replace random ID generation with UUID for log entries; improve log entry consistency 2025-05-03 16:52:48 +05:30
06fa09bb42 feat: Update log display messages for clarity; enhance log navigation styles and layout 2025-05-03 15:47:38 +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
ed9d149072 Enhance trigger handling in Trigger component: update addTrigger logic to include backend update and refresh triggers; improve default option handling in LabledDropdown for triggered points. 2025-05-03 13:43:59 +05:30
71fdb26e16 Refactor trigger handling in Trigger component: update trigger selection logic and add memoization for performance; enhance renameTrigger function in useProductStore to return updated event. 2025-05-03 13:23:01 +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
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
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
8b0daa3305 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-05-03 10:11:20 +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
Nalvazhuthi
c187a07b22 updating UI 2025-05-03 10:03:39 +05:30
39c0017a5b refactor: Reintroduce Footer component with updated log handling; remove unused layouts styles 2025-05-03 10:02:40 +05:30
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
fb0da32504 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-02 18:52:30 +05:30
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
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
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
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
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
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
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
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
405dbe434f Merge branch 'main' into v2 2025-05-02 11:55:57 +05:30
928c683a79 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-02 11:36:12 +05:30
2a669f6337 removed sample data and worked with schema for agv 2025-05-02 11:15:11 +05:30