Skip to content

fix(board): screenshot captures table card + overlay, not the workspace - #357

Merged
SunrisesIllNeverSee merged 1 commit into
mainfrom
fix/board-screenshot-table-scope
Oct 24, 2026
Merged

SunrisesIllNeverSee merged 1 commit into
mainfrom
fix/board-screenshot-table-scope

Conversation

@SunrisesIllNeverSee

Copy link
Copy Markdown
Owner

The Screenshot PNG button was wired to scope=workspace, rasterizing the entire app frame — rails, sidebars, everything. Restores the pre-redesign composition: branded 'SigRank — Leaderboard Snapshot' overlay (filter chips + UTC timestamp) above .tablecard only, downloading sigrank-board--p.png.

  • New captureBoardTable() composes overlay + table card in a temp wrapper (html-to-image, pixelRatio 2), restores DOM after.
  • BoardShotButton now takes tableCardRef + live filter state (window/platform/class/sort/colMode/page) for the chips.
  • Removed dead captureVisibleBoard/BoardCaptureScope.

Verified: tsc --noEmit clean, canonical tests 11/11.

@SunrisesIllNeverSee
SunrisesIllNeverSee merged commit 30b80d1 into main Oct 24, 2026
3 checks passed
@SunrisesIllNeverSee
SunrisesIllNeverSee deleted the fix/board-screenshot-table-scope branch October 24, 2026 14:44

This branch was successfully deployed

1 active deployment
Preview — 4b61f9c6 Deployed Oct 24, 2026 by vercel[bot]
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.

1 participant