66 Commits

Author SHA1 Message Date
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
a2d27c692a Add PrinterControlButtons component for enhanced printer action management
- Introduced PrinterControlButtons to encapsulate start, pause, and cancel actions for printers, improving user interaction.
- Updated ControlPrinter component to integrate PrinterControlButtons, enhancing layout with Flex for better alignment.
- Adjusted button states based on printer status and loading state, ensuring appropriate user feedback and action availability.
2026-08-01 15:54:00 +01:00
e52798d4ac Enhance printer panels to handle offline state more effectively
- Added an `offline` prop to PrinterTemperaturePanel, PrinterMiscPanel, and PrinterPositionPanel components to manage state when printers are offline.
- Implemented useEffect hooks in each panel to reset relevant data when offline, ensuring accurate display of printer status.
- Updated ControlPrinter component to pass the `offline` state based on the printer's online status, improving user experience during offline scenarios.
2026-08-01 15:28:48 +01:00
f3d6bebc38 Integrate TableStateProvider into App and Dashboard components for enhanced state management
- Added TableStateProvider to the App component, encapsulating routing logic to manage table states effectively.
- Removed redundant TableStateProvider from the DashboardLayout component, streamlining the component structure.
- Updated ControlPrinter and ObjectActions components to improve action visibility and navigation button rendering based on slicer integration state.
- Enhanced action filtering in ObjectActions to eliminate unnecessary dividers, improving menu item clarity.
2026-08-01 15:21:58 +01:00
0e0accc115 Update navigation button states across various components to improve user interaction
- Modified the `disabled` prop for `ObjectTableNavigationButtons` in multiple components, including InvoiceInfo, PaymentInfo, and TaxRecordInfo, to account for both loading states and editing states.
- This change enhances user experience by preventing interactions during loading or editing, ensuring a smoother workflow across the dashboard.
2026-08-01 13:36:29 +01:00
a2a1c5be5b Add ObjectTableNavigationButtons to various components for improved navigation
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Integrated ObjectTableNavigationButtons into multiple components including InvoiceInfo, PaymentInfo, TaxRecordInfo, and others to enhance user navigation.
- Each button is configured with appropriate props for object type and ID, ensuring consistent functionality across the dashboard.
- This update improves the overall user experience by providing quick access to related object actions.
2026-08-01 13:18:03 +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
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
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
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
a4346ead98 Fixed warnings. 2026-07-26 01:53:28 +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
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
634be89698 Refactor modal behavior across multiple components to use 'destroyOnHidden' instead of 'destroyOnClose' for improved resource management. This change applies to AppPasswordInfo, FilamentInfo, PartInfo, ProductInfo, UserInfo, MarketplaceInfo, and ExportListButton components. 2026-07-23 21:41:46 +01:00
d7ad2208d4 Enhance GCodeFile, DeployJob, NewJob, and ControlPrinter components with slicer integration support
- Updated NewGCodeFile and NewJob components to include slicerIntegration, currentStep, and onStepChange props for improved workflow management.
- Modified DeployJob to handle printer online status and added slicerIntegration support for conditional rendering of actions and steps.
- Enhanced ControlPrinter to manage visibility of actions based on slicerIntegration, improving user experience in printer control.
- Refactored form handling to pass result objects to onOk callbacks, ensuring better data handling upon submission.
2026-07-20 02:11:01 +01:00
c0a6968045 Add Slicer Integration feature with lazy loading and routing support
- Introduced SlicerIntegration component for managing slicer uploads and printer control.
- Added SlicerUploadFlow component to handle the upload process and job creation.
- Updated App.jsx to include a new route for the SlicerIntegration component.
- Enhanced ProductionRoutes with new routes for PrinterProfiles and FilamentProfiles, improving navigation and organization of printer-related features.
2026-07-20 02:09:59 +01:00
f5dffd5512 Update NewPrinter component to pass the result object to onOk callback upon successful submission, enhancing the handling of printer creation. 2026-07-20 02:09:20 +01:00
67058d72a4 Disable auditLogs feature across multiple components in the Dashboard for improved performance and user experience. 2026-07-04 22:06:32 +01:00
e0b409434d Remove useMessageContext import from NewGCodeFile, NewJob, and NewPrinter components to streamline code and improve maintainability.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-21 22:36:52 +01:00
77611646aa Remove success message display for GCode file, job, and printer creation in NewGCodeFile, NewJob, and NewPrinter components to streamline user feedback during submission.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-06-21 22:35:17 +01:00
6d1c7cf6ca Remove success message display for job and printer creation in NewJob and NewPrinter components to streamline user feedback during submission.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-06-21 22:18:51 +01:00
6fe30f680f Update visibleProperties in multiple components to hide _reference field for improved data presentation.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-21 17:14:32 +01:00
7a5ea5416b Numerious fixes. 2026-05-17 19:11:25 +01:00
2622fae555 Implemented notifications.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-03-01 01:42:27 +00:00
6be21bd006 Refactor imports to use .jsx extension for hooks and components, and add new hooks for managing collapse state, column visibility, table data, table scroll, and view mode.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-02-28 18:05:47 +00:00
7e1ec9f3ae Removed development logging. 2025-12-27 15:19:09 +00:00
d7827ecb6d Implemented new message context. 2025-12-14 23:06:42 +00:00
c96f223176 Added labelWidth property to PrinterInfo component for improved layout consistency. 2025-12-09 02:10:53 +00:00
bf1b61179f Added labelWidth property to ObjectInfo components in NewJob and NewPrinter for consistent layout adjustments. 2025-12-09 02:10:45 +00:00
2f323181f5 Refactor form components to accept defaultValues prop for enhanced flexibility
- Updated NewFilamentStock, NewPartStock, NewPurchaseOrder, NewStockAudit, NewCourierService, NewCourier, NewDocumentPrinter, NewDocumentSize, NewDocumentTemplate, NewPart, NewProduct, NewTaxRate, NewTaxRecord, NewVendor, NewGCodeFile, NewJob, and NewPrinter components to accept a defaultValues prop.
- Merged defaultValues with existing default values in each component to allow for more customizable form initialization.
2025-12-07 02:40:32 +00:00
13bbcbe50e Added tax rates, tax records and minor style improvements. 2025-12-03 23:35:30 +00:00
d0911c1166 Implemented server updates to printer controls. 2025-12-03 15:46:52 +00:00
f80ab801e8 Enable hyperlink display in ObjectInfo components for improved navigation. 2025-12-03 12:45:52 +00:00
05d7864da8 A lot of UI fixes updated packages etc. 2025-12-02 18:29:09 +00:00
d5d0040871 Added scroll box for custom scroll bars. 2025-11-30 00:13:52 +00:00
91e7121fd5 Add filament stock management to ControlPrinter component with modal integration for loading and unloading filament. Implement new actions for pausing, resuming, and canceling jobs, enhancing printer control functionality. 2025-11-24 03:34:28 +00:00
3c9071be33 Add printer control actions for firmware and queue management 2025-11-17 18:49:00 +00:00
48631c98c3 Refactor file handling and update API methods for improved file management. Renamed fetchObjectContent to fetchFileContent, updated related function calls, and enhanced file preview capabilities. Removed unused components and optimized imports. 2025-11-16 17:02:15 +00:00
6c0933b797 Refactor NewPrinter component to utilize NewObjectForm and WizardView for improved structure and user experience; streamline printer setup process and enhance form validation. 2025-09-05 23:17:35 +01:00
5a656d43f1 Added AlertsDisplay component to ControlPrinter and updated state management to include objectData. 2025-09-05 23:14:32 +01:00
6fedb9739f Added DocumentPrintButton to PrinterInfo component and updated objectData handling. 2025-09-05 23:13:19 +01:00
aee3370b6d Refactor object form. 2025-08-31 21:29:46 +01:00
4d01a6a04f Overhaul printer control 1. 2025-08-31 21:29:00 +01:00
eba1a87664 Refactor EditObjectForm to ObjectForm 2025-08-30 23:42:05 +01:00
bbf21a3bb1 Fixed info page height to work better on diferent clients. 2025-08-23 23:45:30 +01:00
4c3d37a7d0 Migration to Vite. 2025-08-22 20:28:50 +01:00
ee90e75133 Refactor PrinterInfo component for improved state management and UI consistency
- 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.
2025-08-18 01:05:07 +01:00
2eccf6736f Refactor PrinterState import to use StateDisplay component
- 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.
2025-08-18 01:04:58 +01:00