Skip to content

Add reveal mode to the redaction tool#356

Draft
apodacaduron wants to merge 8 commits into
mainfrom
inverse-mark-redaction
Draft

Add reveal mode to the redaction tool#356
apodacaduron wants to merge 8 commits into
mainfrom
inverse-mark-redaction

Conversation

@apodacaduron

Copy link
Copy Markdown
Contributor

Description

This PR adds a Reveal mode to the media redaction tool for workflows where users want to keep only selected content visible and black out everything else.

It also improves the redactor UX by:

  • fixing box deletion and large drag behavior
  • stabilizing zoom after viewport resize
  • improving copy, translations, dark mode, and mobile behavior
  • making mobile redactor view-only

How to test

  1. Open the redaction tool on a media item.
  2. In normal mode, draw, move, resize, and delete a box.
  3. Save a redacted copy and confirm it works.
  4. Create a new redaction and this time switch to Reveal mode, draw a visible area, save, and confirm everything else is blacked out.
  5. Resize the viewport and confirm zoom still behaves correctly.
  6. Check dark mode and mobile layout.

@apodacaduron apodacaduron self-assigned this Jul 2, 2026
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9a491cfa-32b6-44c9-ada9-d0d9361be71e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch inverse-mark-redaction

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants