• v2.1 b3443201b2

    Version 2.1 Stable

    SluberskiHomeLab released this 2025-09-29 16:49:54 -05:00 | 23 commits to main since this release

    Added Navigation Buttons:

    • Added "Edit config" button to the dashboard (top right)
    • Added "Return to dashboard" button to the config page (top right)
    • Both buttons use Material-UI IconButtons with consistent styling
    • Used React Router's Link component for navigation

    Made IP and Port Optional:

    • Created new migration 002_optional_ip_port.sql
    • Modified database schema by dropping NOT NULL constraints
    • Updated server endpoints to handle null values for ip and port
    • Updated frontend form to mark these fields as optional
    • Added proper null handling in both frontend and backend
    • Improved error handling and validation

    Updated Frontend Components:

    • Modified ServiceCard.js to conditionally show IP:port only when both exist
    • Updated ConfigurationPage.js form validation
    • Added better error handling and logging
    • Improved form field handling for optional values

    Updated Backend (server/index.js):

    • Added better validation for required fields
    • Improved error handling with specific error messages
    • Added proper type conversion for numeric values
    • Added detailed logging for debugging
    • Added specific handling for database constraints

    Database Changes:

    • Successfully ran migration to make IP and port optional

    All these changes have resulted in:

    • More intuitive navigation between dashboard and config

    • Flexible service configuration with optional IP/port

    • More robust error handling

    • Improved user experience in the configuration interface

    • The application now provides more flexibility in service configuration while maintaining a clean and user-friendly interface.

    Downloads