43 Commits

Author SHA1 Message Date
ed4f1c7505 Implement editDisabled state across various components for improved editing control
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
- Added editDisabled state to multiple components, enhancing control over editing actions based on the current state.
- Updated the disabled property in relevant components to utilize the new editDisabled state, ensuring consistent behavior across the dashboard.
- Refactored imports to remove unused getModelByName function calls, streamlining the codebase.
2026-08-09 23:33:34 +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
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
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
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
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
fb9454d8e0 Refactor Stock Transfers and Management Components
- Adjusted width of Stock Transfers modal for better UI consistency.
- Enhanced New Stock Transfer form with default transfer name generation and improved validation handling.
- Added Product Categories to Management Sidebar and updated routing for better navigation.
- Implemented delete functionality in Host Info component.
- Improved User Info layout for mobile responsiveness and added ObjectProperty component for better data display.
- Updated FileUpload and FileList components to support minimal display mode.
- Enhanced ObjectTable with subscription filtering and improved rendering logic.
- Added new properties and filters to Stock Transfer and Product models for better data management.
2026-06-14 23:51:45 +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
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
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
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
28422018cd Overhauled new gcodefile. 2025-09-07 19:45:57 +01:00
fbdb451659 Add DocumentPrintButton to various management components and update objectData handling 2025-09-05 23:16:42 +01:00
aee3370b6d Refactor object form. 2025-08-31 21:29:46 +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
5680b067a8 Fixed warnings and info pages. 2025-08-23 00:53:47 +01:00
4c3d37a7d0 Migration to Vite. 2025-08-22 20:28:50 +01:00
66e137fac2 Refactor LockIndicator imports to use common path across components, remove unused LockIndicator file, and update related components for consistency. Enhance DashboardBreadcrumb for improved path mapping and add Hosts section to ManagementSidebar. Adjust ObjectSelect for better object handling and update ObjectTable for improved loading behavior. 2025-07-20 18:29:48 +01:00
2a18f3d697 Refactoring 2025-07-14 22:59:47 +01:00
9ba65075be New flag display, updated old components to use model system. Implemented some inventory features. 2025-07-12 20:14:40 +01:00
3c2d3ec858 Refactored management components to enhance data handling and UI consistency. Integrated ObjectTable for audit logs across various entities, including Parts, Products, and Users. Updated column visibility management and removed unused imports for cleaner code. Improved error handling in API interactions and streamlined component structures for better maintainability. 2025-07-07 00:30:38 +01:00
fdc862d16c Refactored management components to utilize ObjectTable for consistent data representation and improved functionality. Updated column visibility handling and integrated new model properties for better data management. Removed unused imports and streamlined code for enhanced readability. 2025-07-06 01:51:14 +01:00
fe85250838 Refactored components to replace DashboardTable with ObjectTable for improved consistency and functionality. Updated FilamentStockInfo, PartStocks, StockAudits, and other inventory management components to utilize NotesPanel instead of DashboardNotes. Removed unused DashboardNotes and DashboardTable components to streamline the codebase. 2025-07-04 21:29:27 +01:00
9ccf7faa2f Added dayjs dependency for date manipulation and refactored components to replace IdText with IdDisplay for consistent ID representation. Updated logging to use loglevel for improved debugging and removed console logs for cleaner code. 2025-06-29 22:38:11 +01:00
0634919bb6 Refactored application to replace SocketContext with PrintServerContext for WebSocket communication. Updated related components to utilize print server events for real-time updates. Removed unused SocketContext and NotificationContext files. Updated package dependencies to use loglevel instead of log4js for improved logging capabilities. 2025-06-29 02:28:01 +01:00
f220d81722 Enhanced UI with new view modes for inventory components, added audit log displays, and improved loading states. Updated configuration for production URLs and removed unused components. Refactored styles for better consistency. 2025-06-28 00:17:58 +01:00
bd5085cded Updated dependencies, improved UI elements, and refactored components for better performance. Added new features including audit logs and enhanced loading states. Removed unused print jobs component. 2025-06-08 18:31:06 +01:00
9a9b2a8326 Added more icons and fixed some ui elements. 2025-06-02 02:01:02 +01:00
60f62df55a Added better app loading and error handling 2025-06-01 23:32:02 +01:00
792d2e1c1c Added config file 2025-06-01 00:18:15 +01:00
6f65c062bd Added icons and some minor UI tweaks. 2025-05-31 23:53:54 +01:00
e56a563e98 Added filament stock functionality and improves some performance 2025-05-19 00:28:00 +01:00
47ce2dfe8e Added more functionality. 2025-05-09 22:23:51 +01:00