- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.