- Added a disabled state to the info button based on global object data.
- Adjusted preview scale increment and decrement values for finer control.
- Introduced a read-only button to display the current preview scale.
- Wrapped the ObjectProperty component in a scrollable div for better visibility in the modal.
- Increased modal width for improved layout and user experience.
- Added 'createdAt' to the sorters array in the Filament model for enhanced sorting capabilities.
- Refactored the Printer model to change 'moonraker.host' to 'host' and introduced a new 'host._id' field for better object representation and clarity.
- Updated the 'hostname' field to improve consistency in naming conventions.
- Updated the PrinterInfo component to utilize React hooks for managing edit form state and actions.
- Replaced the previous job-related collapsible sections with a unified audit logs section for better clarity.
- Enhanced the layout and structure of the component to improve user experience and maintainability.
- Updated imports to ensure consistency with file extensions and component organization.
- Updated imports in LoadFilamentStock and ControlPrinter components to replace PrinterState with StateDisplay for improved consistency in state representation.
- This change aligns with recent refactoring efforts to unify state display components across the application.
- Created a new index.js file to export routes for Production, Inventory, Management, and Developer sections.
- This centralizes route management and enhances modularity within the application.
- Introduced a new 'Documents' section in the ManagementSidebar with sub-items for Document Printers, Document Templates, and Document Sizes.
- Updated existing keys for consistency, changing 'notetypes' to 'noteTypes' and 'auditlogs' to 'auditLogs'.
- Enhanced routeKeyMap to include new document-related paths for improved navigation.
- Added a 'minimal' prop to ObjectProperty components within PropertyChanges for improved rendering control.
- Updated both old and new object data displays to utilize the new 'minimal' prop, enhancing component flexibility.
- Replaced JobState and SubJobState components with a unified StateDisplay component for improved consistency in state representation.
- Updated the rendering logic to utilize StateDisplay for both job and sub-job states, enhancing code clarity and maintainability.
- Introduced ObjectTypeDisplay component to visually represent object types with optional icons and labels.
- Created ObjectTypeSelect component to allow users to select object types from a dropdown, utilizing ObjectTypeDisplay for rendering options.
- Implemented prop types for both components to ensure proper type checking and documentation clarity.
- Updated subscription methods to use more descriptive names for clarity.
- Simplified the new event handler to always reload data on updates.
- Enhanced code readability by restructuring useEffect dependencies and callback functions.
- Removed unnecessary whitespace to enhance code readability.
- Streamlined data handling logic for better performance and consistency.
- Improved structure of the loadData function for clearer data fetching and processing.
- Introduced a new 'masterFilter' prop to allow for more complex filtering scenarios.
- Updated data fetching logic to handle both array and object responses from the API, ensuring robust data management.
- Improved tree data handling by refining how children nodes are built and updated.
- Added a 'disabled' prop to control the component's interactivity.
- Enhanced prop types for better type checking and documentation clarity.
- Introduced a recursive function to filter actions based on visibility, allowing for dynamic control over which actions are displayed.
- Updated the component to accept a new 'visibleActions' prop for improved customization.
- Improved code readability by restructuring the action filtering logic and ensuring proper handling of nested actions.
- Removed unused PrintServerContext and related print server state management.
- Updated API server state handling to use a single context for connection status.
- Improved code readability by consolidating state checks and simplifying the rendering logic for connection status indicators.
- Introduced a recursive function to map sidebar items and their children, enhancing the structure and maintainability of the component.
- Added onClick functionality for items with paths, improving navigation capabilities.
- Improved code readability by restructuring the item mapping logic.
- Added a new 'type' prop to the CopyButton component, allowing users to specify the button type.
- Updated the component's prop types to include the new 'type' prop for better type checking and documentation.
- Improved code readability by restructuring the component's props definition.
- Introduced a new segmentToModel function to dynamically retrieve model names based on URL segments.
- Simplified breadcrumb name mapping by removing unused entries and adding support for pluralized model labels.
- Improved breadcrumb item rendering logic for better clarity and maintainability.
- Added functionality to store and retrieve user profile data from session storage.
- Updated authentication logic to check for user data alongside token and expiration.
- Ensured user profile is cleared upon logout and set to null when authentication fails.
- Improved logging for better debugging of user authentication flow.
- Updated ActionHandler to use forwardRef, allowing parent components to access the callAction method.
- Enhanced EditObjectForm with forwardRef, enabling external control over editing state and form handling.
- Added onEdit and onStateChange props to EditObjectForm for better integration with parent components.
- Improved form validation and state management within EditObjectForm, ensuring a smoother user experience.
- Cleaned up code for better readability and maintainability.
- Introduced CodeBlockEditor component to support multiple programming languages with syntax highlighting using CodeMirror.
- Implemented features such as customizable styles, read-only mode, and line number visibility.
- Added support for JSON object parsing and modal display for minimal view.
- Integrated theme context for dark mode support and improved user interaction with onChange handling.
- Defined prop types for better type checking and documentation.
- Removed unused components (PrinterState, SubJobState, JobState, FilamentStockState).
- Added new StateDisplay component for handling state representation.
- Enhanced ObjectProperty to support new properties and rendering logic for code blocks and object types.
- Updated import paths and prop types accordingly for improved clarity and functionality.
- Updated socket connection to use 'user' type for authentication.
- Refactored event handling methods for object updates and new objects to use more descriptive names.
- Enhanced subscription methods for object updates and types, ensuring better organization and clarity.
- Introduced new methods for fetching template previews, generating host OTP, and sending object actions.
- Improved logging for better debugging and tracking of socket events.