digitalfabrik / integreat-cms

Simplified content management back end for the Integreat App - a multilingual information platform for newcomers
https://digitalfabrik.github.io/integreat-cms/
Apache License 2.0
55 stars 33 forks source link

Add possibility to update links in inactive languages #2312

Open MizukiTemma opened 1 year ago

MizukiTemma commented 1 year ago

Motivation

After #2251, links in inactive languages will not be shown in the link list and therefore cannot be updated. However users want to update them too when the same links in active languages are updated. For a possible scenario see "User Story".

Proposed Solution

TBD

Alternatives

Leave as it is.

User Story

We have a page which is available in German and English. In both of them there is a link to a web site "https://www.dummy-42.com". Now English is deactivated, and the link is updated to "https://www.dummy-43.com" in the german page. When English is activated again, the link in the english page remains "https://www.dummy-42.com". We want but "https://www.dummy-43.com" in the english page too.

Requested by @dkehne

Additional Context

Design Requirements

timobrembeck commented 1 year ago

Is @dkehne aware that "inactive" languages are languages that are not only hidden in the app, but also in the cms? It is not possible to view or update content in inactive languages. On the other hand, links in languages that are marked as "invisible" are hidden in the app, but can be edited in the cms, which means all links will still show up in the link checker and replacement is possible as normal.

Screenshot 2023-06-03 at 22-21-18 Integreat Editorial System

So I have concerns about the user story - is that really occurring often enough to justify extra development overhead?

Also, I see a fundamental technical problem that it will make the replacement process very slow if we have to search the whole content for the old url, since we don't have the references where this link occurs in the inactive content (since we deleted the link objects when marking the language as inactive)...