Problem/Motivation

When you have multiple mapping sources or mapping targets with the same label, there is no way to distinguish them.
Therefore it would be useful to display machine names of these sources/targets.

Example where you have a custom field labeled "Published". How to distinguish that from the status field?

Proposed resolution

One way of displaying the machine names is to add it between parentheses after the label of the source or target. I do think though it makes the UI look more bloated, so suggestions to display it otherwise are welcome.

Comments

MegaChriz created an issue. See original summary.

megachriz’s picture

StatusFileSize
new473 bytes

Work in progress patch implementing the solution posted in the issue summary. The solution is currently only implemented for targets, not for sources.

megachriz’s picture

Status: Active » Needs review
dinesh18’s picture

StatusFileSize
new1.86 MB
new2.04 MB

I have reviewed the patch and it works perfectly fine. Here is the screenshot attached before and after patch.
+1 to RTBC

dinesh18’s picture

Status: Needs review » Reviewed & tested by the community
megachriz’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new1.23 KB

This is a slightly different implementation. The machine names of the targets got shown in the legend as well, and there the machine names already got displayed.

Also made an other improvement on the way. Some targets don't have a description and in that case the label just ends with a colon. Removed that one. For example the node title target was displayed as "Title:". Now it will be displayed as "Title (title)".

dinesh18’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new772.52 KB

#7 patch is the improved patch and it looks better. Here is the screenshot attached after patch
+1 to RTBC

dinesh18’s picture

  • MegaChriz committed 154caa5 on 8.x-3.x
    Issue #2996587 by MegaChriz, Dinesh18: Display machine names of targets...
megachriz’s picture

Status: Reviewed & tested by the community » Fixed

@Dinesh18
Thanks for testing! Committed #7.

I think I leave out machine name support for sources (for now). These are displayed in the legend.

megachriz’s picture

Title: Optionally display machine names of sources and targets on mapping » Display machine names of targets on mapping

Updating issue title to reflect better what is fixed.

Status: Fixed » Closed (fixed)

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