Open svenseeberg opened 5 years ago
This is related to #9
This feature is needed for our OKR.
Icon to use: translations Calculation: Amount of pages that are either outdated or have missing translations Headline: Veraltete und fehlende Übersetzungen (Link leads to translation coverage) Paragraph: Ihre Inhalte haben momentan 423 Seiten mit fehlender oder veralteter Übersetzung. Damit die Nutzer:innen von Ihren Inhalten profitieren können, sollten Sie diese übersetzen (lassen). Button: Also leads to translation coverage
Caveat: Keep loading times in mind. Ideally this should be one single database query as this is the first view inside that CMS-user encounter.
The current implementation would require some loops on the Python side which would add a few more database queries and therefore would considerably slow down the loading time on the dashboard. Therefore we need to look into alternative solutions. For details please checkout feature/add-translation-coverage-row-to-dashboard
It was agreed to solve this with AJAX
The Dashboard should contain some basic overview of the current translation status.
~This could be a pie chart that visualizes 3 numbers: pages with up to date translations, pages with outdated translations, not translated pages.~
This should be part of the new "To Do" dashboard, see https://github.com/digitalfabrik/integreat-cms/issues/2107#issuecomment-1466087901.