kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

dynamically disable non-applicable filter items in notifications view

Open indirectlylit opened this issue 6 years ago • 4 comments

Observed behavior

reported by @jtamiace during an 0.12.0 alpha hack session:

image

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

indirectlylit avatar Jan 31 '19 19:01 indirectlylit

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

jtamiace avatar Jan 31 '19 19:01 jtamiace

@jonboiser I think you fixed this, correct?

indirectlylit avatar Feb 19 '19 00:02 indirectlylit

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.

jonboiser avatar Feb 19 '19 18:02 jonboiser

okay cool – will leave this open for future improvements

indirectlylit avatar Feb 20 '19 16:02 indirectlylit

Hi @marcellamaki I also would like to work on this issue if its possible please assign me this issue

Pursottam6003 avatar Mar 31 '23 13:03 Pursottam6003

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.

MisRob avatar Apr 05 '23 10:04 MisRob