Skip to content

ESoCC: Deleted channels not being taking into account in the admin channels table #5581

@AlexVelezLl

Description

@AlexVelezLl

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Description

In the scope of the Easy Sharing of Community Channels project, we introduced a slight change to the admin channels table filter: Instead of having just one "Channel type" filter, we divided it into two: a "Channel type" and a "Channel Status" subfilter so that it was easier to filter just unlisted channels, public channels, and Community Library channels with the first filter, and the channel status of live/deleted/draft, etc, with the second filter.

However, we overlooked the deleted channel filters. When channel type is "Kolibri Library" or "Community Library", the deleted channels filter is not relevant, but when filtering by "unlisted channels", it is. Right now, no deleted filter is being applied in any of the "channel status" filters for unlisted channels, and we are not filtering them out:

Image

For this, we should update the Channel status filters for unlisted channels so that:

  • Live, draft, published, and sushi chef filters now also add a deleted: false backend filter when they are selected.
  • Add a new "deleted" filter for unlisted channels.

Technical context

In #5370, many updates were made to how we implement these filters in the Admin ChannelsTable. You can read the PR if you want more context, but the most relevant notes are:

  • The channelTypeFilterMap defines the options and the backend filter params for the "Channel type" filter.
  • The statusFilterMap defines the options and backend filter params for the "Channel status" filter. These options depend on the selected channel type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0 - criticalPriority: Release blocker or regression

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions