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.
This commit is contained in:
vhaudiquet committed 2026-11-24 00:00:13 +01:00
1 parent 1bb2874753
commit c483c012b3
2 files changed
+7 -12

No files matched your search

+4 -4
View File
@@ -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`).
+3 -8
View File
@@ -438,17 +438,12 @@ fn quick(app: &App, p: Paint, kit: &rune_kit::Kit, layer: &mut Vec<El>, 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",
)],
))
}