You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/website/configuration.mdx
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,9 +147,11 @@ Control how screenshots are collected during the feedback flow.
147
147
148
148
### Screenshot Modes
149
149
150
-
-**`optional`** -- Shows the screenshot checkbox checked by default. Users can choose full page, element, area, annotate, or skip.
151
-
-**`auto`** -- Automatically captures a full-page screenshot after the form is submitted, without showing the manual screenshot picker.
152
-
-**`required`** -- Requires a screenshot before submission. Users can choose full page, element, or area, but cannot skip the screenshot step.
150
+
-**`optional`** -- Shows the screenshot checkbox checked by default. Users can choose full page, element, area, annotate, redact, or skip.
151
+
-**`auto`** -- Automatically captures a full-page screenshot after the form is submitted, without showing the manual screenshot picker or redaction step.
152
+
-**`required`** -- Requires a screenshot before submission. Users can choose full page, element, or area, then annotate or redact before submitting.
153
+
154
+
Manual redaction is controlled by the person submitting feedback. Use developer-configured masking for fields that should never appear in screenshots, especially with automatic screenshots.
153
155
154
156
```html
155
157
<!-- Automatically attach a full-page screenshot -->
Copy file name to clipboardExpand all lines: docs/website/faq.mdx
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,12 +45,13 @@ Since BugDrop uses Shadow DOM for isolation, it does not conflict with any frame
45
45
BugDrop uses [html2canvas](https://html2canvas.hertzen.com/) to capture screenshots entirely on the client side. When a user clicks the screenshot button:
46
46
47
47
1. html2canvas renders the current page to an HTML Canvas element in the user's browser
48
-
2. The canvas is converted to a PNG image
49
-
3. The image is sent to the BugDrop API along with the form submission
50
-
4. The API commits the image to the `bugdrop-screenshots` branch in your GitHub repository
51
-
5. A link to the screenshot is included in the GitHub Issue
48
+
2. In optional and required manual screenshot flows, the user can annotate the screenshot and cover sensitive regions with opaque blocks
49
+
3. The canvas is converted to a PNG image
50
+
4. The image is sent to the BugDrop API along with the form submission
51
+
5. The API commits the image to the `bugdrop-screenshots` branch in your GitHub repository
52
+
6. A link to the screenshot is included in the GitHub Issue
52
53
53
-
No server-side rendering or page access is involved. The screenshot captures exactly what the user sees in their browser at the time of submission.
54
+
No server-side rendering or page access is involved. The initial capture is rendered from the current page in the user's browser. In manual flows, the submitted PNG may include user annotations or opaque redaction blocks. Auto screenshots upload without a user redaction step.
Copy file name to clipboardExpand all lines: docs/website/security.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,9 +55,12 @@ Treat screenshots as unauthenticated user-generated content. The hosted service
55
55
56
56
Screenshots are captured client-side using [html2canvas](https://html2canvas.hertzen.com/), which renders the current page to a canvas element in the user's browser. The canvas is then converted to a PNG image and uploaded. This means:
57
57
58
-
- The screenshot captures what the user actually sees
58
+
- The initial screenshot capture is rendered from what the user actually sees
59
59
- No server-side rendering or page access is required
60
60
- The screenshot is generated entirely in the user's browser before being sent to the API
61
+
- Users can redact additional screenshot regions before submitting when using the manual screenshot flow
62
+
63
+
Manual redaction is user-driven and does not automatically detect sensitive content. It complements, but does not replace, developer-configured masking for fields that should never appear in screenshots, especially when using automatic screenshots.
61
64
62
65
Because clients are untrusted, the API validates screenshot uploads server-side before storing them. BugDrop currently accepts PNG data URLs only and rejects SVG, malformed base64, oversized payloads, and data that does not have a PNG file signature.
0 commit comments