Skip to content

Expose Recording Directory in SettingsΒ #124

@OpenSauce

Description

@OpenSauce

The recording directory is currently hardcoded to ./recordings with no way to change it from the UI. Users should be able to configure where their recordings are saved.
The setting already exists in the Settings struct and is persisted to settings.json, but it's not exposed in the settings dialog.

What Needs to Change

Add a text input for the recording directory in src/gui/components/dialogs/settings.rs
Add a new message variant in src/gui/messages/mod.rs (e.g., RecordingDirChanged(String))
Handle the message in src/gui/app.rs similar to how port changes are handled

AC:

  • Recording directory appears in settings dialog as a text input
  • Changes are saved to settings.json when Apply is clicked
  • New recordings use the updated directory

Notes
This change takes effect immediately (no restart required)
The directory is created automatically if it doesn't exist - see Recorder::new()
Look at the existing text input in preset_bar.rs for a pattern to follow

It would be nice if there were some sort of file explorer, but that sounds difficult so let's keep it out of scope for now (unless it's easy 😝)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions