Tom Butcher f743f9b892
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
Refactor TemplateEditor and TemplatePreview components for improved performance and error handling
- Updated TemplateEditor to use useCallback for handlePreviewMessage, optimizing performance.
- Enhanced TemplatePreview by adding default no-op functions for onTestObjectOpen and onPreviewMessage props.
- Improved error handling in fetchTemplatePDF and fetchTemplatePreview methods to ensure callbacks are only invoked if they are functions.
- Refactored preview loading logic to prevent unnecessary calls when template ID is not available.
2026-07-28 01:50:16 +01:00
2025-05-09 22:23:51 +01:00
2025-12-09 02:16:29 +00:00
2025-08-24 00:08:13 +01:00
2025-05-09 22:16:13 +01:00
2026-03-07 22:43:13 +00:00
2025-05-09 22:23:51 +01:00
2025-08-22 20:28:50 +01:00
2026-07-27 00:03:00 +01:00
2025-12-29 02:43:15 +00:00
2025-12-13 21:05:03 +00:00

Farm Control UI

Build Status

Farm Control UI is a modern web application for managing and monitoring farm production, inventory, and operations. This project serves as the frontend for the FarmControl system, providing an intuitive interface for users to interact with various farm management modules.

Features

  • Dashboard for real-time monitoring
  • Inventory management (Filaments, Parts, Products, Vendors, etc.)
  • Production tracking (Jobs, Printers, GCode files)
  • User and access management
  • Audit logs and activity tracking
  • Responsive and user-friendly design

Stack

Getting Started

Prerequisites

  • Node.js (v16 or higher recommended)
  • npm (v8 or higher)

Installation

  1. Clone the repository:
    git clone https://github.com/your-org/farmcontrol-ui.git
    cd farmcontrol-ui
    
  2. Install dependencies:
    npm install
    

Running the App

To start the development server:

npm run dev

The app will be available at http://localhost:5173.

Building for Production

To build the app for production:

npm run build

The optimized build will be in the build/ directory.

To run the app for production:

npm start

Project Structure

src/
  assets/         # Icons, logos, and other static assets
  components/     # React components organized by feature/module
  config.js       # App configuration
  index.jsx        # App entry point
  App.jsx         # Main App component
  ...
public/           # Static public files
scripts/          # Utility scripts (e.g., SVG minification)

License

This project is licensed under the MIT License.

Description
A modern web application for managing and monitoring farm production, inventory, and operations.
Readme 45 MiB
Languages
JavaScript 99%
CSS 0.9%