1064 Commits

Author SHA1 Message Date
7fef25d911 Enhance Dashboard Navigation with Object Navigation Hook
- Introduced `useObjectNavigationTabPage` hook to streamline navigation tab management for various dashboard components, improving consistency in object handling.
- Updated multiple components (DocumentTemplateDesign, EmailTemplateDesign, NoteInfo, GCodeFilePreview, ControlPrinter) to utilize the new hook for better object navigation and state management.
- Adjusted CSS styles for dashboard tabs to improve layout and responsiveness, enhancing user experience across devices.
2026-09-17 21:39:04 +01:00
2f9f42c9e2 Refactor tab management in NavigationTabsContext
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Simplified the logic for adding new tabs by directly appending the next tab to the current tabs array, improving code readability and maintainability.
- Removed unnecessary calculations for determining the insertion index, streamlining the tab addition process.
2026-09-17 20:46:26 +01:00
d16aa373be Implement Navigation Tabs and Dashboard Enhancements
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced NavigationTabsContext to manage tab state and navigation within the dashboard.
- Added DashboardTabs component for improved tabbed navigation, allowing users to add, close, and reorder tabs.
- Enhanced Dashboard layout to conditionally render tab panes based on the active tab, improving user experience.
- Updated various components to utilize navigation tab context, ensuring consistent title management and tab interactions.
- Implemented drag-and-drop functionality for tabs, enabling users to rearrange their workspace effectively.
- Refactored CSS styles for dashboard tabs and panes to ensure proper layout and responsiveness across devices.
2026-09-17 20:39:50 +01:00
7dfaef65a4 Add new SVG icons for various actions and UI elements
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced multiple SVG icons including actionsicon, apppasswordicon, arrow icons (up, down, left, right), and various other utility icons.
- Enhanced visual representation across the application by adding icons for functionalities like check, bold, bullet list, and more.
- Improved user interface consistency and accessibility with the addition of these icons, facilitating better user interaction.
2026-09-17 18:42:10 +01:00
bf4f44376b Implemented bundle output for native apps.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-09-17 14:16:31 +01:00
2fa5c288d2 Implement Mobile Footer Navigation and Enhance Dashboard Layout
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Added MobileFooterNavigation component for improved navigation on mobile devices, featuring segmented navigation for key sections.
- Updated DashboardLayout to conditionally render MobileFooterNavigation based on screen size.
- Enhanced DashboardNavigation to dynamically adjust menu items based on mobile view, improving user experience.
- Refactored CSS styles for mobile footer navigation to ensure proper layout and responsiveness.
- Adjusted ObjectTable component to account for new mobile layout, ensuring consistent display across devices.
2026-09-15 03:26:21 +01:00
968dc0667a Enhance ObjectSelect Component with Improved State Management and Value Handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced refs for loaded keys and tree select value to optimize state management and prevent unnecessary re-renders.
- Refactored getValueIdentity function to handle various data types more effectively, including null and boolean values.
- Updated selection handling logic to ensure accurate comparisons and prevent redundant updates during value changes.
- Enhanced loading logic to track loaded nodes and improve the rendering of child components based on selection state.
- Implemented additional useEffect hooks to synchronize state changes with component updates, enhancing overall responsiveness.
2026-09-15 01:56:57 +01:00
da2881d505 Enhance Email Messaging Components with Recipients Management and UI Improvements
- Introduced ObjectChildCards component to manage recipients in the NewEmailMessage and EmailMessageInfo components, allowing for better organization and display of recipient information.
- Updated EmailMessageInfo to include a collapsible section for recipients, enhancing user experience by providing clear visibility of recipient details.
- Refactored email recipient handling in NewEmailMessage to utilize candidatesToRecipients for improved recipient management and validation.
- Enhanced EmailSendButton to accommodate the new recipients structure, ensuring proper data flow and functionality.
- Improved utility functions for email recipient resolution, streamlining the process of fetching and managing recipient data.
2026-09-15 01:56:51 +01:00
c9751dd5ef Enhance fcTemplateLang Schema with New Style Attributes and Placeholder Support
- Added 'margin', 'header', and 'footer' to the list of style attributes, allowing for more flexible styling options.
- Updated the logic for 'vertical', 'header', and 'footer' to include boolean values in their attribute definitions.
- Introduced pagination placeholders ('!pageNumber' and '!totalPages') to support dynamic content in templates.
- Implemented a completion source function for placeholders, enhancing user experience by providing context-aware suggestions.
2026-09-15 01:02:07 +01:00
eea7e1f724 Add InfoActionButtons to Various Dashboard Components
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Integrated InfoActionButtons into multiple components across the Finance and Inventory sections, enhancing user interaction and providing contextual actions for invoices, payment policies, payments, tax records, and various inventory items.
- Updated the respective components to include the new buttons with appropriate object types and list mode settings, improving the overall functionality and user experience in the dashboard.
2026-09-14 23:33:03 +01:00
8adf2d7847 Refactor HostDeviceScanner for Enhanced Scanning Logic and State Management
- Introduced refs to manage scanning state and active host ID, improving control over scan initiation and termination.
- Updated useEffect to handle scanning conditions more effectively, including debouncing stop scan actions.
- Enhanced session management and error handling during network scans, ensuring better user feedback and reliability.
- Cleaned up component lifecycle management to prevent memory leaks and ensure proper resource cleanup.
2026-09-14 23:11:21 +01:00
e32e48fa3a Enhance Document and Printer Components with Host Device Scanning
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced HostDeviceScanner component to facilitate network scanning for document printers and printers.
- Updated NewDocumentPrinter and NewPrinter components to integrate HostDeviceScanner, allowing users to scan for compatible devices based on connection settings.
- Enhanced ObjectInfo displays within both components to improve visibility of connection properties and device information.
- Refactored default values to include connection settings for better initial configuration.
2026-09-14 22:50:17 +01:00
2fcab27cd4 Enhance PrinterQueue Component with CSS Styling for Vertical Steps
- Added a new CSS class for the PrinterQueue component to adjust the minimum height of the last step item in vertical step layouts.
- Updated the PrinterQueue component to include the new class, improving visual consistency and layout management in the dashboard.
2026-09-14 22:08:40 +01:00
a8932f1e66 Update gcode-preview Dependency and Refactor GCodePreview Component
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Upgraded gcode-preview package from version 2.18.0 to 3.0.0-alpha.6, incorporating breaking changes and new features.
- Refactored GCodePreview component to align with the updated API, including changes to color handling and camera management.
- Improved rendering logic to utilize sceneManager for better performance and maintainability.
- Enhanced user interaction by updating event handling and resizing logic in the GCodePreview component.
2026-09-14 10:21:28 +01:00
5dca5ef42f Enhance ObjectSelect Component with Improved Value Handling and State Management
- Updated value comparison logic in areValuesEqual to handle null values and case insensitivity.
- Introduced load generation tracking to manage asynchronous updates and prevent stale data handling.
- Refactored onTreeSelectChange to improve selection handling for both single and multiple selections.
- Added useEffect hooks to manage state changes based on type and masterFilter updates, enhancing component responsiveness.
- Implemented findObjectById function for better object retrieval from the list, improving performance and clarity.
2026-09-14 10:20:53 +01:00
4d2ec19ff1 Enhance GCodePreview Component with Render Mode and Travel Visibility Options
- Added render mode selection to toggle between 'lines' and 'pipes' for GCode visualization.
- Introduced travel visibility options to show or hide travel paths in the preview.
- Updated rendering logic to reflect changes in user-selected options, improving the flexibility and usability of the GCodePreview component.
2026-09-14 09:57:30 +01:00
5f776f896f Enhance FilePreview Component with Download Progress Indication
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Integrated download progress tracking in the FilePreview component to provide users with real-time feedback during file loading.
- Updated fetchFileContent function in ApiServerContext to support progress callbacks, enhancing user experience during file downloads.
- Refactored rendering logic in FilePreview to display a progress overlay while files are being fetched, improving visual feedback and interaction.
2026-09-13 23:21:15 +01:00
49e23299da Enhance FileInfo and GCodePreview Components with Loading State and Theme Support
- Wrapped FilePreview in a Spin component to indicate loading state when fetching file data in FileInfo.
- Removed hardcoded color properties from GCodePreview and implemented dynamic theme color support based on user settings.
- Refactored camera and control handling in GCodePreview for improved user interaction and responsiveness.
- Updated File model to include 'extension' field for better file management and sorting capabilities.
2026-09-13 23:06:24 +01:00
8dd55a4257 Refactor DocumentTemplateInfo and Model Definitions for Consistency and Clarity
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Adjusted formatting in DocumentTemplateInfo component for improved readability and consistency.
- Updated DocumentTemplate and EmailTemplate models to include 'updatedAt' field with appropriate properties for better data tracking.
- Refined file field definitions in both models to enhance clarity and functionality, including master filters and thumbnail support.
2026-09-13 19:34:34 +01:00
e610290465 Enhance Template and Object Management with Resource Support
- Updated fcTemplateLang to include resourceNames for improved autocompletion in template languages.
- Added resource management capabilities to DocumentTemplate and EmailTemplate models, allowing for dynamic handling of resources.
- Enhanced DocumentTemplateInfo and EmailTemplateInfo components to display and manage resources, improving user interaction and data visibility.
- Refactored related components, including CodeBlockEditor and ObjectProperty, to support resource integration, ensuring consistent functionality across the application.
2026-09-13 19:26:04 +01:00
db23e685ff Enhance EmailMessage and File Models with Improved Field Labels and Added Updated At Timestamp
- Updated field labels in EmailMessage model for clarity, changing 'Recipient' to 'Recipient Email' and 'Recipient Object' to 'Recipient'.
- Added 'Updated At' timestamp field to File model to track modification times, improving data management and auditing capabilities.
2026-09-13 18:58:11 +01:00
869a5309fb Update TemplatePreview Component Styles for Improved Responsiveness
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
- Adjusted button and input styles in TemplatePreview to enhance layout adaptability.
- Changed button width to a minimum of 70px and input width to a range of 120px to 140px, improving user interaction and visual consistency.
2026-09-13 18:38:27 +01:00
92789b2d38 Implement Pinch Zoom and Scroll Preservation for PDF and Template Previews
- Added usePinchZoom and usePreserveZoomScroll hooks to enable pinch zoom functionality and maintain scroll position during zooming in PDFViewer and TemplatePreview components.
- Introduced a new clampPreviewScale function to ensure zoom levels remain within defined limits.
- Enhanced TemplatePreview with a zoom slider and overlay for better user interaction.
- Updated PDFViewer to handle scale changes and improve rendering performance.
- Refactored related components to support the new zooming features, enhancing overall user experience.
2026-09-13 18:30:00 +01:00
d63d925d2c Enhance ObjectTable Row Selection with Dynamic Class Handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced a new getRowClassName function to dynamically apply the 'object-table-row-selected' class based on bulk selection criteria.
- Updated the ObjectTable component to utilize the new row class logic, improving visual feedback for selected rows.
- Enhanced CSS styles for selected rows in the dashboard table, providing distinct background colors for better user experience during selection and hover states.
2026-09-13 17:21:37 +01:00
ebcf959e85 Add Bulk Object Actions to Management and Dashboard Components
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Integrated BulkObjectActions component across various management and dashboard components for improved batch processing capabilities.
- Updated components including Invoices, PaymentPolicies, Payments, TaxRecords, and multiple Inventory and Management sections to include bulk action functionality.
- Enhanced user experience by allowing users to perform actions on multiple items simultaneously, streamlining workflows and improving efficiency.
2026-09-13 17:12:50 +01:00
f01f978ec6 Enhance TemplatePreview Component with Scaling and Layout Improvements
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
- Introduced scaleCssSize function to dynamically adjust CSS sizes based on scaling factor.
- Added responsive width control for the preview document, improving layout adaptability.
- Implemented useLayoutEffect to apply iframe content size based on preview type and width.
- Refactored reloadPreview function to simplify parameters and ensure consistent width handling.
- Enhanced iframe rendering with scaling transformations for better visual representation.
2026-09-12 23:47:57 +01:00
a590650d80 Refactor CodeMirror Language Support and Enhance Template Handling
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
- Updated fcTemplateLang to utilize new helper functions for improved template type handling.
- Introduced typedScope for better autocompletion support in JavaScript language integration.
- Enhanced CodeBlockEditor and TemplateEditor components to support cursor change events and template type management.
- Added fetchTemplateIntellisense function in ApiServerContext for improved intellisense capabilities based on cursor position.
- Refactored related components to ensure consistent handling of template types and cursor changes, enhancing user experience.
2026-09-12 23:30:00 +01:00
a9e4c8dad3 Refactor InfoActionButtons to Conditionally Render Buttons Based on User Permissions
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Integrated AuthContext to access user profile permissions.
- Added logic to conditionally display DocumentPrintButton and EmailSendButton based on user permissions, enhancing security and user experience.
- Improved component structure for better maintainability and clarity.
2026-09-12 22:09:04 +01:00
483682ce44 Add Email Account and Email Message Management Components
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced new EmailAccounts and EmailMessages components for managing email accounts and messages.
- Implemented ObjectTable for displaying data with filtering and sorting capabilities.
- Integrated InfoActionButtons for enhanced user interactions across various management functionalities.
- Refactored existing components to replace DocumentPrintButton with InfoActionButtons for consistency in action handling.
- Added EmailAccountInfo component for detailed view and management of individual email accounts.
2026-09-12 21:40:18 +01:00
098fec3b2e Enhance TimeEdit Component with Context Integration and Dynamic Date Format
- Added useContext to integrate ApiServerContext for accessing user settings.
- Implemented dynamic dateTimeFormat in the TimeEdit component, improving flexibility based on user preferences.
- Refactored date picker to utilize the new format, enhancing user experience and consistency.
2026-09-12 00:24:25 +01:00
c29034ff27 Update ObjectProperty Component to Improve Layout Flexibility
- Added minWidth property to the style of the ObjectProperty component, enhancing layout adaptability and preventing overflow issues in responsive designs.
2026-09-07 01:20:34 +01:00
7df004ac47 Enhance TemplateEditor and TemplatePreview Components with Layout Improvements
- Added minWidth property to the TemplateEditor component for better layout control.
- Introduced a responsive toolbar in the TemplatePreview component, utilizing Popover for improved UI on smaller screens.
- Implemented a ResizeObserver to dynamically adjust toolbar settings based on available width, enhancing user experience.
- Refactored toolbar content handling to streamline button interactions and improve accessibility.
2026-09-07 01:20:28 +01:00
ae1194efb9 Update Theme Context and CSS for Enhanced Placeholder Color and State Handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Added a new CSS variable for text placeholder color, improving consistency across themes.
- Updated the ThemeContext to set the new placeholder color based on dark mode settings.
- Enhanced the state handling in Utils.js to include 'overdue' status, improving clarity in state representation.
2026-09-06 22:57:53 +01:00
749ddf0c31 Refactor SalesOrder and User Models for Improved Object Data Handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Updated the objectData method in SalesOrder and User models to directly return the complete objectData instead of a subset, enhancing data accessibility.
- Improved clarity and maintainability of the objectData function structure in both models, ensuring consistent handling of order and user data.
2026-09-06 19:24:25 +01:00
8bb8d417f7 Enhance ObjectSelect Component with Improved Value Handling and Synchronization
- Introduced utility functions to standardize value conversion and retrieval, improving consistency in value handling.
- Enhanced synchronization of external values with internal state, ensuring accurate representation of selected items.
- Improved selection change handling to prevent unnecessary updates when no valid selection is made.
- Refactored tree selection logic for better clarity and maintainability, ensuring robust handling of both single and multiple selections.
2026-09-06 19:24:17 +01:00
a1697fe0fd Refactor NewObjectForm for Improved Initialization and State Management
- Updated the form initialization logic to ensure it accurately reflects the latest default values and computed entries.
- Enhanced the handling of form state synchronization with object data, ensuring consistency during edits.
- Improved validation and reset logic to maintain form integrity when default values change.
- Streamlined the application of computed values to enhance clarity and maintainability of the component.
2026-09-06 18:18:53 +01:00
6bc81cf90f Enhance ApiServerContext with Improved Reconnection Handling
- Added loading state indication during reconnection attempts in the modal.
- Adjusted modal dimensions and styles based on the reconnection status for better user experience.
- Streamlined the display logic for connection lost messages and reconnection progress, improving clarity and responsiveness.
2026-09-06 17:10:48 +01:00
56479ea358 Enhance FilterInput and QuickPropertyFilters with Quote Support and Improved Options
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Added support for quote tokens in the FilterInput component, allowing for better expression handling.
- Updated QuickPropertyFilters to include new filter options for 'isEmpty' and 'isNotEmpty', enhancing filtering capabilities.
- Improved CSS styles for quote elements to ensure consistent appearance in light mode.
- Adjusted padding in ObjectTimelineItem for better layout consistency.
2026-09-05 02:28:24 +01:00
8438757db5 Refactor Invoices Component for Improved Readability and Structure
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Streamlined the JSX structure in the Invoices component for better readability.
- Removed unnecessary line breaks and adjusted indentation for consistent formatting.
- Enhanced the organization of child components within the ObjectListViewProvider for clearer hierarchy.
2026-09-05 01:59:30 +01:00
5ad0008122 Refactor Database Models for Improved Readability and Consistency
- Updated lazy loading syntax for component imports across multiple models to enhance code clarity.
- Reformatted content return statements in various components for better readability.
- Adjusted column widths for date fields from 175 to 200 to improve layout consistency across models.
- Ensured consistent formatting and structure in model definitions for better maintainability.
2026-09-05 01:59:21 +01:00
4cae70b5e8 Integrate AuthContext into ObjectKanban and ObjectTimeline for Enhanced Subscription Management
- Added AuthContext to both ObjectKanban and ObjectTimeline components to manage subscriptions based on user authentication status.
- Updated useEffect hooks to conditionally subscribe to updates only when the user is connected and authenticated, improving performance and reliability.
- Refactored dependency arrays in useEffect hooks to include token checks, ensuring proper cleanup and subscription management.
2026-09-05 01:58:55 +01:00
fe2d257653 Enhance ObjectTable and Sidebar Functionality with Dynamic Width Management
- Introduced a new custom hook, useSidebarWidth, to manage and persist sidebar widths based on user settings, improving user experience and customization.
- Updated ObjectTable to utilize the sidebar width dynamically, enhancing layout responsiveness.
- Implemented visibility logic for vertical scrollbars in the ObjectTable, ensuring better usability during data interaction.
- Enhanced CSS styles for scrollbar transitions and sidebar components, improving visual feedback and interaction.
2026-09-05 01:58:44 +01:00
becd5d5e82 Enhance TimeDisplay Component with User Settings Integration
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Integrated user settings context to dynamically adjust date and time formats in the TimeDisplay component, improving customization based on user preferences.
- Refactored date formatting logic to utilize user-defined formats, ensuring accurate display of date and time based on user settings.
- Improved overall readability and maintainability of the component by streamlining the formatting logic.
2026-09-04 02:33:24 +01:00
8ff580bf0f Enhance DashboardNavigation Component with User Settings Integration
- Updated DashboardNavigation to utilize user settings for appearance and navigation label preferences, improving user experience.
- Introduced logic to dynamically set theme mode and density based on user preferences and application settings.
- Refactored useEffect to ensure settings are applied only when user settings are loaded, enhancing performance and reliability.
2026-09-04 02:33:20 +01:00
8b33a82a65 Refactor ObjectForm Component to Use Fetched Data for Editing State
- Updated ObjectForm to prefer fetched snapshot data over stale objectData when entering edit mode, ensuring accurate state management.
- Enhanced logic to compute next object data based on the latest server data, improving user experience during editing.
- Simplified state change handling by integrating base data checks, reducing potential errors during data updates.
2026-09-04 02:33:15 +01:00
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