Skip to content

Improve redaction screenshot UX#153

Merged
neonwatty merged 2 commits into
mainfrom
feat/redaction-ux-hardening
May 11, 2026
Merged

Improve redaction screenshot UX#153
neonwatty merged 2 commits into
mainfrom
feat/redaction-ux-hardening

Conversation

@neonwatty
Copy link
Copy Markdown
Collaborator

Summary

  • Add developer-marked screenshot redaction messaging across screenshot options, area picker, auto mode, and annotation review.
  • Mask marked fields during full-page, element, and selected-area capture without mutating their live values.
  • Gate the Playwright-only html-to-image mock hook behind a test build flag and assert production bundles do not include it.
  • Document redaction limitations and add a redaction fixture plus Playwright coverage for full-page, area, auto-mode, and real selected-area capture.

Local Verification

  • npm run typecheck
  • npm run test
  • npm run lint (warnings only; existing max-lines/no-explicit-any warnings)
  • npx playwright test e2e/widget.spec.ts -g "redaction|automatic full-page"
  • npx playwright test e2e/widget.spec.ts
  • npm run build:widget && ! rg "__bugdropMockToPng" public/widget.js public/widget.v1.js public/widget.v1.14.js public/widget.v1.14.0.js

Follow-up

@neonwatty neonwatty force-pushed the feat/redaction-ux-hardening branch 3 times, most recently from 79d5337 to f8e224b Compare May 11, 2026 15:39
@neonwatty neonwatty added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@neonwatty neonwatty force-pushed the feat/redaction-ux-hardening branch 2 times, most recently from c947883 to fef9f4b Compare May 11, 2026 16:11
@neonwatty neonwatty added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@neonwatty neonwatty force-pushed the feat/redaction-ux-hardening branch from fef9f4b to d16b690 Compare May 11, 2026 16:28
@neonwatty neonwatty added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@neonwatty neonwatty force-pushed the feat/redaction-ux-hardening branch from d16b690 to 01eff5c Compare May 11, 2026 16:47
@neonwatty neonwatty added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@neonwatty neonwatty added this pull request to the merge queue May 11, 2026
Merged via the queue into main with commit 184ab6b May 11, 2026
6 checks passed
@neonwatty neonwatty deleted the feat/redaction-ux-hardening branch May 11, 2026 17:12
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.33.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant