136 Commits

Author SHA1 Message Date
1cc77390df Refactor printer control actions and introduce new restart components
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Removed outdated restart functions from ControlPrinter component to streamline code.
- Added new RestartPrinter, RestartPrinterFirmware, and RestartMoonraker components for improved modularity and user interaction.
- Updated Printer model to integrate new restart components into the action menu, enhancing user experience and maintainability.
2026-08-01 19:18:20 +01:00
8fb8f5e337 Refactor UserProfilePopover and ActionsContext for improved state management and action handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Integrated useEffect in UserProfilePopover to close the popover on route changes, enhancing user experience.
- Simplified modal object data handling in ActionsContext to ensure consistent user profile access.
- Updated User model action handling to correctly pass user data to the NewAppPassword component.
- Streamlined dropdown action rendering in UserProfilePopover, improving code clarity and maintainability.
2026-08-01 19:09:24 +01:00
f4635d9188 Refactor finance and inventory components to enhance modal handling and state management
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Integrated useEffect hooks in InvoiceInfo, PaymentInfo, and other components to utilize ActionsContext for managing modal states.
- Removed unused modal states and related code to streamline component logic.
- Added setCurrentObject prop to various components for improved object handling during state changes.
- Enhanced overall code maintainability and readability by consolidating modal logic and reducing redundancy.
2026-08-01 18:25:47 +01:00
12cae32e33 Enhance Thumbnail and ApiServerContext components for improved functionality
- Removed the default border style from the Thumbnail component to streamline its appearance.
- Updated the Thumbnail component to dynamically set the width in the card styles, enhancing layout flexibility.
- Modified the fetchFileThumbnail function in ApiServerContext to include an optional parameter for handling 404 errors, improving error management during thumbnail fetching.
- Added a thumbnail property to the GCodeFile model, enabling thumbnail support for GCode files.
2026-08-01 15:11:02 +01:00
9b17253c6d Enhance model filters across various database models to include '_reference' and additional fields
- Updated filters in multiple models such as AppPassword, AuditLog, Client, Courier, and others to include '_reference' and other relevant fields like 'createdAt' and 'updatedAt'.
- This change improves data handling and consistency across the application, ensuring that all necessary fields are available for filtering.
2026-08-01 14:26:34 +01:00
55a2ad2c5f Update Printer model filters to include '_reference' for improved data handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-08-01 12:41:30 +01:00
3c634a90d0 Refactor ObjectCard and ObjectTable components for improved layout and responsiveness
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced a new method to dynamically calculate card column span based on container width in ObjectTable, enhancing responsiveness.
- Updated ObjectCard to simplify rendering logic by extracting name and state properties into a separate component.
- Added min-width: 0 to relevant CSS classes in App.css to ensure proper layout handling and prevent overflow issues.
2026-08-01 00:05:10 +01:00
95e02dcd63 Add thumbnail property to User model for image handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced a new 'thumbnail' property in the User model to enable thumbnail support for image rendering.
- This enhancement improves the visual representation of user-related images in the application.
2026-07-31 22:54:41 +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
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
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
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
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
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
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
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
83f5b20168 Remove unnecessary console.log statements across multiple files to clean up the codebase and improve performance. This includes updates in appupdate.js, macappupdate.js, mainWindow.js, and various components in the Dashboard context.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-23 21:44:15 +01:00
899444e815 Enhance production sidebar by adding Printer Profiles and Filament Profiles sections, improving navigation for users. Update cookie utility functions to handle authentication expiry and max age more effectively, ensuring better session management.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-20 02:11:15 +01:00
ce611e52f3 Add PrinterProfile and FilamentProfile to ObjectModels; enhance GCodeFile value handling 2026-07-20 02:11:09 +01:00
def9b9aefb Add Filament and Printer Profile components with associated functionality
- Introduced FilamentProfiles and PrinterProfiles components for managing filament and printer profiles, respectively.
- Implemented modal dialogs for creating and editing profiles, enhancing user interaction.
- Added ObjectTable for displaying profiles with action handling for edit and delete operations.
- Integrated context for API server interactions and improved state management for profile visibility and actions.
- Created detailed info components for both filament and printer profiles, allowing for comprehensive data management and display.
2026-07-20 02:10:41 +01:00
2ff3636913 Refactor GCodeFile and Printer models to streamline date fields. Add 'createdAt' to Printer and restore 'updatedAt' to GCodeFile while removing redundant definitions. Update SubJob model to include additional columns for better data tracking. 2026-07-18 16:28:18 +01:00
359fbae5c7 Enhance Job and SubJob models by adding 'edit', 'cancelEdit', 'finishEdit', and 'delete' actions with corresponding visibility and disabled conditions. Update JobInfo and SubJobInfo components to incorporate new edit logic and improve button state management. Add 'updatedAt' field to both models for better tracking of job and subjob modifications.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-18 15:19:02 +01:00
e3a9b8b6f9 Update Payment model to add 'postedAt', 'authorisedAt', and 'cancelledAt' fields while removing redundant definitions for improved data structure and clarity. 2026-07-18 14:00:26 +01:00
0a347c1396 Enhance NewCourierService and CourierService models by adding cost-related fields and default values. Update NewListing and NewListingVarient components to set label widths for better layout. Modify Listing and ListingVarient models to include courierServices and update required fields for improved data integrity.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-18 13:35:52 +01:00
333ce96fd8 Update HostInfo component to set label width for improved layout and modify Host model to add 'updatedAt' field while removing 'connectedAt' field for better data management. 2026-07-13 23:37:30 +01:00
00243b0e5e Enhance ObjectProperty and OperationDisplay components to support dynamic type resolution and add subscription/unsubscription operations with corresponding icons. Update AuditLog model to handle new operation types and provide descriptive values for user actions.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-13 02:48:08 +01:00
c16a1e8a4e Improved product view. 2026-07-13 00:30:55 +01:00
8f25a8491d Add masterFilter functionality to Invoice model for orderType and order ID context in object properties 2026-07-04 20:20:22 +01:00
a896cdf223 Implement search functionality for models by label in SpotlightContext and update list data handling to include model actions. Enhance model retrieval logic for improved user interaction in the dashboard.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-25 01:00:33 +01:00
2df25364a0 Add URLs to various database models for improved navigation in the dashboard 2026-06-25 00:50:59 +01:00
75eeed16a0 Add plural labels to various database models 2026-06-25 00:47:12 +01:00
2177870fc9 Enhance Filament and FilamentSku models by enforcing required fields for cost-related properties. Update NewFilamentSku and NewFilament components to reflect changes in default values and layout adjustments for better user experience. Modify FilamentInfo to utilize updated object data structure for filament selection.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-21 23:59:21 +01:00
8fbcc67230 Refactor Part and Product models to change 'disabled' property to 'readOnly' for margin fields. Implement value calculation for margin based on price and cost when priceMode is 'amount', enhancing data handling and user experience.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-21 23:30:36 +01:00
156d2a8baf Update Part model to enforce required fields for cost, costWithTax, priceMode, price, margin, priceWithTax, and priceTaxRate. Remove fileName property and improve filter and sorter organization for better clarity and maintainability.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-21 23:13:25 +01:00
457c427928 Add payment management features to Finance dashboard, including AuthorisePayment, DeclinePayment, and CancelPayment components for handling payment actions. Update PaymentInfo to integrate new modals for these actions and enhance Payment model to support new states and attributes, improving overall payment processing functionality.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-06-21 22:32:51 +01:00
0406c0d0e0 Add Tax Records feature to Finance dashboard, including NewTaxRecord component for creating records and TaxRecordInfo for detailed views. Update routing and sidebar navigation to reflect new structure, ensuring a seamless user experience in managing tax records. 2026-06-21 22:22:46 +01:00
4501f9936f Refactor ProductSku and PartSku models to enforce required fields for overrideCost, overridePrice, and related properties. Update visibility logic for cost and price fields based on overrides, ensuring consistent data handling across components. Adjust NewProductSku and ProductInfo components to utilize updated default values and improve user experience.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-21 21:19:49 +01:00
842ada9f33 Refactor Invoice model by removing duplicate 'paidAt' field definition and ensuring consistent property structure. 2026-06-21 19:15:43 +01:00
08890bd5bf Add 'fromType' and 'toType' fields to Invoice model; update NewInvoice component to handle new properties and enhance data handling. 2026-06-21 18:36:19 +01:00
6fd375b4c9 Update columnWidth property to 180 for multiple models to ensure consistent UI layout across the application.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-21 18:14:54 +01:00
78dc567a8f Implemented software update installation.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-21 15:18:04 +01:00
4363f08f50 Implemented about page.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-21 13:19:09 +01:00
afbab60ab9 Started app update implementation.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-21 01:59:03 +01:00
8f369d777d Fixed product SKUs.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-20 22:27:17 +01:00
15ce7123a2 Implemented electron view menu. 2026-06-20 02:32:52 +01:00