Commit Graph
5 Commits
Author SHA1 Message Date
vhaudiquet 6584b2f92f app: read the history a page at a time and open clips on demand
Every launch parsed all 313 timelines, raw responses and all, which put
2.1 GB of JSON on the heap at startup.

The list now holds `Summary` rows: `history::summaries` parses a file,
keeps the champion, queue, scoreline, LP change and event count, then
drops the timeline. Files are listed by write time, and `poll` reads the
next 20 when the list is scrolled near its end or when the filtered rows
do not fill the screen. Selecting a row hands its id to the review
screen, which reads that one timeline on a thread.

Peak memory over 313 recordings: 165 MB.
2026-11-16 23:48:58 +01:00
vhaudiquet 01a92f1edf app: clear the clippy warnings and the vendored ones
Our crate is warning-free under `cargo clippy --all-targets`. The two
vendored crates warned about an unreachable expression and a qualified
path; both are silenced at their crate root so a normal build prints
nothing.
2026-11-15 23:09:15 +01:00
vhaudiquet e351ee588a app: give the sample defeat a lost LP 2026-11-15 22:48:17 +01:00
vhaudiquet b06ec4be7b app: reach the daemon and load the real history
The pipe path was missing a backslash, so every client call went to a
path Windows never resolves and the app reported a dead daemon. With the
path fixed, --probe answers against the running daemon and parses its
settings with the app's model; a recording made through it lands on disk.

Reading a large history (288 timelines, 524 MB of raw API responses) took
eleven seconds, so the files are parsed on up to eight threads now. The
history refresh also runs in headless runs, and `--live` renders a
snapshot from the daemon and the real timelines instead of sample data.
2026-11-15 22:46:49 +01:00
vhaudiquet 0377141e4f app: add native rune client for record-daemon
Replaces the Vue/Tauri front end with a rune app that speaks the daemon's
existing IPC protocol: settings (general, recording, audio), match history
and game review with a scrubber, event markers and ffmpeg highlight export.
Includes tray icon, launch at login, single instance, toasts, a headless
snapshot path for checking screens, and a cargo-packager NSIS config.

Rune is pinned to 4ddf696b0f and its three patched crates are vendored under
app/vendor, since a dependency's [patch.crates-io] does not apply to the app.

The daemon's OBS bootstrap never reached its IPC server on this machine, so
the live check is a `--probe` command; the wire format is covered by tests.
2026-11-15 21:53:44 +01:00