kolibri
kolibri copied to clipboard
dynamically disable non-applicable filter items in notifications view
Observed behavior
reported by @jtamiace during an 0.12.0 alpha hack session:
Expected behavior
@jtamiace correct me if I'm wrong but it sounds like the behavior you expect would be:
Filter items in both drop-downs (resource type, progress type) should only be enabled if selecting them would have greater than 0 results
User-facing consequences
extra options that don't do anything
Steps to reproduce
filter notifications such that either the first or second filter
Context
0.12.0 alpha 7
Yes that would solve this issue since help will never be needed for non-exercises, and will also cover the other cases where the filter would return empty
@jonboiser I think you fixed this, correct?
It's partially fixed, but pretty naïve. It just looks to see what set of resources or statuses are represented in the list, but does not smartly update the filters as they are applied. E.g. if you have a completed lesson and a started video, you will get all of the filters: completed, started, lesson, and video, even if you don't have a completed video.
okay cool – will leave this open for future improvements
Hi @marcellamaki I also would like to work on this issue if its possible please assign me this issue
Hello @Pursottam6003, thank you for your interest. As you volunteered for more issues and already have some of them assigned, I'm leaving this unassigned for now in case someone else wanted to tackle it as you're working on other issues. When your plate is empty, if this issue is still available, please remind yourself here and we can assign it to you.