736 Commits

Author SHA1 Message Date
38886e31d7 Update pnpm-lock.yaml to include new package versions and dependencies
Some checks are pending
farmcontrol/farmcontrol-ui/pipeline/head Build started...
- Added new versions for several packages, including '@codemirror/commands@6.10.4', '@codemirror/state@6.7.1', '@lezer/common@1.5.2', '@marijn/find-cluster-break@1.0.3', 'acorn@8.17.0', 'baseline-browser-mapping@2.11.5', 'caniuse-lite@1.0.30001806', 'crelt@1.0.7', 'fs-extra@11.4.0', 'jsonfile@6.2.1', and 'lodash@4.18.1'.
- Updated dependencies for existing packages to reflect the latest versions, ensuring compatibility and improved functionality.
2026-07-27 23:10:40 +01:00
f6736c9abb Enhance ControlPrinter and related components with improved UI and functionality
- Added new icons for movement and settings in the ControlPrinter component.
- Refactored InfoCollapse components to include better styling and structure.
- Updated PrinterTemperaturePanel, PrinterPositionPanel, PrinterMovementPanel, and PrinterMiscPanel to support a disabled state based on connection status.
- Improved layout and styling in App.css for better visual consistency across components.
2026-07-27 23:10:24 +01:00
4fbb434103 Refactor DocumentSizeInfo and DocumentTemplateInfo components for improved UI and functionality
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Adjusted the disabled state logic in DocumentSizeInfo and DocumentTemplateInfo components for better clarity during editing.
- Added labelWidth properties to DocumentTemplateInfo for enhanced layout control.
- Updated the labelWidth in DocumentTemplateInfo to improve consistency in UI presentation.
2026-07-27 02:48:48 +01:00
71b432ba4d Refactor DocumentSize model to update 'updatedAt' field and adjust visibility logic
- Added a new 'updatedAt' field to the DocumentSize model for tracking updates, ensuring it is read-only and properly formatted.
- Removed the previous 'updatedAt' field and adjusted the visibility logic for the 'width' field based on the 'infiniteHeight' property, enhancing user experience.
2026-07-27 02:45:57 +01:00
9e65f6d46d Enhance DocumentPrinter components with labelWidth adjustments and UI improvements
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Added labelWidth properties to NewDocumentPrinter and DocumentPrinterInfo components for better layout control.
- Updated the DocumentPrinter model to change the label from 'Current Document Size' to 'Document Size' for clarity.
- Improved the disabled state handling in DocumentPrinterInfo for better user experience during editing.
2026-07-27 02:43:42 +01:00
46173a54a5 Update DocumentPrinter model to adjust 'updatedAt' and 'connectedAt' fields
- Added a new 'updatedAt' field for tracking the last update timestamp.
- Replaced the existing 'updatedAt' field with 'connectedAt' to accurately reflect the connection time.
- Ensured both fields are read-only and properly formatted for display in the UI.
2026-07-27 02:39:30 +01:00
a23ff0c008 Move down to 20 builds.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-27 00:03:00 +01:00
b1b3a765ec Delete builds older than 25.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-26 23:56:16 +01:00
28dfb645ef Add blurhash support for user profile images in ActivityIndicator component
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Integrated the blurhash library to decode and display blurred placeholders for user profile images.
- Updated UserProfileImage component to accept a blurHash prop and render the decoded image when available.
- Enhanced UserActivityAvatar to retrieve and pass the blurHash from user data, improving the visual experience during image loading.
2026-07-26 21:28:43 +01:00
8d0f92af45 Add partSku field to GCodeFile model for enhanced object filtering
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced a new 'partSku' field in the GCodeFile model, which is required and supports object type filtering.
- Implemented a masterFilter function to facilitate filtering based on the associated part ID, improving data management and retrieval.
2026-07-26 21:21:25 +01:00
580e5dbb34 Update ObjectSelect component to adjust styling for improved layout
- Modified the style of the main container in ObjectSelect to include a relative position, enhancing the layout and positioning of child elements.
2026-07-26 21:21:18 +01:00
5c5083c615 Update loading indicator in ObjectChildTable to use a fragment for improved rendering 2026-07-26 21:21:12 +01:00
5e19b6c9b0 Refactor AlertsDisplay component to accept dynamic object and type props
- Updated AlertsDisplay to receive an object and its type instead of specific alerts and printerId, enhancing reusability for different object types.
- Modified ControlPrinter and ObjectProperty components to pass the new props structure, ensuring consistent alert handling across various contexts.
2026-07-26 21:11:15 +01:00
e730e2c832 Update columnWidth properties across multiple models for consistency
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Increased the columnWidth from 250 or 120 to 260 in various models including DocumentJob, DocumentPrinter, FilamentStock, Host, Invoice, Job, and others.
- This change ensures a uniform width for better alignment and presentation in the UI.
2026-07-26 20:03:00 +01:00
084d807c95 Enhance SpotlightTooltip component with model property integration
- Added the getModelProperty function to SpotlightTooltip for improved property handling.
- Updated ObjectProperty component to utilize dynamic properties based on the model type, enhancing flexibility in data representation.
2026-07-26 20:02:51 +01:00
8319d3d7b3 Enhance ObjectDisplay and StateTag components for improved state representation
- Integrated StateTag into ObjectDisplay to display the object's state conditionally.
- Updated gap handling in ObjectDisplay to account for both color and state properties.
- Modified StateTag to include a new 'showTag' prop for conditional rendering of the tag, enhancing flexibility in state display.
2026-07-26 20:02:44 +01:00
c6ec643a2f Refactor ObjectDisplay and ObjectTable components for improved subscription handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Updated ObjectDisplay to subscribe to object updates based on the object ID, enhancing responsiveness to changes.
- Refactored ObjectTable to streamline subscription logic, ensuring real-time updates are managed more efficiently and reducing unnecessary re-renders.
2026-07-26 19:26:52 +01:00
1a68456be6 Enhance Filament model to include vendor information
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Added 'vendor' to the columns and filters in the Filament model for improved data categorization.
- Introduced a new 'vendor' field with specific properties, enhancing the model's capability to track filament sources.
2026-07-26 19:07:36 +01:00
cc712e7427 Update FilamentStock model to restore 'updatedAt' column for tracking
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Reintroduced the 'updatedAt' column in the FilamentStock model, ensuring accurate tracking of updates while maintaining its read-only status and layout properties.
2026-07-26 19:00:24 +01:00
8ab1045732 Update TimeDisplay component to enhance layout flexibility
- Added the 'wrap' property to the Flex container in TimeDisplay, allowing for better handling of content overflow and improving overall layout adaptability.
2026-07-26 19:00:17 +01:00
50abb22054 Update FilamentStock and StockEvent models for improved data handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Reformatted the filters in FilamentStock for better readability.
- Changed the 'required' property of the stock location in FilamentStock to true, ensuring that stock location is mandatory.
- Added 'updatedAt' column to StockEvent for enhanced tracking of stock events.
2026-07-26 18:37:47 +01:00
4c19df717b Enhance SlicerIntegration layout for better responsiveness
- Wrapped the ObjectProperty component in a div with defined width properties to improve layout consistency and responsiveness within the SlicerIntegration component.
- Ensured that the display adapts better to varying screen sizes, enhancing user experience.
2026-07-26 18:37:42 +01:00
6ec1e9d3c0 Refactor ProductionOverview to replace HistoryDisplay with ModelHistoryDisplay
- Updated the ProductionOverview component to utilize ModelHistoryDisplay instead of HistoryDisplay for better clarity in displaying historical data for printers and jobs.
- Simplified the ObjectTable component's masterFilter for queued jobs, enhancing code readability.
2026-07-26 18:37:36 +01:00
2a849cea57 Enhance StateDisplay component to improve progress calculation
- Introduced a new progressValue calculation to round the currentState.progress for better precision in the displayed progress percentage.
- Updated the Progress component to utilize the new progressValue, ensuring accurate representation of loading progress.
2026-07-26 18:37:24 +01:00
4d9db747a2 Enhance Inventory Components with History Display Feature
- Added a HistoryDisplay component to FilamentStockInfo, PartStockInfo, and ProductStockInfo, allowing users to view historical data for filament, part, and product stocks.
- Introduced a new GraphIcon for visual representation in the collapsible history sections.
- Updated the state management to include history data, improving the overall functionality and user experience in inventory tracking.
2026-07-26 18:37:18 +01:00
fed7de8663 Update JobInfo component to pass complete object data to DeployJob component
- Modified the objectData prop in DeployJob to spread the properties from objectFormState, ensuring all relevant data is passed for deployment actions.
2026-07-26 16:10:14 +01:00
31e6356d9c Add additional hidden properties to ControlPrinter component 2026-07-26 16:10:06 +01:00
d122dfa83f Update ControlPrinter to consistently render AlertsDisplay component
- Moved the AlertsDisplay component to ensure it is always rendered within the ControlPrinter, improving visibility of alerts.
- Enhanced layout consistency by maintaining the structure of the component within the Flex container.
2026-07-26 15:00:58 +01:00
c588196580 Refactor AlertsDisplay component to simplify layout and remove mobile-specific logic
- Removed the useMediaQuery hook and associated mobile rendering logic, streamlining the component's structure.
- Updated the return statement to consistently render alerts within a Flex container, enhancing layout consistency.
2026-07-26 15:00:50 +01:00
9aa2b0f2f8 Add Meta Data section to FileInfo component and update file thumbnail fetching logic
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced a new Meta Data section in the FileInfo component, allowing users to view file metadata.
- Added a fetchFileThumbnail function in ApiServerContext to retrieve file thumbnails, enhancing the user experience with profile images.
- Updated the UserProfileImage component to utilize the new thumbnail fetching logic, improving image loading efficiency.
- Added a hasThumbnails property to the File model to indicate the presence of thumbnail data.
2026-07-26 03:07:31 +01:00
ff61cd4f06 Refactor ObjectForm to enhance state management and activity handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced a ref to track fetched objects, improving fetch logic clarity and preventing unnecessary updates.
- Updated event handlers for object updates and activity subscriptions to ensure they only trigger for the current object, enhancing performance and reducing potential errors.
- Consolidated state updates and notifications within useEffect hooks for better organization and efficiency.
2026-07-26 01:58:35 +01:00
78dba97107 Refactor ObjectForm to improve fetch logic and state management
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Removed the initialized state and replaced it with a ref to track fetched objects, enhancing clarity in the fetch condition.
- Updated the useEffect hook to streamline the fetch logic, ensuring it only triggers under the correct conditions.
- Reset form fields and activities upon fetching a new object, improving user experience during editing.
2026-07-26 01:53:39 +01:00
a4346ead98 Fixed warnings. 2026-07-26 01:53:28 +01:00
9956085e44 Refactor ObjectForm and ApiServerContext for improved activity handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Removed redundant calls to notifyActivityState in ObjectForm, consolidating activity state updates within useEffect hooks for better performance.
- Introduced resubscribeActivityListeners in ApiServerContext to manage activity subscriptions more effectively upon socket connection and page visibility changes.
- Enhanced activity event subscription management by utilizing a Set to track active subscriptions, improving clarity and reducing potential memory leaks.
2026-07-26 01:38:13 +01:00
0db2dff9fe Refactor ObjectForm condition check for clarity
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Updated the condition in ObjectForm to explicitly check for boolean true when verifying connection status, improving code readability and intent.
2026-07-26 01:01:49 +01:00
dcbf308988 Refactor dashboard components to replace LockIndicator with ActivityIndicator
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Updated various components to use ActivityIndicator instead of LockIndicator for better activity tracking.
- Adjusted layout spacing by changing Space component size from 'middle' to 'small' for improved UI consistency.
- Modified object form state to include activities instead of lock status, enhancing the user experience during editing.
2026-07-26 00:51:36 +01:00
86b43481d8 Improve styling and layout of dashboard components
- Updated line-height in markdown paragraphs for better readability.
- Adjusted margin in NoteItem component for improved spacing.
- Added a class name to Flex component in PropertyChanges for enhanced styling control.
2026-07-25 22:58:54 +01:00
41f844b49d Enhance Notification component with new features and improved structure
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced memoization for NotificationBody and NotificationDetails components to optimize rendering performance.
- Added new notification types and corresponding message handling in getNotificationMessage function for better user feedback.
- Updated Notification component to support inline icons and detailed views for notifications.
- Refactored notification icon handling to utilize model-specific icons where applicable.
- Adjusted NotificationCenter to display notifications with new props for enhanced visibility and interaction.
- Increased notification duration for better user experience.
2026-07-25 01:36:10 +01:00
03cd3db1c7 Enhance NoteItem component with new props for body and footer visibility
- Added showBody and showFooter props to the NoteItem component to control the rendering of the note's content and footer elements.
- Refactored the component structure to conditionally display the body and footer based on the new props, improving flexibility in note presentation.
2026-07-25 01:35:41 +01:00
6471434d81 Update CountryDisplay component to improve layout consistency
- Added minWidth style to Flex and inner div elements to ensure proper alignment and prevent overflow issues in the CountryDisplay component.
2026-07-25 01:35:35 +01:00
eec1f14512 Add margin reset for preformatted text in minimal code block editor
- Introduced a margin reset for preformatted text within the minimal code block editor to ensure consistent styling and alignment.
2026-07-25 01:35:28 +01:00
2eda23fd06 Enhance CodeBlockEditor styling for minimal mode
- Added a class name 'minimal-code-block-editor' to the div in minimal mode for improved styling and potential CSS targeting.
2026-07-25 01:35:24 +01:00
b16cdd6e96 Enhance styling and functionality of dashboard components
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Added new CSS variables for padding in ScrollBox to improve layout.
- Updated ObjectForm to include console logs for debugging during editing cancellation.
- Refactored ObjectInfo to use mergeWith for better array handling in state updates.
- Enhanced ObjectProperty and ObjectTable components to support new props for better integration with tags.
- Improved TagsDisplay and TagsInput components for better tag management and display, including loading states and dynamic options fetching.
- Introduced getModelPropertyValues function in ApiServerContext for fetching model-specific property values, enhancing data handling capabilities.
2026-07-24 23:20:00 +01:00
a6fce60d04 Update GCodeFile and User models to include masterFilter property for improved file type filtering capabilities.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-24 22:20:08 +01:00
70456d945d Enhance FileUpload, ObjectProperty, and ObjectSelect components by adding masterFilter prop for improved file filtering capabilities. Refactor FileList component styles for better layout consistency. Update ObjectSelect to accept custom styles, enhancing flexibility in usage. 2026-07-24 22:20:03 +01:00
c201d26744 Add pendingSlicerUploads and queue properties to printer components
- Updated ControlPrinter, NewPrinter, and PrinterInfo components to include pendingSlicerUploads and queue properties for enhanced state management.
- Modified Printer model to define pendingSlicerUploads structure, improving data handling for printer uploads.
2026-07-24 22:19:53 +01:00
80ecc8a175 Refactor PrinterProfiles and PrinterInfo components to streamline modal handling for new printer profiles. Removed the EditPrinterProfile component and simplified state management for profile modals. Updated NewPrinterProfile to accept default values and reset functionality, enhancing user experience when creating new profiles.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-24 21:13:41 +01:00
2b24812723 Update ObjectChildTable component to include objectData prop for enhanced data handling and functionality. 2026-07-24 21:06:37 +01:00
5c436e6afa Update SKELETON_HEIGHT in ObjectTable component for improved layout consistency. Adjust Skeleton.Input height for better visual alignment in the dashboard table. 2026-07-23 23:24:52 +01:00
deec609d54 Enhance FileList and ObjectProperty components by adding maxWidth prop for improved layout control. Update rendering logic in FileList to accommodate card and minimal states, ensuring better responsiveness. Adjust PropertyChanges to maintain consistent styling with new width settings. 2026-07-23 23:24:48 +01:00