Skip to content

Read moves exactly where the before/after pair is a browser's capture #4077

Closed as not planned

Description

@max-sixty

Read moves exactly where the before/after pair is a browser's capture. The default package's widgets/image-difference.js reads a pair (blocks, moves, outlines) for lf-shot, lf-visual-review and leaf-dev stills. Try it on non-Leaf captures (another site, a terminal, a plot); where the capture is a browser's, recording each element's box beside the PNG would read moves exactly, as Percy's and SmartUI's layout modes do. Known gaps: a pane that scrolled within itself reads as scattered changes and moves rather than one region, a border that changed length draws a thin outline, and a changed 1440x900 pair costs about 40–70 ms on the main thread (8 ms before), which a worker would take off it.


Migrated from TODO.md, Etc › Implementation candidates: item 28 of 40 in Etc, in the order TODO.md listed them.

Activity

  1. added
    backlog
    etc
    on Oct 25, 2026
  2. max-sixty commented on Nov 5, 2026

    @max-sixty
    OwnerAuthor

    Closing as postponed: nothing needs this before release. An implementation candidate for the experimental region outlines, with no reported review the outlines misled.

    Reopen when: A visual review where region outlines misread a move or a scrolled pane, or the 40-70 ms main-thread cost shows as jank.

    This was written by Claude Code on behalf of max-sixty

  3. added
    postponed
    and removed
    etc
    on Nov 5, 2026
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

    backlogpostponed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions