Problem/Motivation

Navigating through the config translation listings for uploading individual config items is a pain. We need a way of managing them in bulks.

Proposed resolution

Create a bulk management form.

Remaining tasks

Code, review, test.

User interface changes

Added a form as in content bulk management for config.
Renamed "Manage" tab to "Content". Created "Config" tab.

API changes

Changed lingotek.config_translation service parameters for injecting the language-locale mapper.
Added requestTranslations(), checkTargetStatuses, deleteDocument and deleteMetadata to that service.
Added getConfigSourceStatus, getConfigTargetStatuses, requestConfigTranslations, checkConfigTargetStatuses, deleteConfigDocument, deleteConfigMetadata to that service.
Changed signature of updateConfig to receive a $mapper_id instead of a ConfigNamesMapper object.

Data model changes

The config metadata source status is saved keyed by language code, not by Lingotek locale. There is no update path needed as this was introduced in dev releases but not stable release.

CommentFileSizeAuthor
#2 2637716-2.patch79.96 KBpenyaskito

Comments

penyaskito created an issue. See original summary.

penyaskito’s picture

Status: Active » Needs review
StatusFileSize
new79.96 KB

See issue summary :)

  • penyaskito committed 9c44edc on 8.x-1.x
    Issue #2637716 by penyaskito: Bulk management page for config objects
    
penyaskito’s picture

Status: Needs review » Fixed
andypost’s picture

There's few if (TRUE leftovers still needs to be fixed

penyaskito’s picture

@andypost Thanks for reviewing! We probably are going to remove the checks for config objects, as they are mostly uploaded individually and make no sense requiring a profile when there is only one object of the same "type". That chunk remained there for reminding us to include it when we face config entities translation :)

andypost’s picture

Good point, so better consistency with to do and issue

Status: Fixed » Closed (fixed)

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