Skip to content

[GUI] Build Config Editor page #19

Description

@Weidows

Description

Build the Config Editor page for visually editing the wutils configuration.

Tasks

  • Parse wutils.yml and render as a form with sections:
    • App: name, version, debug mode (toggle)
    • Logging: level (dropdown), format (dropdown)
    • Refresh: interval (number input)
    • DSG: parallel (toggle), disks (tag input), delay (number)
    • OL: parallel (toggle), delay (number), patterns (editable table)
    • Buffer: enable (toggle), memory_limit (slider), flush_interval, strategy (dropdown)
  • Each field shows its description as tooltip (from YAML comments)
  • "Save" button persists to ~/.config/wutils/app.yml
  • "Reset to Defaults" button
  • "Export" / "Import" buttons for config file
  • Validation: show inline errors for invalid values
  • Raw YAML editor mode (advanced users, syntax highlighted textarea)
  • Unsaved changes warning before navigating away
  • Hot-reload: if config changes on disk (external edit), show reload prompt

Acceptance Criteria

  • All config fields render correctly with current values
  • Save writes valid YAML that wutils config cat can read
  • Reset to defaults works
  • Validation prevents invalid values (e.g., negative intervals)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status
    TODO

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions