Problem/Motivation

The message for no usages is the same even if usages would be revealed by clicking on the list usages in old revisions button. Let's improve that.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#5 3625378 after.mov432.05 KBcsakiistvan
#5 3625378 before.mov451.13 KBcsakiistvan
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
csakiistvan’s picture

Assigned: Unassigned » csakiistvan
csakiistvan’s picture

Assigned: csakiistvan » Unassigned
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new451.13 KB
new432.05 KB

✅ Tested and works — applied MR !250, ran ddev drush cr and opened /admin/content/entity-usage/node/17 for a target whose only usage sits in a superseded revision of its source: the page now says "There are no recorded usages in published or draft revisions", and turning on the old revisions filter still lists that source. A target with no usage at all keeps the generic message. The two cases are now distinguishable from the message alone.