Skip to content

v1.0.6

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Feb 06:24

Added

  • Dashboard I/O Gauges - Real-time Disk I/O and Network I/O visualization on dashboard
    • Circular gauge components showing read/write rates for physical disks
    • Network gauges displaying download/upload speeds in Mbps
    • Replaces SystemStatus component with more actionable performance metrics
  • Storage Builder - New unified workflow system for storage configuration with flexible entry points
    • Workflow Selector (/storage-builder) - Central hub with 5 workflow options
      • Complete Storage Setup - Full guided wizard (Disks → RAID → LVM → Pool → Shares)
      • RAID Array - Standalone RAID creation from physical disks
      • LVM Volumes - Redirects to existing /lvm page for VG/LV management
      • Storage Pool - Create pools from devices, RAID arrays, or LVM logical volumes
      • Network Shares - Create NFS or Samba shares from existing storage
    • Individual Workflows - Each component can be configured independently without forced multi-step process
    • Storage Pool Types - Pool creation now supports 3 types:
      • Bind Mount - Single device directly mounted
      • MergerFS - Pool multiple devices together
      • LVM Logical Volume - Mount existing unmounted LVs as storage pools
    • StorageBuilderCard - Prominent card on Dashboard and Storage pages for easy workflow access
    • FirstRunBanner - Non-intrusive banner for first-time users to launch Storage Builder
  • LVM Volumes Page - New dedicated page (/lvm) for managing LVM volume groups and logical volumes
    • Create/delete volume groups from available physical devices (RAID arrays, disks)
    • Create/delete logical volumes from volume groups
    • View VG size, free space, and usage statistics
    • Expandable VG cards showing associated logical volumes
    • Mount LVs as storage pools directly from the LVM page
  • LVM Frontend API - New lvmAPI with methods for VG and LV management
    • getVolumeGroups(), createVolumeGroup(), deleteVolumeGroup()
    • getLogicalVolumes(), createLogicalVolume(), deleteLogicalVolume()
    • getAvailableDevices() for discovering devices suitable for VG creation
  • Frontend Component Architecture - Refactored storage page into reusable components
    • DisksTab.svelte - Disk listing with SMART health indicators
    • RAIDTab.svelte - RAID array management with delete functionality
    • PoolsTab.svelte - Storage pool management with action callbacks
    • Cleaner separation of concerns, easier testing and maintenance
  • Svelte Expression Conventions - Added .claude/svelte-conventions.md documenting:
    • Variable reference patterns (full object paths, store prefixes)
    • Event handler patterns (arrow functions for parameters)
    • Immutable array/object operations
    • Common pitfalls and how to avoid them
    • Component best practices (props, callbacks, accessibility)

Changed

  • Dashboard Layout - Removed SystemStatus component in favor of inline I/O gauges
    • SystemStatus and DashboardStats were redundant (both showing CPU/memory)
    • I/O gauges provide unique value not shown elsewhere on dashboard
  • Storage Page Buttons - "Create RAID Array" and "Create Storage Pool" now link to dedicated workflow pages instead of opening modals
  • NFS/Samba Share Creation - Simplified to only show Storage Pools in path selection
    • Removed LVM Logical Volumes dropdown section to eliminate confusion
    • Storage Pools are now the single source of truth for shareable storage
    • LVM volumes must be mounted as pools first before they can be shared
  • Pool Type Validation - Pool creation uses lvm type (instead of lvm_lv) for LVM logical volume pools to match backend expectations
  • Navigation - Added "LVM Volumes" link to sidebar between "Storage" and "Sharing"
  • Removed Deprecated Usage Mode - Storage pools no longer have export mode selector (file/iSCSI/available options removed from pools UI)
  • Documentation - Updated CLAUDE.md and README.md with Storage Builder, LVM routes, and component architecture

Fixed

  • Pool Creation API Error - Fixed 400 Bad Request when creating LVM-backed pools
    • Changed pool type from lvm_lv to lvm to match backend validation
    • Backend handler accepts lvm as valid pool type for LVM logical volumes
  • LVM Signature Wipe Prompt - Fixed LV creation failing on existing signatures with "Wipe it? [y/n]" prompt
    • Added both -W y (wipesignatures) and -y (auto-confirm) flags to lvcreate command
    • The -y flag is required to auto-answer the signature wipe prompt
    • Allows reusing LV names from previously deleted volumes without manual intervention
  • LVM Free Space Detection - Fixed "not enough free space in VG (have 0 GB)" error when creating LVs
    • getVGInfo() was not trimming the "B" suffix from vgs --units b output (e.g., "123456789B")
    • ParseInt() was failing to parse strings with suffix, returning 0
    • Now properly strips "B" suffix before parsing, same as GetVolumeGroups() function
  • LVM Pool Name Expression Error - Fixed "pool is not defined" error in LVM page
    • Changed {pool-name || newLV.name} to {newLV.poolName || newLV.name}
    • The hyphenated name was being interpreted as subtraction (pool minus name) instead of a variable reference
  • LVM Input Pattern Regex Error - Fixed "character class escape cannot be used in class range" validation error
    • Changed pattern="[a-z0-9-]+" to pattern="[a-z0-9\-]+" to properly escape hyphen in regex character class
    • Allows hyphens in VG and LV names (e.g., "vg-data", "lv-bank")
  • Storage Page Tab Structure - Fixed improper if/else block nesting that caused "attempted to close an element that was not open" error
    • Added missing {/if} to close the outer activeTab if/else chain
    • Properly closes tab content div structure

Full Changelog: v1.0.5...v1.0.6