digitalfabrik/integreat-cms

Exclude empty pages from the list of outdated pages

Closed this issue · 4 comments

Motivation

We currently show all the pages that are not updated more than 1 year in "Outdated pages" section in the dashboard.

However, the date of last modification is not important for empty pages, because they exist to function as "paragraph title".

⚠️ Keep loading time in mind. It might be a problem for regions with a lot of pages.

Proposed Solution

Exclude empty pags from the list of outdated pages.

Alternatives

Leave it as it is.

User Story

Additional Context

We want to encourage users to keep the contents actual. (OKR)
We want to increase usability of Integreat System by showing only non empty pages, which really needs updating. (OKR)

Design Requirements

This issue has been moved to the actual milestone because it needs to be implemented in an earlier stage of this year so we can count how many pages "really" must be updated (OKR).

Currently it's not possible to exclude empty pages from a search query in the page tree, right? Am I understanding it correctly then that implementing this filter would also be part of this issue? :)

@JoeyStk yes I agree, the dashboard section about outdated pages should not only contain the correct number of pages, but should also link to the page tree without the empty pages, and for the link to work, we need this filter.

Could I add that it would make sense to only show pages that are visible in the app? So I think filter by publication status, either only published, or all but draft?

Not sure how we handle automatic saves - or rather, whether it makes sense to include them or not.
I think maybe we shouldn't include them there bcs we already have a section for automatic saves and it is highly unlikely that we'll have many pages which are automatic saves and outdated, right?

So maybe set the filter to only show outdated pages with content that are published? I noticed this issue bcs here https://admin.integreat-app.de/lkvechta/ when you click "Zur Seite" for outdated pages, you can see that the page is in draft.