cms icon indicating copy to clipboard operation
cms copied to clipboard

[5.x]: Enhancement: Title links in cards in an Entry field should open the Edit flyout (like Matrix/ckeditor fields)

Open humandevs opened this issue 6 months ago • 1 comments

What happened?

Description

5.7.10 When you add a Title or Entry field chip to a card displayed in an Entry field, clicking the Title or Entry Field chip (related Entry) does not open the Edit flyout, instead it dumps you back to the root Entries menu.

Steps to reproduce

  1. Add 'Title' and/or 'Entry field' to a card.
  2. Add an Entry to an Entry field and set it to display as a card.
  3. Click the Title hyperlink in the card.
  4. Note the Edit flyout navigation is lost.

Expected behavior

Hyperlinks in cards to Entries in an Entry field should open the Edit flyout.

Actual behavior

Hyperlinks in cards to Entries in an Entry field open the root Entries edit menu.

It would be even better if chip Entry field links in a card opened the linked Entry and then a second flyout for the entry in the chip itself.

In reference to enhancements in: https://github.com/craftcms/cms/discussions/16185

Craft CMS version

5.7.10

PHP version

8.2

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

-ckeditor -preparseField

humandevs avatar Jun 14 '25 10:06 humandevs

I think it's clear to me that the Title link is intended to send you to that Entry, but I still think having opening the Edit flyout be consistent is preferred; content authors are confused why sometimes the Edit flyout opens and others it does not.

Also, the Title field cannot be hidden on a card. Thus, I think the Title field should at least be hide-able, though keeping the navigation state with the Edit flyout would be preferred. Maybe inserting the section name to the left of the link to have the existing functionality of opening the Entry edit page for that section?

humandevs avatar Jun 14 '25 14:06 humandevs