Problem/Motivation

The "target type" label on the entity reference field settings is unclear:
target_type_before.png

Proposed resolution

Let's replace it with something more self-explanatory. The best I've come up with is "What to reference" -- a bit informal, but it gets the point across.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xjm’s picture

FileSize
9 KB

With the patch applied:

what_to_reference.png

amateescu’s picture

People seem to really want to turn the generic reference field into plugin derivatives, which would make this target type selection obsolete because we would have a different field type for each option in that list.

Maybe we should postopone this on #1847590: Fix UX of entity reference field type selection and #1953836: Replace "Select a field type" with a hierarchical select?

xjm’s picture

Issue tags: +Needs usability review

Well, since this is a one-line fix, I'd as soon just get it in. No telling how those other issues will go. Iterative improvements. :)

Tagging for review.

David_Rothstein’s picture

"Type of item to reference" ?

xjm’s picture

Item! Item is a great word.

xjm’s picture

xjm’s picture

FileSize
4.97 KB

'Type of item to reference' with dropdown

Bojhan’s picture

Issue tags: -Needs usability review

This is certainly better than "target type", I am not sure if its perfect - but its a good improvement, I'd say.

xjm’s picture

Thanks @Bojhan!

amateescu’s picture

Issue tags: +Needs usability review

Item! Item is a great word.

Indeed :) I used the same replacement (entity => item) when @chx was looking for something to replace 'entity' in Relation's UI.

amateescu’s picture

Issue tags: -Needs usability review

Crosspost.

amateescu’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Quick fix

Improvement == good enough in my book.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

That's a little more verbose than we normally do for field labels, but hey. Baby steps! :)

Committed and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.