Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
6bc32ff
docs: add screenshot privacy masking design spec
neonwatty May 10, 2026
9e8173d
docs: add screenshot privacy masking implementation plan
neonwatty May 10, 2026
22f967e
feat: scaffold screenshot mask module
neonwatty May 10, 2026
889557a
feat: collect mask rects for [data-bugdrop-mask] elements
neonwatty May 10, 2026
9c845cf
feat: add default mask coverage for password and cc-* inputs
neonwatty May 10, 2026
bed0c68
docs: explain dedup-set rationale in collectMaskRects
neonwatty May 10, 2026
4d979e8
feat: top-most-ancestor rule and root inclusion for mask collection
neonwatty May 10, 2026
64cf027
feat: emit document-coordinate mask rects (scroll-aware)
neonwatty May 10, 2026
8f8b2e1
feat: implement applyMaskToImage with translateMaskRect helper
neonwatty May 10, 2026
c6502f3
feat: apply mask layer in captureScreenshot pipeline
neonwatty May 10, 2026
61e4552
test: add E2E fixtures for screenshot privacy masking
neonwatty May 10, 2026
74ab78a
test: e2e coverage for default and explicit screenshot masks
neonwatty May 10, 2026
42aa895
test: e2e coverage for mask inheritance and scrolled capture
neonwatty May 10, 2026
48be39d
test: e2e coverage for element-scoped masking captures
neonwatty May 10, 2026
3d521f0
test: e2e coverage for area-cropped masking and clean-baseline regres…
neonwatty May 10, 2026
b09acb2
docs: document screenshot privacy masking feature
neonwatty May 10, 2026
66e462d
docs: note viewport-capture mask limitation and fix cc-exp formatting
neonwatty May 10, 2026
e5796ee
refactor: tighten mask guards and consolidate timeout logic
neonwatty May 10, 2026
f81977e
fix: log capture errors for debuggability
neonwatty May 10, 2026
75f5963
test: strengthen mask coverage with applyMaskToImage unit tests and s…
neonwatty May 10, 2026
aa06b4c
fix: drop unused export on MaskRect interface
neonwatty May 10, 2026
a035663
fix(e2e): make 'not masked' assertions robust to headless text rendering
neonwatty May 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ That's it! Users can now click the bug button to submit feedback as GitHub Issue

> **Security note:** BugDrop is not a spam or malware filtering service. Treat feedback and screenshots as unauthenticated user-generated content. Exclude `bugdrop-screenshots` from CI/deploy workflows, and self-host behind your own WAF/CAPTCHA/content controls for stricter environments.

## Features

- 🔒 **Privacy masking** — tag sensitive elements with `data-bugdrop-mask` and BugDrop covers them in the screenshot before it's submitted. Passwords and credit-card inputs are masked automatically.

## Widget Options

| Attribute | Values | Default |
Expand Down
Loading
Loading