Commit Graph

344 Commits

Author SHA1 Message Date
2711702efa feat: Update icon components for consistency; refactor SVG attributes and styles 2025-05-03 17:21:37 +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
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
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
928c683a79 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-02 11:36:12 +05:30
d3f5c5e506 Enhance TriggerConnector and useProductStore: add removeTrigger return value and improve event handling in TriggerConnector 2025-05-02 11:35:03 +05:30
2a669f6337 removed sample data and worked with schema for agv 2025-05-02 11:15:11 +05:30
571da0a78a Refactor Machine and TriggerConnector components: enhance event handling for machine points and streamline vehicle status sample initialization 2025-05-02 10:50:52 +05:30
29efeab387 Enhance event handling and backend updates across mechanics components; refactor trigger management in TriggerConnector 2025-04-30 20:16:26 +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
b1b8672cf8 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-04-30 16:53:54 +05:30
764e235a5f Merge branch 'v2' into simulation-armbot-v2 2025-04-30 16:50:54 +05:30
fb1995acdb arm ui added 2025-04-30 16:50:31 +05:30
5119b014b7 Refactor Assets component layout and styling; enhance Trigger dropdowns with labels; update MenuBar theme retrieval; fix icon import in AssetPreview; adjust Card component star rating display; modify AddButtons styles and functionality; improve variable definitions in SCSS files; streamline input component styles; refine marketplace card layout; enhance menu dropdown styles; update module toggle styles; adjust tools component styles; improve visualization floating styles; clean up sidebar styles; optimize realTimeViz styles for better responsiveness. 2025-04-30 16:23:24 +05:30
a704be77d3 Refactor VehicleMechanics component for improved state management and event handling
- Simplified state initialization and effect hooks for better readability.
- Enhanced event handling functions for speed, action type, and action renaming.
- Updated current values retrieval logic to utilize getEventByModelUuid.
- Cleaned up JSX structure for better maintainability.

Update addAssetModel to remove unnecessary console log

- Removed debug logging for roboticArmEvent in addAssetModel.

Enhance copyPasteControls and duplicationControls with event handling

- Integrated useEventsStore to manage events during copy and paste operations.
- Updated event data structure for Conveyor, Vehicle, ArmBot, and StaticMachine types.
- Ensured proper UUID generation for new events and actions.

Refactor PointsCreator to ensure event sphere clearing

- Re-enabled clearSelectedEventSphere on pointer miss events for better UX.

Add logging in Products component for debugging

- Added console log to inspect data fetched from getAllProductsApi.

Update useProductStore to return updated events after modifications

- Modified updateEvent, addAction, removeAction, updateAction, and renameAction to return updated event data.
- Ensured consistency in event handling across the product store.
2025-04-30 15:58:23 +05:30
18b6a4b22d Merge branch 'v2' into simulation-armbot-v2 2025-04-30 15:29:39 +05:30
ff9bb8f566 circular curve for arm movements added 2025-04-30 15:27:02 +05:30
73f9bb29f7 Merge branch 'main' into v2 2025-04-30 12:01:39 +05:30