Skip to content

Regenerate the diff screenshot without a local path - #114

Merged
MarkPhamm merged 1 commit into
mainfrom
fix/96-diff-screenshot
Nov 12, 2026
Merged

MarkPhamm merged 1 commit into
mainfrom
fix/96-diff-screenshot

Conversation

@MarkPhamm

Copy link
Copy Markdown
Owner

Fixes #96

Cause. docs/assets/img/diff.png was taken from a scratch repo, so the details panel showed /private/tmp/claude-501/-Users-…/scratchpad/drepo/erd/sales.txt:4. It also showed 201 tables with Field0Customer-style placeholder columns.

Fix

  • scripts/gen_thumbnails.py diff-shot now takes the shot from the gallery's diff demo (examples/quickdbd-sample.txt against gallery/diff/before.txt) with Customer open, at 1440x860 like hero.png. The panel shows examples/quickdbd-sample.txt:4.
  • That demo's change is the one the home page's sample PR comment lists (Customer -LegacyRef, Order +Status and Total money -> decimal(10,2), Product +Sku, 2 new tables), so "The same change, highlighted in the diagram" is now true.

Checked the other screenshots.

  • details.png and path.png show examples/synthetic/....
  • hero.png and dbt-docs.png show gallery/....
  • The rest have no details panel.
  • No other local paths.

Verified

  • Looked at the new image: banner 2 new · 3 changed · 0 removed, Customer panel with - LegacyRef, path examples/quickdbd-sample.txt:4.
  • ruff check scripts and ruff format --check scripts pass.

…ve path.

The old diff.png came from a scratch repo, so the details panel showed a local
/private/tmp/... agent scratchpad path and placeholder columns. It now comes from
the gallery's diff demo (gen_thumbnails.py diff-shot), whose change is the one
the home page's sample PR comment describes.
@github-actions

Copy link
Copy Markdown

Schema changes: origin/main → working tree

No schema changes.

Interactive diagram with changes highlighted: download the erd artifact from this run. Generated by qdbd.

@MarkPhamm
MarkPhamm merged commit 76dd497 into main Nov 12, 2026
13 checks passed
@MarkPhamm
MarkPhamm deleted the fix/96-diff-screenshot branch November 12, 2026 09:01
@MarkPhamm MarkPhamm mentioned this pull request Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Website: diff screenshot shows a local machine / scratchpad path

1 participant