Commit Graph

321 Commits

Author SHA1 Message Date
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 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 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 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
Jerald-Golden-B 8b0daa3305 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-05-03 10:11:20 +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
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 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
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 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
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 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 405dbe434f Merge branch 'main' into v2 2025-05-02 11:55:57 +05:30
Jerald-Golden-B 928c683a79 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-02 11:36:12 +05:30
Poovizhi99 2a669f6337 removed sample data and worked with schema for agv 2025-05-02 11:15:11 +05:30
Jerald-Golden-B 29efeab387 Enhance event handling and backend updates across mechanics components; refactor trigger management in TriggerConnector 2025-04-30 20:16:26 +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
Vishnu b1b8672cf8 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-04-30 16:53:54 +05:30
Vishnu 5ea85f49f0 refactor: Update icon stroke and fill colors based on active state; modify EventProperties component structure; adjust styles in tools, sidebar, and realTimeViz for improved layout and responsiveness 2025-04-30 16:52:08 +05:30
Vishnu 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
Jerald-Golden-B 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
Jerald-Golden-B 304d6689c1 Refactor Simulations component layout: streamline event handling and add comparison functionality 2025-04-30 12:46:00 +05:30
Jerald-Golden-B 73f9bb29f7 Merge branch 'main' into v2 2025-04-30 12:01:39 +05:30
Jerald-Golden-B 3ed43ed16a Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-04-30 11:49:15 +05:30
Jerald-Golden-B 014bc3a7ca Refactor model identifier naming conventions from 'modeluuid' and 'modelname' to 'modelUuid' and 'modelName' across multiple modules for consistency and clarity. Update related API calls and local storage handling to reflect these changes. Remove unused deleteProductDataApi service and implement deleteProductApi service for product data deletion. Introduce steeringAngle property in vehicle configurations. 2025-04-30 11:46:20 +05:30
Vishnu 4152e611a9 refactor: Update dropdown items to include active state, enhance List and DropDownList components, and improve sidebar styles for better layout and accessibility 2025-04-30 10:10:39 +05:30
Poovizhi99 9574d70b56 added ui for changing position of vehicles pickup-point and unloadPoint 2025-04-30 09:15:21 +05:30
Jerald-Golden-B 882c81a385 Refactor asset model handling and event data management
- Removed redundant data structure in handleModelLoad function.
- Introduced eventData object to encapsulate event-related information for different asset types (Conveyor, Vehicle, ArmBot, StaticMachine).
- Updated socket emission to include complete data with eventData.
- Enhanced copy-paste and duplication controls to maintain eventData integrity during object duplication.
- Integrated event data updates in move and rotate controls to reflect changes in the simulation state.
- Improved PointsCreator component to handle rotation for event groups.
- Updated handleAddEventToProduct function to support event data management.
- Enhanced product management to fetch existing products from the server and handle new product creation.
- Added new types for eventData in worldTypes and simulationTypes for better type safety.
- Refactored IndexedDB utility functions for cleaner code.
2025-04-29 19:15:17 +05:30
Vishnu 5460c23a46 Merge branch 'v2-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v2-ui 2025-04-29 18:37:18 +05:30
Vishnu 949dbbca8d refactor: Enhance FileMenu component with click handling and outside click detection 2025-04-29 18:32:25 +05:30
Vishnu 0b0e1e3d8b Refactor event properties components to use section elements for better semantics and styling consistency; update mechanics components to enhance layout and improve user experience; modify simulation component to manage open/close state for event lists; enhance file menu with project icon; improve input toggle styles; standardize color variables in SCSS; adjust sidebar styles for better visual hierarchy; implement backdrop filters for improved UI aesthetics; and refine overall component styling for consistency across the application. 2025-04-29 18:19:03 +05:30
Nalvazhuthi 38161fb733 updated simulation player 2025-04-29 17:54:36 +05:30
Vishnu 45fea9465e Refactor styles to use 'background' shorthand property instead of 'background-color' for consistency across components. Updated various components including confirmation pop-up, input fields, lists, marketplace, menu, module toggle, simulation, and more. Enhanced visual effects with backdrop filters and adjusted padding/margins for improved layout. Removed unnecessary styles and optimized hover effects for better user experience. 2025-04-29 16:27:03 +05:30
Vishnu ab5ade7bee feat: Enhance camera control and user experience with improved key handling and speed adjustments 2025-04-29 13:42:24 +05:30
Vishnu c1a7fe3015 feat: Implement collaboration features including user following and avatar management 2025-04-29 12:50:14 +05:30