main ← hidden-revision-diff-notice
merged 05:41PM - 02 Jul 26 UTC
Previously, when a post revision was hidden, the history modal showed a complete…ly blank diff area for the revisions next to it, with no explanation — the diffs on either side of a hidden revision aren't rendered because they can expose the hidden revision's content, but users were left thinking the edit history was broken. Reported in https://meta.discourse.org/t/diff-between-revisions-no-longer-visible-when-there-is-a-hidden-revision-in-between/406254.
This change shows an explanatory notice in place of the blank diff, driven by the `previous_hidden`/`current_hidden` flags the serializer already exposes for exactly these revisions. The `hiddenClasses` dimming is skipped when the notice shows, since it exists to fade hidden content staff can still see and would fade the notice in the inline view. It also rewords the related `diff_too_complex` messages in the same plain language, since "diff" and "revision" aren't words most users know.