craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.23k stars 630 forks source link

[5.x]: The "Edited" tag in the breadcrumbs bar disappears on page reload #15244

Closed mmikkel closed 3 months ago

mmikkel commented 3 months ago

What happened?

Description

When making edits to an existing entry, Craft adds the blue "Edited" tag to the entry pill in the breadcrumbs bar. However, the tag disappears if the page is reloaded, or on subsequent pageloads after navigating away from the provisional draft, and only re-appears after making additional changes to the content.

I'm not sure if the intention is to show the "Edited" tag in the breadcrumbs bar or not (seems kinda redundant to me?), but the fact that it's not consistently shown (or not) feels like a bug :)

https://github.com/craftcms/cms/assets/298510/701c3983-9f4c-427a-8aa3-7962c9d23ef2

Steps to reproduce

  1. Navigate to the edit page for an existing entry
  2. Make some edits, wait for the provisional draft to save
  3. Confirm that the entry pill now has a blue "Edited" tag next to it, in the breadcrumbs bar
  4. Reload the page, and confirm that the "Edited" tag is no longer visible

Expected behavior

Actual behavior

Craft CMS version

5.2.3

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

None

i-just commented 3 months ago

Hi, thanks for reporting! I raised a PR for this.

brandonkelly commented 3 months ago

Craft 5.2.4 is out with a fix for this. Thanks again!