Skip to content

README: the animated captures are redone in a single theme #1585

Done

Description

@vmillet-dev

Context — In the README animations, one frame switches to the light theme while the others are dark, which makes them flash. Reported on 1.0.3.

Change — The animations are recorded again from the 1.1.0 interface, in one theme throughout, with no frame in another theme.

To do

  • Record from a profile with the theme set to dark.
  • Check every frame of each file.

Tests — Frames of each file checked for a single theme.

Activity

  1. added
    documentation
    on Nov 18, 2026
  2. vmillet-dev commented on Nov 18, 2026

    @vmillet-dev
    OwnerAuthor

    Technical analysis

    The flash is in the material, not in the player. The README tours are not recorded: docs/architecture.md (§ on app::screens) says they are the PNGs written by DEVNOTES_SCREENS=<dir> cargo test -p ui --lib app::screens, "two seconds each", then assembled by hand (no script for the assembly is in the repository: only the three files docs/tour-{notes,tools,http}.gif, last written 13 November). The README captions end with "and the light theme" for the Notes and the API client tours, so their last frame is the light one by design, and the loop restarts on a dark frame: that is the flash you see.

    Plan.

    1. Decide: the light theme frame is dropped from the loops (recommended), or kept as a separate, clearly last frame in a fourth file (tour-themes.gif) so no loop jumps theme.
    2. Make the assembly reproducible: a script in scripts/ (Node, as the other scripts; ffmpeg palettegen+paletteuse, or gifski) that reads the screens directory in the order of the app::screens list and writes the three files; documented in docs/architecture.md next to the paragraph that cites them.
    3. Rebuild after the 1.1.0 UI changes land (the notification corner, the buttons, the menus), so the captures show the release; hence this ticket closes last.
    4. Size: the three files weigh 222 KB, 727 KB and 787 KB; keep each under 1 MB (palette per file, 2 s a frame).
    5. README captions (lines 65, 80, 94) updated to what the frames now show.

    Tests. A script test (npm run test:scripts, files named one by one in package.json) on the frame order and the output size; a check that every frame has the dark background pixel at a fixed point.

  3. vmillet-dev commented on Nov 25, 2026

    @vmillet-dev
    OwnerAuthor

    Fixed by #1634, merged into dev/1.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions