Skip to content

M26, first part: earlier texts of an item - #63

Merged
SebHenn merged 1 commit into
mainfrom
m26-first-part
Nov 15, 2026
Merged

SebHenn merged 1 commit into
mainfrom
m26-first-part

Conversation

@SebHenn

@SebHenn SebHenn commented Nov 15, 2026

Copy link
Copy Markdown
Owner

What

When a curator or helper changes an item's title, description, date, credit, original location or reference number, the earlier text is kept. Curators and helpers see it under "Earlier texts" on the admin item page; curators can restore it (activity log entry, the replaced text is kept too).

Privacy

  • Revisions are never public, never exported, hidden with a binned item, and deleted with the item.
  • They hold no contributor details, internal notes or "received from".
  • The editing account's name is forgotten on the activity log's schedule (ActivityLogKeptYears); the text stays.

Tests

New RevisionTests, a retention test, an export test. Full suite 521 passed (5 skipped: ScaleTests, PdfTests), browser tests 207 passed. Gitleaks clean.

Not tested: real use, walkthrough in the running app. Not included: side-by-side comparison, tags and cross-item history. Helpers see staff emails in the list. The restore handler uses DateTime.UtcNow, like the rest of the Edit page.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Seb H. <138793908+SebHenn@users.noreply.github.com>
@SebHenn
SebHenn merged commit 2bf3a0c into main Nov 15, 2026
12 checks passed
@SebHenn
SebHenn deleted the m26-first-part branch November 15, 2026 20:09
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