Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(filters): wrap badges + clear/disable filters on dashboard switch and edit mode #281

Merged
merged 2 commits into from
Apr 15, 2019

Conversation

edoardo
Copy link
Member

@edoardo edoardo commented Apr 15, 2019

Backport of #278 #280.

Always set the filter items by replacing the existing one.
The logic depends on the component where the selection is happening
(via checkboxes, selects, ItemSelector...), the components know how to
make the list of selected items.

(cherry picked from commit 8344c4a)
… and edit mode (#280)

Remove filters when switching dashboard

Filters are not removed when the same dashboard is (re)selected.
Also disable filters when switching to edit mode and enable them again
when returning to view mode.

Wrap filter badges instead of text in them.

(cherry picked from commit ad3e3c3)
@edoardo edoardo merged commit 1316aa5 into v32 Apr 15, 2019
@edoardo edoardo deleted the fix/v32-filters branch April 15, 2019 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants