Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Filter unavailable in Channel view #621

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

GeorgesStavracas
Copy link
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