Skip to content

Slider view in report.html #43

Closed

Description

@tmashara

What
report.html shows left / right / diff as three separate images. Add a slider view: both shots stacked, with a draggable divider that reveals left on one side and right on the other. Keep the three-image view as a toggle.

Why
A shift of a few pixels, or a changed weight or colour, is far easier to see when you drag across one spot than when your eye jumps between three images. Argos and most visual-review tools have this.

How
In report.ts (the <figure> triple around line 298): two absolutely positioned <img>s, the top one clipped with clip-path: inset(0 X 0 0), and an <input type="range"> setting X. A few lines of inline JS, no library. When heights differ, align both tops and show the extra rows of the taller side. evidence.html can reuse it for crops later.

Activity

  1. added
    enhancement
    on Oct 29, 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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions