question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

remove 'all' options from filters

See original GitHub issue

Observed behavior

observation illustration
The default unfiltered state really corresponds to these “all” filters being selected, but that is not currently the case image
This leads to contradictory user-facing text image
Separately, the filter “None of the above” (a.k.a. ‘uncategorized’ - see https://github.com/learningequality/kolibri/issues/8872) doesn’t make any sense when one thing above is “All categories” image

From @rtibbles:

filtering by all <X>/no <X> probably isn’t terribly useful, and much more useful to just be able to turn off the filter

From @jtamiace:

also becomes ambiguous what should happen when multiple filters are selected - what’s the difference between an empty filter and when it’s set to ‘All’?

Expected behavior

Remove ‘all’ options from filters, where empty is implicitly ‘All’. this is in line with our decision to turn the dropdowns for Channel, language, etc. into ‘clearable’ dropdowns.

image

User-facing consequences

Confusing filter options

Context

0.15.0-beta3

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
jtamiacecommented, Oct 4, 2022

@radinamatic @pcenov it looks like these changes are applicable to two files there.

/search-with-category-filters.feature Remove the entire scenario: Select “All categories” from the Category filter"

/search-results.feature Add new scenarios for clearing category and activity. Steps (given you’re viewing search results): Scenario: “Clear filter from Categories” When I click the “Clear” button next to the Categories label in the filter panel Then I see < filter option > is no longer selected in the filter panel And I see the search results matching < filter options > are no longer included And I see the chips for < filter option > are removed from the header And I see < filter option > is no longer selected in the filter panel

1reaction
radinamaticcommented, Oct 4, 2022

@jtamiace Could you also review the Gherkin scenarios in this folder and suggest the steps that need to be added and/or amended? Mention @pcenov and me so we’re ready to support when the change is introduced in the code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to remove the All options in the filter in Tableau
How to remove the All options in the filter in Tableau · Go to the Segment filter. Click on the small drop arrow...
Read more >
remove all option from filter - Tableau Community
I have a filter on environment as single value drop down . I want the user to select only Prod or Test. I...
Read more >
Clear or remove a filter - Microsoft Support
Clear all the filters in a worksheet ... Click the Data tab, and then click Clear. Clear a filter button. How do I...
Read more >
INTQ: How to remove 'All' options from a Tableau filter?
The auto-filter provides a feature of removing 'All'options by simply clicking the down arrow in the auto-filter heading. You can scroll down to...
Read more >
How to remove 'All' options from a Tableau auto-filter?
The auto-filter provides a feature of removing 'All' options by simply clicking the down arrow in the auto-filter heading.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found