Project

General

Profile

Actions

Bug #102369

open

Hide "Add content"-button for localized columns on disabled mod.web_layout.localization.enableCopy

Added by Ayke Halder 6 months ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2023-11-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
UX
Complexity:
Is Regression:
Sprint Focus:

Description

tl;dr

The "Add content"-button for localized columns should be hidden if mod.web_layout.localization.enableCopy is disabled.

Steps to reproduce

1. Page TSconfig:

mod.web_layout {
  localization {
    // Only "translate" is enabled --> translation-mode "connected" 
    enableCopy = 0
    enableTranslate = 1
  }
}

2. Module "Web: Page": Editor can add new content

  • No translation-mode visible.
  • Editor should not be able to add new content.

3. Add new CE:

  • This sets translation-mode to "Free Mode" (see blue badge)
  • And there are many "Add content"-buttons visibleā€¦

4. Click on "Translate":

  • "Can't translate" caused by page is in "Free Mode" but only "Connected Mode" is allowed.

What should happen instead

1. Page TSconfig:

mod.web_layout {
  localization {
    // Only "translate" is enabled --> translation-mode "connected" 
    enableCopy = 0
    enableTranslate = 1
  }
}

2. Module "Web: Page": Editor can't add content:

  • No "Add content"-button visible
  • Translation mode "Connected Mode" already visible (see blue badge)

3. Click on "Translate" (already working):

  • Wizards jumps directly to step 3 of 4 (already working).

4. Editor sees records to translate (already working):

  • Still no "Add content"-buttons visible (already working).
  • Translation mode "Connected Mode" visible (see blue badge; already working).

Files

Actions #1

Updated by Gerrit Code Review 6 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81730

Actions #2

Updated by Ayke Halder about 1 month ago

  • Tags set to UX
Actions

Also available in: Atom PDF