app: pick the recordings folder and cut paths to the row
The folder was a text field, and the path was always cut to its last two folders, so a wide window dropped folders it had room for and a narrow one showed only the tail. The row now shows the path the settings hold, cut in the middle at whatever width the labels and the button leave it, with Select folder opening the system's folder dialog through rune's native-file-dialog feature. Form keeps no copy of the path any more; the draft is the one place it lives. The quick tab's recordings folder and the daemon tab's log file get the same cut, and short_path goes.
This commit is contained in:
1 parent
dbdec05752
commit
1bb2874753
5 files changed
+109
-30
No files matched your search
+5
-1
@@ -86,7 +86,11 @@ reading (`history::tests`), highlight clipping (`highlight::tests`) and formatti
|
||||
are tested against the daemon's serde names.
|
||||
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.
|
||||
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.
|
||||
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`).
|
||||
|
||||
Reference in new issue
Block a user