Commit Graph

29 Commits

Author SHA1 Message Date
Jerald-Golden-B ff5de28d49 Refactor simulation components for improved functionality and performance
- Update SimulationPlayer to enhance reset handling and progress display
- Modify useDelayHandler to incorporate animation speed and improve delay management
- Revamp useSpawnHandler to utilize state for active spawns and optimize spawn logic
- Integrate reset functionality in Products and Simulator components
- Implement execution order and sequence determination in new utility functions
- Add trigger extraction logic for better event handling
2025-05-07 10:36:42 +05:30
Vishnu 1de5c9d733 Merge remote-tracking branch 'origin/main' into v2-ui 2025-05-07 08:58:20 +05:30
Jerald-Golden-B 53912b2597 feat: Enhance conveyor and material handling with pause functionality and state management 2025-05-06 19:12:58 +05:30
Vishnu f7d0151b00 Merge remote-tracking branch 'origin/main' into v2-ui 2025-05-06 11:05:50 +05:30
Jerald-Golden-B 180cac9045 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-05 20:08:48 +05:30
Jerald-Golden-B 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
Vishnu 05eb3342b0 Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-05-05 18:03:22 +05:30
Nalvazhuthi bdfe0900d1 Refactor styles across components to utilize variable-based border-radius for consistency and improved maintainability. Added SkeletonUI component and corresponding styles for loading states. 2025-05-05 18:02:04 +05:30
Poovizhi99 c9949c98c0 merged with origin/v2 2025-05-05 12:22:42 +05:30
Poovizhi99 ec4d3db70e added machine actions 2025-05-05 12:20:55 +05:30
Gomathi be8f937759 reset function updated 2025-05-05 11:25:06 +05:30
Vishnu 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 2ad1006de4 updating UI 2025-05-03 17:28:46 +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
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
Nalvazhuthi c187a07b22 updating UI 2025-05-03 10:03:39 +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
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
Vishnu 4535be68b3 refactor: Update ExpandIcon to accept isActive prop for dynamic rendering; enhance ThroughputSummary and SimulationPlayer components with getAvatarColor for consistent color usage; improve styles across simulation and visualization components for better layout and responsiveness 2025-04-30 19:45:29 +05:30
Nalvazhuthi 66d8196537 updated realTime vis panel smooth transition 2025-04-30 18:23:27 +05:30
Nalvazhuthi 6a51fbca61 updated realTime vis panel smooth transition 2025-04-30 18:20:36 +05:30
Jerald-Golden-B 73f9bb29f7 Merge branch 'main' into v2 2025-04-30 12:01:39 +05:30
Nalvazhuthi 38161fb733 updated simulation player 2025-04-29 17:54:36 +05:30
Poovizhi99 4b4fe53ee4 play-pause-rest actions 2025-04-28 18:51:16 +05:30
Jerald-Golden-B 99a478f2e4 Merge remote-tracking branch 'origin/simulation-animation' into simulation 2025-04-04 18:05:38 +05:30
SreeNath14 c5ca0da1c5 "updated overall animation logics" 2025-04-04 18:02:53 +05:30
Poovizhi99 37f912a6f1 solved few bugs in agv 2025-04-04 09:46:18 +05:30
Vishnu 68211c277b simulation slider 2025-03-27 10:55:44 +05:30