1069 Commits

Author SHA1 Message Date
9a601245b6 Refactor Settings Component and Introduce New Settings Schema
- Removed unused imports and streamlined component structure for better readability.
- Added a new settings schema to manage user and app settings, enhancing configurability.
- Updated state management for settings, including draft and saved settings handling.
- Improved appearance application logic to dynamically adjust theme and density based on user preferences.
- Introduced utility functions for validating and picking settings, ensuring robust settings management.
2026-09-04 02:33:05 +01:00
da8fe8de2d Refactor FilamentSku, PartSku, and ProductSku Models for Improved Readability and Structure
- Updated lazy loading syntax for component imports to enhance code clarity.
- Reformatted content return statements in SKU components for better readability.
- Added 'overrideCost' and 'overridePrice' fields to SKU models for expanded functionality.
- Adjusted column widths for 'Override Cost' and 'Override Price' fields to improve layout consistency.
2026-09-04 01:33:11 +01:00
8c4911809c Enhance Date Filtering and Input Components with New Date Utilities and UI Improvements
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Added new date utility functions for better handling of date ranges, including start and end of month, week, and year.
- Updated FilterInput component to support date unit highlighting and improved tokenization for date expressions.
- Enhanced QuickPropertyFilters to include additional date filter options such as 'Today', 'Yesterday', and relative date ranges.
- Improved CSS styles for date input elements to enhance visibility and user interaction.
- Refactored AuditLogs component to integrate new ObjectTableViewButton for better data representation.
2026-09-04 00:36:18 +01:00
d02895b78d Add Timeline View Support to ObjectTable and Enhance CSS Styles
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced a new timeline view in the ObjectTable component, allowing users to visualize data over time.
- Updated view mode utilities to include timeline-specific settings for start and end dates, and color properties.
- Enhanced ObjectTableViewButton to manage timeline settings and integrate timeline icon.
- Added CSS styles for timeline components to improve layout and visual feedback.
- Refactored StateTag component to utilize a utility function for state representation, improving maintainability.
2026-09-03 22:25:46 +01:00
789e66b0f3 Enhance FilterSidebar and ObjectTable Components with View Filter and User Overrides
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Added support for viewFilter and isEditing props in FilterSidebar to manage filter states more effectively.
- Updated ObjectTable to handle user overrides for filter and sort states when switching views, ensuring accurate data representation.
- Integrated userOverridesRef to maintain filter and sort states during editing, improving user experience when managing views.
- Adjusted loading logic in ObjectTableNavigationButtons to prioritize effective filters based on active views, enhancing data consistency.
2026-09-03 16:31:07 +01:00
3d1926aba0 Enhance MissingPlaceholder Integration in ObjectKanban and ObjectTable Components
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
- Added MissingPlaceholder component to ObjectKanban and ObjectTable for improved user feedback when no data is available.
- Updated ObjectKanban to display a custom message when no category property is selected.
- Modified ObjectTable to show MissingPlaceholder when there is no data and lazy loading is not active.
- Introduced height prop to MissingPlaceholder for better layout control.
2026-09-03 15:22:30 +01:00
c75876ab3c Enhance ObjectKanban Component with Column Resizing Overlays and Improved Skeleton Structure
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced ObjectKanbanColumnResizeHandle and ObjectKanbanColumnResizeOverlay components for better column resizing functionality.
- Updated CSS styles to support new overlays and improve visual feedback during resizing actions.
- Refactored ObjectKanbanSkeletonColumns to utilize the new skeleton structure for enhanced layout and responsiveness.
- Adjusted properties and styles for better content visibility and interaction during resizing.
2026-09-03 15:09:27 +01:00
d62431c4fa Update CSS for ObjectKanban Component to Improve Resizing and Visual Feedback
- Adjusted the positioning of the column resize handle for better alignment and user interaction.
- Modified hover styles for the resize handle to enhance visual feedback during resizing actions.
- Updated dimensions of the list view tabs color dot for a more consistent appearance.
- Changed overflow property in the ObjectKanbanColumnSkeleton to allow for better content visibility.
2026-09-03 14:48:19 +01:00
5e6b4213ab Enhance ObjectKanban and ObjectTable Components with Column Resizing and Drag-and-Drop Functionality
- Implemented dynamic column resizing in ObjectKanban and ObjectKanbanColumn, allowing users to adjust column widths for better layout control.
- Added drag-and-drop support for reordering columns in ObjectKanbanHeader, improving user interaction and customization of the kanban view.
- Updated CSS styles in App.css to accommodate new resizing handles and visual feedback during drag-and-drop actions.
- Refactored ObjectKanban and related components to manage column states and widths effectively, ensuring a responsive and user-friendly experience.
2026-09-03 14:27:34 +01:00
65e25ae077 Enhance ObjectKanban and ObjectTable Components with Update Handling and Filtering Logic
- Introduced new utility functions for managing updates and filtering in ObjectKanban and ObjectTable, improving data handling during updates.
- Enhanced ObjectKanban to support dynamic reloading of columns based on filter and sort changes, ensuring accurate data representation.
- Updated ObjectKanbanColumn to include item finding and updating capabilities, streamlining item management within columns.
- Refactored ObjectTable to improve item update handling and ensure consistent behavior with kanban view integration.
- Added lazy loading support in ObjectKanbanHeader for better loading state management during data fetching.
2026-09-03 13:11:00 +01:00
59f603d05d Refactor ElipsisText Component for Improved State Management
- Replaced refs with state variables for container and measure elements to enhance reactivity and maintainability.
- Updated layout effects to utilize new state variables, ensuring accurate measurement and truncation logic.
- Improved cleanup logic in useLayoutEffect to prevent memory leaks and ensure proper event handling for font loading and observers.
2026-09-03 11:27:30 +01:00
cb49baaf93 Enhance LoadingPlaceholder and Object Components with Lazy Loading Support
- Updated LoadingPlaceholder to accept new props for border and height customization, improving flexibility in loading states.
- Integrated lazy loading functionality across ObjectCard, ObjectKanban, ObjectKanbanColumn, ObjectKanbanHeader, and ObjectTable components, enhancing user experience during data fetching.
- Adjusted rendering logic in ObjectTable to display LoadingPlaceholder when data is being fetched, providing clearer visual feedback to users.
- Refactored prop types in relevant components to include lazy loading options, ensuring consistent API across components.
2026-09-03 03:53:31 +01:00
dc237eecdd Implement Custom Spin Component and Update Loading States
- Introduced a new Spin component to standardize loading indicators across the application, enhancing visual consistency.
- Updated ObjectKanban, ObjectKanbanColumn, and ObjectTable components to utilize the new Spin component, simplifying loading state management.
- Refactored CSS styles in App.css to support the new Spin component, including responsive design adjustments for various loading sizes.
- Removed redundant loading indicators and streamlined loading behavior for improved user experience during data fetching.
2026-09-03 03:24:25 +01:00
1466fe0f62 Enhance ObjectKanban and ObjectTable with Silent Loading Options
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Updated ObjectKanban and ObjectTable components to support silent loading, allowing for smoother user experience during data fetching without disrupting the UI.
- Refactored load functions to accept an options parameter, enabling conditional loading states based on the silent flag.
- Improved loading state management in ObjectKanbanColumn to maintain visual consistency during filter and sort updates.
- Adjusted loading behavior in ObjectTable to prevent unnecessary loading indicators when silent loading is enabled.
2026-09-03 03:17:38 +01:00
26d8c80d54 Enhance ObjectKanban with Skeleton Loading and Responsive Layout
- Introduced a skeleton loading state in the ObjectKanban component to improve user experience during data fetching.
- Updated CSS styles for the ObjectKanban and related components to ensure a responsive layout, accommodating various screen sizes.
- Refactored ObjectKanbanHeader to conditionally render skeletons based on loading state, enhancing visual feedback.
- Improved filter and sorter handling in ObjectKanbanColumn for better data management during loading.
2026-09-03 02:58:29 +01:00
0eae922a9e Enhance ObjectTableViewButton with View Mode Cycling and Typography Updates
- Refactored ObjectTableViewButton to include a cycling feature for view modes, allowing users to switch between list, cards, and kanban views seamlessly.
- Updated the component to utilize Ant Design's Typography for improved text styling and consistency.
- Removed icons from view mode options to streamline the interface and focused on text labels.
- Adjusted button properties to enhance user interaction and accessibility.
2026-09-03 01:42:33 +01:00
ab7919122a Add Kanban and Timeline Icons, Enhance Kanban Component Styles
- Introduced new SVG icons for Kanban and Timeline to enhance visual representation in the dashboard.
- Expanded App.css with new styles for the Kanban component, improving layout and responsiveness.
- Updated various dashboard components to integrate the new ObjectListViewPageContent for better view management and consistency across the application.
2026-09-03 01:30:44 +01:00
9b344b6a3d Enhance Dashboard Breadcrumb and ObjectListView Context with View Management
- Updated DashboardBreadcrumb to display a more informative name by incorporating the view name alongside the model label, improving user navigation clarity.
- Enhanced ObjectListViewProvider to synchronize the active view name with the dashboard breadcrumb, ensuring consistent view representation across components.
- Introduced session management for object list views in TableStateContext, allowing for persistent view states across user sessions.
2026-09-02 22:56:51 +01:00
9d1a032e10 Refactor Dashboard Components to Remove Unused State Management
- Removed unnecessary useState hooks for view state management in multiple dashboard components (Invoices, PaymentPolicies, Payments, TaxRecords, FilamentStocks, OrderItems, PartStocks, ProductStocks, PurchaseOrders, Shipments, StockAudits, StockEvents, StockLocations, StockTransfers, AppPasswords, AuditLogs, Couriers, CourierServices, DocumentJobs, DocumentPrinters, DocumentSizes, DocumentTemplates, Filaments, FilamentSkus).
- Updated ObjectListViewProvider integration to streamline component functionality and improve maintainability.
- Adjusted CSS variables in App.css for enhanced styling consistency across components.
2026-09-02 22:41:49 +01:00
444e694593 Update getModelByPluralName to use replaceAll for whitespace handling
- Modified the getModelByPluralName function to utilize replaceAll instead of replace for improved whitespace removal in formatted names, enhancing consistency in model name formatting.
2026-09-02 21:41:29 +01:00
b6834fecc6 Refactor ObjectTable and ObjectListViewContext for Simplified Filter Management
- Removed unnecessary state management for masterFilter and masterSort in ObjectTable, streamlining filter handling.
- Updated ObjectListViewContext to simplify view state restoration logic, enhancing clarity and maintainability.
- Adjusted references to masterFilter throughout ObjectTable to ensure consistent filter application.
2026-09-02 21:35:56 +01:00
73de7ac8ee Enhance Dashboard Components with Loading State and Styling Improvements
- Updated ListViewEditButtons to disable actions during initial loading, improving user experience.
- Refactored ListViewTabs to adjust icon styles based on loading state and removed unnecessary imports for cleaner code.
- Modified ObjectListViewContext to use viewId instead of view reference for better clarity and consistency.
- Updated TableStateContext to reflect changes in view parameter naming, enhancing code maintainability.
- Adjusted App.css for improved styling of segmented navigation items and loading indicators.
2026-09-02 21:26:39 +01:00
96b809b9d8 Refactor Dashboard Components to Integrate ListView Functionality
- Updated multiple dashboard components (Invoices, PaymentPolicies, Payments, TaxRecords, FilamentStocks, OrderItems, PartStocks, ProductStocks, PurchaseOrders, Shipments, StockAudits, StockEvents, StockLocations, StockTransfers, AppPasswords, AuditLogs) to incorporate ListViewTabs and ListViewEditButtons for enhanced user interaction.
- Introduced ObjectListViewProvider to manage view state and filter/sort changes across components, improving maintainability and user experience.
- Added state management for active views and filter/sort handling to streamline component functionality.
2026-09-02 20:56:08 +01:00
088ef79b11 Add LoadingIcon Component with SVG Animation
- Introduced a new LoadingIcon component that utilizes an SVG for a rotating loading animation.
- Added loadingicon.svg file to assets/icons for the visual representation of the loading state.
- Integrated the LoadingIcon component into the project for enhanced user experience during loading processes.
2026-09-02 19:02:30 +01:00
b2e35c965c Update QuickPropertyFilters Component with Padding Adjustments and Enhanced Text Prompts
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Modified padding styles for buttons in the QuickPropertyFilters component to improve visual consistency.
- Enhanced text prompts to provide clearer instructions for users regarding property filtering options.
2026-09-01 21:20:32 +01:00
c23a4f8f64 Enhance FilterInput Component with Improved Styling and Structure
- Refactored FilterInput component to utilize CSS classes for operand icons, tags, and chips, improving maintainability and readability.
- Added new CSS styles in App.css for filter input elements, enhancing visual consistency and user experience.
- Updated component structure to streamline rendering and improve performance, including adjustments to the property filter layout and scrollbar handling.
2026-09-01 21:12:32 +01:00
aef6ec8749 Enhance SortSidebarButton with Badge and Sorting State Management
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
- Integrated Badge component to display the count of active sorters in the SortSidebarButton.
- Utilized useLocation and useTableState hooks to manage sorting state based on the current route.
- Updated TableStateContext to include pageSorters state and setPageSorter function for improved sorting functionality across the dashboard.
2026-09-01 20:14:03 +01:00
e49c7c23ed Enhance Filter Functionality in Dashboard Components
- Integrated property filter value into the QuickPropertyFilters component for improved filtering capabilities.
- Updated ObjectTable to register page sorter and manage filter states more effectively.
- Refactored QuickPropertyFilters to include category labels and clear filter functionality, enhancing user experience.
- Adjusted styles and layout for better usability and visual consistency across components.
2026-09-01 20:13:59 +01:00
415aa0cd9d Update App.css for Input Number Component Styling
- Added padding to input fields within the input-number-cal class for improved usability.
- Adjusted z-index and color properties for better visual hierarchy and clarity in the input-number-cal-highlight class.
- Ensured consistent background styling for input fields in the input-number-cal-expr-input class to enhance user experience.
2026-09-01 19:58:44 +01:00
451787debd Refactor SimplePropertyFilter to Move MissingPlaceholder Logic
- Moved the MissingPlaceholder component logic to a new position within the SimplePropertyFilter component for improved readability and structure.
- Ensured that the component correctly displays a message when no options are found while maintaining the loading state functionality.
2026-09-01 19:55:23 +01:00
d180f2217a Enhance SimpleDateTimePropertyFilter with MissingPlaceholder and Filter Optimization
- Added MissingPlaceholder component to display a message when no options are found.
- Introduced omitUndefinedValues utility to filter out undefined values from filter objects, improving data handling.
- Updated loading state initialization to reflect visibility status.
- Optimized filter handling for better performance and clarity in the SimpleDateTimePropertyFilter component.
2026-09-01 19:55:10 +01:00
3352c25819 Add QuickPropertyFilters Component and Enhance FilterInput and ObjectTable
- Introduced QuickPropertyFilters component for streamlined property filtering functionality.
- Updated FilterInput to integrate QuickPropertyFilters, enhancing user experience with quick access to filter options.
- Modified ObjectTable to include QuickPropertyFilters, improving filtering capabilities within the dashboard.
- Adjusted styles in App.css for dropdown z-index and input font consistency.
2026-09-01 18:44:40 +01:00
1597370a16 Enhance InputNumberCal Component with Expression Highlighting and Improved Layout
- Added expression highlighting functionality to the InputNumberCal component, allowing operators and brackets to be visually distinct.
- Implemented layout synchronization for highlighted expressions to match input field dimensions.
- Updated styles in App.css for dropdown and input number components to improve visual hierarchy and user experience.
- Refactored input handling to support expression mode with keyboard interactions for better usability.
2026-09-01 18:44:31 +01:00
b590890bd3 Enhance Database Models with Additional Cost and Pricing Fields
- Added 'additionalCost' and 'additionalCostWithTax' fields to CourierService model.
- Introduced 'connection.port' field in DocumentPrinter model.
- Updated Filament model with 'density' and 'emptySpoolWeight' fields.
- Enhanced Part, PartSku, Product, and ProductSku models by adding 'cost', 'costWithTax', 'price', 'margin', and 'priceWithTax' fields for improved pricing structure.
2026-09-01 17:35:20 +01:00
d96b84513c Add Filter Expression Utility and Integrate with DateTime Filters 2026-09-01 17:33:18 +01:00
291d5e438c Add PostFilamentStock Component and Update FilamentStock Model
- Introduced the PostFilamentStock component to handle posting filament stock with confirmation dialog and loading state management.
- Updated NewFilamentStock component to change the default state from 'unconsumed' to 'draft'.
- Enhanced FilamentStock model by adding 'postedAt' field and integrating the PostFilamentStock component into the actions for posting filament stocks.
- Improved visibility and disabled state logic for editing and posting actions based on filament stock state.
2026-09-01 17:26:15 +01:00
41825a23e5 Enhance FilamentStock, PartStock, and ProductStock Models with Disabled State Logic
- Added disabled state logic to FilamentStock, PartStock, and ProductStock models to prevent actions when the respective object data is not present.
- Improved return values in FilamentStock model to handle undefined cases for starting and current weights, ensuring robust data handling.
2026-09-01 17:13:38 +01:00
2feba8b3cc Enhance NewObjectButtons, NewObjectForm, and related components with improved loading and disabled state handling
- Updated NewObjectButtons to disable controls based on loading state and current step.
- Refactored NewObjectForm to integrate computed entries calculation and manage loading state more effectively.
- Enhanced ObjectProperty and WizardView components to respect the disabled state during form interactions.
- Introduced new utility functions for calculating model computed entries, improving data handling and clarity.
2026-09-01 17:11:07 +01:00
a41f168adc Refactor ShipmentInfo and PurchaseOrder Models for Improved Clarity and Functionality
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Updated ShipmentInfo component to enhance code readability by adjusting label widths and formatting masterFilter properties.
- Refactored PurchaseOrder model to spread objectData properties, improving data handling and consistency across order-related functionalities.
2026-09-01 16:49:39 +01:00
9b309aa61c Add Stock Audit and Stock Event Sections to Inventory Components
- Introduced new sections for Filament Stocks, Part Stocks, Product Stocks, and Stock Audits in the StockLocationInfo component, enhancing inventory visibility.
- Added Stock Events section to the StockTransferInfo component, improving data representation for stock transfers.
- Updated StockAuditLevelInfo component to include Stock Audits, ensuring comprehensive audit management.
- Enhanced state management and UI elements for better user experience across all components.
2026-09-01 16:35:09 +01:00
6800702881 Add Stock Events Section to Stock Audit Info Component
- Introduced StockEventIcon and added a new section for Stock Events in the StockAuditInfo component.
- Updated the collapse state management to include stock events, enhancing the user interface and data visibility.
- Modified the ObjectTable to display stock events related to the selected stock audit, improving data representation and user experience.
2026-09-01 16:34:58 +01:00
3475c1b35d Add padding to table cells in App.css for improved layout consistency 2026-09-01 16:34:49 +01:00
d8862b65c9 Refactor Stock Transfer Components and Models for Improved Clarity and Functionality
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Removed the default transfer name generation from NewStockTransfer component to simplify initialization.
- Updated the description in PostStockTransfer component to clarify the posting process.
- Enhanced StockTransfer model by adding 'fromLocation' and 'toLocation' filters and columns, improving data representation.
- Refactored properties in StockTransfer model to ensure required fields are correctly set and improved data handling for stock types and quantities.
2026-09-01 16:04:28 +01:00
458512bc2f Update Stock Audit Components with Default State and Required Fields
- Modified NewStockAudit and NewStockAuditLevel components to include a default state of 'draft' in their defaultValues, enhancing the initialization process.
- Updated StockAuditLevel model to make the 'tags' field required, ensuring necessary data is captured.
- Improved data handling in the StockAuditLevel model by refining the value function for better clarity and maintainability.
2026-09-01 15:51:22 +01:00
b8adc777a4 Enhance Invoice, Payment, ProductStock, and PartStock Models with Modal Centering and Code Formatting
Some checks are pending
farmcontrol/farmcontrol-ui/pipeline/head Build started...
- Added 'modalCentered' property to the 'post' modal in Invoice, Payment, ProductStock, and PartStock models to improve modal presentation.
- Reformatted content return statements in Invoice, Payment, and PurchaseOrder models for better readability and consistency.
2026-09-01 15:41:45 +01:00
972fdb62ad Add Stock Audit Level Management Features and Enhance Stock Audit Components
- Introduced Stock Audit Level management components, including StockAuditLevels, NewStockAuditLevel, and StockAuditLevelInfo, to facilitate the creation and management of stock audit levels.
- Enhanced existing StockAudit components by adding a PostStockAudit feature for posting stock audits and updating the NewStockAudit form to handle draft states.
- Updated StockAuditInfo to include new properties and improved visibility settings for audit lines, enhancing user experience and data representation.
- Refactored ObjectModels and sidebar configurations to integrate Stock Audit Levels into the management dashboard, improving navigation and accessibility.
- Added new utility functions and improved data handling across components to ensure seamless integration and performance.
2026-09-01 15:41:35 +01:00
a5b888333d Enhance ObjectSelect and ApiServerContext with Subscription Logic and Utility Functions
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced new utility functions in ObjectSelect for tree node searching and value validation, improving data handling and user experience.
- Enhanced ObjectSelect component to manage object updates and reloading logic more effectively, ensuring accurate state representation.
- Added subscription capabilities for all object updates in ApiServerContext, allowing for real-time updates across components.
- Refactored existing methods to improve clarity and maintainability, enhancing overall performance of the dashboard components.
2026-09-01 14:14:12 +01:00
dff0a02c12 Enhance ModelHistoryDisplay with Tooltip Formatting and Utility Functions
- Added useCallback for formatTooltipValue to improve tooltip display by incorporating prefix, suffix, and rounding based on series definitions.
- Updated data structure in chart data preparation to include prefix and suffix for values, enhancing clarity in displayed metrics.
- Imported round utility function to facilitate number rounding based on series configuration, improving data presentation accuracy.
2026-09-01 13:34:37 +01:00
589acab592 Enhance NewHost and ObjectForm Components with Additional Device Info Fields
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Updated NewHost component to include new fields for 'deviceInfo.user.shell' and 'deviceInfo.process.execPath', improving the detail of host information captured.
- Enhanced ObjectForm component to handle nested property paths correctly, ensuring computed values do not overwrite parent objects when sibling properties exist.
- Modified ObjectInfo component to correctly display values for object properties, improving data representation.
- Refactored Host model to include new device information fields, enhancing the overall data structure for hosts.
2026-09-01 13:04:05 +01:00
2d881cb152 Enhance ObjectProperty Component with Additional Value Handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Updated ObjectProperty component to improve rendering logic for state and message values, enhancing user feedback.
- Reformatted fieldNames for better readability and maintainability in the Tree component.
2026-09-01 12:34:34 +01:00