feat: replace free-text target fields with device/app dropdowns

- sink_volume and source_volume knobs now show a dropdown of active
  PulseAudio/PipeWire output/input devices (monitors excluded), with
  the system-default device marked in the label
- app_volume knob shows a dropdown of running apps (was already a
  dropdown, previously had a textarea for group_volume)
- group_volume knob shows a <select multiple> listbox so several apps
  can be selected at once with ctrl/shift-click
- Add GET /api/sinks and GET /api/sources backend endpoints
- Add fetchSinks() / fetchSources() in api.ts with AudioDevice type
- Load sinks and sources in App.tsx alongside running apps on refresh
- All 23 frontend tests pass
This commit is contained in:
Sean Doran committed 2026-03-06 20:44:56 -05:00
1 parent 3126227d2b
commit fc9ac17f1e
7 files changed
+356 -172

No files matched your search

+6
View File
@@ -28,6 +28,12 @@ export interface Config {
buttons: Record<string, ButtonConfig>;
}
export interface AudioDevice {
name: string;
description: string;
is_default?: boolean;
}
export interface ToastItem {
id: number;
message: string;