Filter w/ Default Value "Inverts" the Active State Indicator #5332
Replies: 4 comments
-
|
This is the expected behaviour with Default value |
Beta Was this translation helpful? Give feedback.
-
@crynobone It is? 🤔 I can kinda see that argument for the initial state (eg, if the default state on a filter is enabled, but we don't consider anything as being "manually activated" so the indicator is off), but it makes less sense if that filter is then cleared out—as in the GIF above. Because in that case, you now have no filters activated, not even the default, but the indicator is showing that something is enabled. Does that make sense? Just feels buggy from the average user's perspective. |
Beta Was this translation helpful? Give feedback.
-
|
See #3119 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
@crynobone thanks for the link, that thread was good context! Also an interesting note from @davidhemphill:
In my mind, that's actually a key difference between using an So TL;DR - Personally, I would agree with David's point that the I'm also curious to hear thoughts on the back half of this issue. That is, I can get behind the argument that default filters shouldn't result in an active state for the indicator. But it feels extra-jarring to then see the indicator become active, when you explicitly clear out all filters (eg, disable them, as in the GIF above). I think it would make more sense to either...
I would lean toward option 1, personally, but the second one would maybe be a decent middle-ground, since the current setup just feels exactly backwards of what makes sense and what I would expect (in that scenario where any/all filters-with-a-default are then toggled off via the GUI and the indicator shows as active). Does that make sense, and if so, any thoughts on that piece of the equation? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
When a filter has a default value, the active state (ie,
bg-primary-500+ active-filter count on the filter button) is inverted. That is, it shows an inactive state when the default value is applied, and an active state when the default filter is not applied.Detailed steps to reproduce the issue on a fresh Nova installation:
Screencap
Note that it works correctly/as expected, when the
default()method is removed from the Filter.Beta Was this translation helpful? Give feedback.
All reactions