Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293895

Make exposure of translation meta fields conditional

$
0
0

Problem/Motivation

On certain entity types, the Published, Authored by, and Authored on fields are displayed twice on the translation form. This is confusing to the users and the behavior after saving is unclear concerning which value of the two is kept.

Steps to reproduce

Set up a multilingual website, allow Media to be translated. Upon translating a media, the 3 aforementioned fields are present twice on the form:

red: published status; blue: authoring information.

Proposed resolution

Show Published, Authored by, and Authored on fields only if those are not provided natively by the entity type.

Look of the form with the patch applied:

Note: nodes and comments currently have logic that hide the duplicated fields: this can be removed in this issue.

Note: blocks should have the published checkbox displayed even though the field is not supported in the blocks UI (see #2834546: UI for publishing/unpublishing block_content blocks) so for those, we force-display the field.

Remaining tasks

Should this be postponed on #2834546: UI for publishing/unpublishing block_content blocks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 293895

Trending Articles