Skip to content

fix: simplify redaction details and preserve page marks (PRO-7986) - #4

Merged
jonwiggins merged 2 commits into
mainfrom
jon/pro-7986-keep-original-redaction-marks-and-show-each
Nov 20, 2026
Merged

jonwiggins merged 2 commits into
mainfrom
jon/pro-7986-keep-original-redaction-marks-and-show-each

Conversation

@jonwiggins

@jonwiggins jonwiggins commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Closes PRO-7986

Overview

Context Page cards repeated the same explanation for every area. Annotation previews also removed the original black marks.
Scope PDF result cards and their page previews in the browser.
Refactors Remove the annotation-removal option from the preview callback and renderer.
Dependencies None.
Infra PR Not needed. No infrastructure or deployment configuration changes.

Changes

  • Show each distinct failure explanation once per page, with its area numbers. Keep numbered area rows with separate reveal controls and width warnings.
  • Preserve all original annotation marks in the page image. Show recovered text only in the separate area rows.

Proof

  • Updated the existing upload test to check that the repeated heading and explanation appear once.
  • The same test checks that the annotation interior stays black after text is revealed, alongside the existing independent-reveal and region-marker checks.

Pictures

Desktop and 390px mobile views checked with the synthetic PDF. Screenshots are saved locally and are not attached here.

@jonwiggins
jonwiggins marked this pull request as ready for review November 20, 2026 02:56
@jonwiggins
jonwiggins merged commit 5bd53bf into main Nov 20, 2026
2 checks passed
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