Hi, so I noticed a UX type bug when updating two filters:
Normal click behavior is that a second click on the same value will remove the filter value, and that is good when only one filter is updated at a time, but when multiple filters are updated by a click behavior, it does not check the entire filter update payload, and instead evaluates each filter update individually.
For example: I have a click behavior on a table that updates both a "State / Province" filter and a "Commodity" filter.
Click | State / Province | Commodity | note |
---|---|---|---|
Minnesota Apples | Minnesota | Apples | |
Wisconsin Apples | Wisconsin | since "Apples" is already in the filter, this click removes the filter | |
Wisconsin Cheese | Cheese | since "Wisconsin" is already in the filter, this click removes the filter | |
Iowa Cheese | Iowa | since "Cheese" is already in the filter, this click removes the filter | |
When a click behavior updates multiple filters, these filters should only clear if the entire filter payload matches, otherwise the affected filter updates should be additive.