Show screenshots in the README #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "readme-screenshots"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds screenshots to the README: the dashboard, the game library, the first step of the migration wizard, and the
dashboard in the light theme.
How they are taken
scripts/screenshots.shruns the real desktop app on a headless Broadway display with a made-up home folder belowtarget/screenshots/: two Steam libraries with invented games, their analyses and compression records, an enabledtimer, and stand-ins for
lsblkandsystemctlthat report made-up drives and the timer. An ignored test of the app(
src/gui/window/screenshots.rs) switches pages and themes and draws the window into PNG files with GSK's Cairorenderer. It refuses to run unless the home folder, the XDG folders and
lsblk/systemctlare the made-up ones, andthe script refuses to run where
target/is not on btrfs (the app would offer no compression there). Nothing of themachine the pictures are taken on shows up in them, and the real home folder is not read or changed.
To reach the window's state the test needs
Ui::start, split offUi::buildinsrc/gui/window.rs; the app behavesas before. The pictures are 1024×740, the width of Broadway's screen, and drawn at the window's size: drawn at twice
the size, small capitals lost strokes to the scaling.
Two small fixes the pictures showed
the steps ahead when the page was opened.
Checked
in CI
the savings bars look wrong, the btrfs check, and stricter guards against running the test on a real home folder)