Skip to content

Draft: Filter unavailable in Channel view#621

Draft
GeorgesStavracas wants to merge 4 commits into
masterfrom
gbsneto/filter-unavailable-channel-view
Draft

Draft: Filter unavailable in Channel view#621
GeorgesStavracas wants to merge 4 commits into
masterfrom
gbsneto/filter-unavailable-channel-view

Conversation

@GeorgesStavracas
Copy link
Copy Markdown
Contributor

This is not ready.

#569

Instead of using the global value for unavailable
content unconditionally, receive that as an option,
and use the global value as fallback.
Add a checkbox that is effectively equal to the
one added to the Channel's search view.

Changing the switch fetches the list of nodes again,
passing the appropriate flag to KolibriApi. This is
not optimal. One potential improvement is to always
fetch unavailable content, and filter it within the
view, but I've gone with this simpler approach given
the time constraints.
Previous commit added the ability to filter out
cards that are not available. That's good, we want
that feature.

What we don't want is empty sections with just the
title, after all cards have been filtered out :)

Hide empty sections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant