From c483c012b3c598ef4e3f0d9dadecb3e971728036 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Tue, 24 Nov 2026 00:00:13 +0100 Subject: [PATCH] app: pick the recordings folder from the quick tab The quick tab showed the folder read-only, so a user who wanted another one had to find the recording tab for it. The row is the recording tab's now: the path, and Select folder beside it. Open folder stays in the card header for the folder in use. --- app/README.md | 8 ++++---- app/src/screens/settings.rs | 11 +++-------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/app/README.md b/app/README.md index 279b0da..4300f3e 100644 --- a/app/README.md +++ b/app/README.md @@ -87,10 +87,10 @@ reading (`history::tests`), highlight clipping (`highlight::tests`) and formatti 3. Settings: done. General, recording, audio and daemon tabs; device and encoder lists come from `getAudioDevices` and `getEncoders`; changes go out through `updateSettings`, and each application volume slider sends `updateAudioSource` as it moves. The recordings folder is - shown, not typed: `Select folder` asks the system for one, through the `native-file-dialog` - feature `Cargo.toml` turns on, and headless runs answer it from a script. Every path the - settings show is cut in the middle against the row it sits in, so a narrow window elides - and a wide one shows the whole thing. + shown, not typed, on the quick and recording tabs: `Select folder` asks the system for + one, through the `native-file-dialog` feature `Cargo.toml` turns on, and headless runs + answer it from a script. Every path the settings show is cut in the middle against the + row it sits in, so a narrow window elides and a wide one shows the whole thing. 4. Match history: done. Cards read `GameHistory.vue`'s fields (result, champion portrait, queue, KDA, CS/m, gold/m, LP change) from the raw API responses in each timeline, with the queue filters. Portraits come from Data Dragon and are cached on disk (`src/portraits.rs`). diff --git a/app/src/screens/settings.rs b/app/src/screens/settings.rs index 0c92a18..fae4201 100644 --- a/app/src/screens/settings.rs +++ b/app/src/screens/settings.rs @@ -438,17 +438,12 @@ fn quick(app: &App, p: Paint, kit: &rune_kit::Kit, layer: &mut Vec, content: crate::daemon::open_folder(&app.output_dir()); }, )), - vec![ui::setting_row( + vec![path_row( p, + app, "recordings-folder", "Recordings folder", - // Cut in the middle against the row's width, so a narrow window elides. - text(&app.form.draft.output.path) - .key("path") - .font(body(12.0)) - .color(p.muted()) - .ml(space::S2) - .truncate_middle(), + "Where finished recordings are written", )], )) }