Problem/Motivation
There are users that are uploading paragraphs on their own, instead of embedding on the parent entities.
This is bad UX for translators, and even if this is a desirable solution in some cases, most of them should be being embedded in their parent entities (e.g. nodes).
Proposed resolution
We should hide this tab by default, and have the option of showing it, but only if this flag is activated, so we prevent people of using it unless they really know the pros and cons.
Remaining tasks
Patch that disables the paragraphs tabs and menu links if the option is disabled, which will be the default.
User interface changes
Paragraphs tab is not shown.
Added a contrib section in the settings page for extending with integration settings for contrib modules.
API changes
None.
Data model changes
Added preference.contrib.paragraphs.enable_bulk_management
in lingotek.settings
configuration object and proper config schema.
Comment | File | Size | Author |
---|---|---|---|
#7 | 2895307-paragraphs-bulk-management-7.patch | 17.28 KB | penyaskito |
Comments
Comment #2
penyaskitoAttached patch that implements the form settings for paragraphs module and disables the route and local task if the setting is not active.
Comment #3
penyaskitoForgot the patch actually.
Comment #5
penyaskitoForgot to include the form itself. Some phpcs fixes too.
Comment #7
penyaskitoFixed tests. We need to active the tab in that test too.
Comment #8
penyaskitoHide the wrong file.
Comment #9
penyaskitoTests passed as expected now.
Comment #11
penyaskitoCommitted 54b878d and pushed to 8.x-2.x. Thanks!