652 Commits

Author SHA1 Message Date
a4346ead98 Fixed warnings. 2026-07-26 01:53:28 +01:00
9956085e44 Refactor ObjectForm and ApiServerContext for improved activity handling
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Removed redundant calls to notifyActivityState in ObjectForm, consolidating activity state updates within useEffect hooks for better performance.
- Introduced resubscribeActivityListeners in ApiServerContext to manage activity subscriptions more effectively upon socket connection and page visibility changes.
- Enhanced activity event subscription management by utilizing a Set to track active subscriptions, improving clarity and reducing potential memory leaks.
2026-07-26 01:38:13 +01:00
0db2dff9fe Refactor ObjectForm condition check for clarity
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Updated the condition in ObjectForm to explicitly check for boolean true when verifying connection status, improving code readability and intent.
2026-07-26 01:01:49 +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
86b43481d8 Improve styling and layout of dashboard components
- Updated line-height in markdown paragraphs for better readability.
- Adjusted margin in NoteItem component for improved spacing.
- Added a class name to Flex component in PropertyChanges for enhanced styling control.
2026-07-25 22:58:54 +01:00
41f844b49d Enhance Notification component with new features and improved structure
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Introduced memoization for NotificationBody and NotificationDetails components to optimize rendering performance.
- Added new notification types and corresponding message handling in getNotificationMessage function for better user feedback.
- Updated Notification component to support inline icons and detailed views for notifications.
- Refactored notification icon handling to utilize model-specific icons where applicable.
- Adjusted NotificationCenter to display notifications with new props for enhanced visibility and interaction.
- Increased notification duration for better user experience.
2026-07-25 01:36:10 +01:00
03cd3db1c7 Enhance NoteItem component with new props for body and footer visibility
- Added showBody and showFooter props to the NoteItem component to control the rendering of the note's content and footer elements.
- Refactored the component structure to conditionally display the body and footer based on the new props, improving flexibility in note presentation.
2026-07-25 01:35:41 +01:00
6471434d81 Update CountryDisplay component to improve layout consistency
- Added minWidth style to Flex and inner div elements to ensure proper alignment and prevent overflow issues in the CountryDisplay component.
2026-07-25 01:35:35 +01:00
2eda23fd06 Enhance CodeBlockEditor styling for minimal mode
- Added a class name 'minimal-code-block-editor' to the div in minimal mode for improved styling and potential CSS targeting.
2026-07-25 01:35:24 +01:00
b16cdd6e96 Enhance styling and functionality of dashboard components
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Added new CSS variables for padding in ScrollBox to improve layout.
- Updated ObjectForm to include console logs for debugging during editing cancellation.
- Refactored ObjectInfo to use mergeWith for better array handling in state updates.
- Enhanced ObjectProperty and ObjectTable components to support new props for better integration with tags.
- Improved TagsDisplay and TagsInput components for better tag management and display, including loading states and dynamic options fetching.
- Introduced getModelPropertyValues function in ApiServerContext for fetching model-specific property values, enhancing data handling capabilities.
2026-07-24 23:20:00 +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
70456d945d Enhance FileUpload, ObjectProperty, and ObjectSelect components by adding masterFilter prop for improved file filtering capabilities. Refactor FileList component styles for better layout consistency. Update ObjectSelect to accept custom styles, enhancing flexibility in usage. 2026-07-24 22:20:03 +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
2b24812723 Update ObjectChildTable component to include objectData prop for enhanced data handling and functionality. 2026-07-24 21:06:37 +01:00
5c436e6afa Update SKELETON_HEIGHT in ObjectTable component for improved layout consistency. Adjust Skeleton.Input height for better visual alignment in the dashboard table. 2026-07-23 23:24:52 +01:00
deec609d54 Enhance FileList and ObjectProperty components by adding maxWidth prop for improved layout control. Update rendering logic in FileList to accommodate card and minimal states, ensuring better responsiveness. Adjust PropertyChanges to maintain consistent styling with new width settings. 2026-07-23 23:24:48 +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
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
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
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
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
830cf5224a Add FilamentProfileIcon component for improved icon representation
- Introduced a new FilamentProfileIcon component that utilizes a custom SVG icon for better visual representation in the application.
- The component is designed to be reusable and integrates seamlessly with existing icon functionality.
2026-07-20 02:10:15 +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
48ff9b83e8 Enhance AuthContext component by adding support for processing authentication codes from URL parameters. Introduce a reference to track processed auth codes, ensuring proper handling of new logins and session management. Update modal visibility logic for unauthorized access and improve loading state handling. 2026-07-20 02:08:44 +01:00
938bea5342 Refactor ObjectSelect component to improve ID comparison and ensure case-insensitive matching. Update value and key properties to use lowercase string representation of object IDs for consistent handling. 2026-07-20 02:07:19 +01:00
8dc74f1a8e Enhance ObjectTable component by adding support for action handling with new props for row actions and visibility of action buttons. Refactor skeleton data creation and improve loading logic for better performance and user experience during data fetching. 2026-07-20 02:07:10 +01:00
46fd3b0c8e Enhance ObjectProperty component by adding support for min/max value handling and array input/display functionality. Introduce new MinMaxDisplay, MinMaxInput, ArrayDisplay, and ArrayInput components, improving data entry and visualization capabilities. Update validation logic for min/max and list inputs to ensure data integrity. 2026-07-20 02:06:40 +01:00
a38d9c91f6 Enhance ObjectInfo component by adding support for property definitions and controlled property changes. Introduce new props for parent data and property change handling, improving flexibility and data management in the component. 2026-07-20 02:06:22 +01:00
37d6ba9148 Add primary color override and disabled color properties in ThemeContext. Update CSS custom properties for primary and disabled colors based on theme mode and user-defined overrides, enhancing theme customization capabilities. 2026-07-20 02:06:13 +01:00
ca0128d986 Enhance ObjectChildTable component by adding detail modal functionality for property editing and viewing. Introduce new icons for edit and view actions, improve property resolution logic, and streamline item removal handling. Update table column rendering to accommodate hidden properties, enhancing user interaction and data management. 2026-07-20 02:06:04 +01:00
9442c9105b Enhance WizardView component by adding support for controlled current step management and optional sub-step descriptions using Timeline. Introduce new props for sidebar width, button visibility, and step skipping functionality, improving user interaction and flexibility in the wizard flow. 2026-07-20 02:05:58 +01:00
0c6fe5cbac Add ArrayDisplay and ArrayInput components for enhanced array handling. ArrayDisplay provides a visual representation of array items with optional prefix and suffix, while ArrayInput allows dynamic addition and removal of items, supporting both text and numeric inputs for improved user interaction. 2026-07-20 02:05:51 +01:00
8cb2bea2d3 Fix InputNumberCal component to handle empty string input correctly and streamline value handling in the InputNumber component for improved data entry experience. 2026-07-20 02:05:40 +01:00
bde1d5b896 Add MinMaxDisplay and MinMaxInput components for enhanced min/max value input and display functionality. Implement formatting and precision handling for better user experience in data entry and visualization. 2026-07-20 02:05:32 +01:00
aa1446b502 Add new SVG icons and corresponding React components for HotEnd, MultiMotion, Picture, PrinterProfile, Ruler, and FilamentProfile. Update sidebarIconMap to include new icons for improved UI consistency. 2026-07-20 02:05:18 +01:00
edce328880 Refactor ObjectTable component to improve data handling and loading logic. Introduce skeleton page creation for better user experience during data fetching. Optimize page management and scrolling behavior, enhancing performance and maintainability.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-18 19:56:37 +01:00
cd30be7677 Refactor HistoryDisplay component to streamline imports and enhance layout structure. Consolidate loading state handling and improve chart rendering logic for better performance and user experience. 2026-07-18 18:59:51 +01:00
7ca78280b3 Refactor PropertyChanges component to maintain model references and special value objects. Update key flattening logic to prevent alteration of specific properties, enhancing data integrity during property change handling.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-18 16:28:29 +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
9c2dd62c7e Implement scroll optimization in ObjectTable component by introducing scroll operation throttling and refactoring scroll handling logic. Add dedicated functions for scrolling up and down to improve user experience during data loading.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-18 15:43:58 +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
51abe4ca67 Implement user settings management in ApiServerContext, including functions to get and update user settings. Refactor hooks for collapse state, column visibility, filter sidebar visibility, and view mode to utilize centralized user settings, enhancing state management and improving user experience.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-18 14:48:23 +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
76757998c8 Changed unsubscribe color.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-07-13 23:20:23 +01:00
287a9615b8 Improved color display. 2026-07-13 22:38:26 +01:00