Skip to content

[BUGFIX] Keep AI marker on reviewed images, only hide it for text - #36

Merged
achimfritz merged 2 commits into
mainfrom
bugfix/ai-markers
Sep 3, 2026
Merged

[BUGFIX] Keep AI marker on reviewed images, only hide it for text#36
achimfritz merged 2 commits into
mainfrom
bugfix/ai-markers

Conversation

@achimfritz

Copy link
Copy Markdown
Contributor

No description provided.

AiLabelPartialTest only ever fed the partial a record, so the file branch,
the one whose review rule this change actually flips, was covered indirectly
at best, through ImageOverlayPartialTest rendering Media/Rendering/Image.

This adds a renderPartialForFile() counterpart plus the three cases that pin
the rule down: a flagged file renders the marker, a flagged *and reviewed*
file still renders it (unlike a reviewed record, which must not), and an
unflagged file renders nothing.

No file on disk is needed. The partial only reads metadata properties, and
getProperty() never touches the filesystem.

Additionally, the labels are adjusted as they were no longer true.
@achimfritz
achimfritz merged commit d59c12a into main Sep 3, 2026
8 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.

2 participants