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:
7 files changed
+356
-172
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user