-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Hosting screen: respect the reset state for filters #93815
Comments
Thanks for reporting this @oandregal! This seems straightforward. I moved it to "Ready for Dev" |
I think having "All sites" listed as the filter by default is by design here. cc @lucasmendes-design There is currently no indication on the status column header that it can be filtered (I think the original had a dropdown/popover for choosing the filter setting, that design iterations ended up having us remove?), unlike other columns where we do show indications (like sorting for example): Having the default filter of "all sites" set makes the filters easily discoverable. As this icon by itself is not something our users would easily identify as where to filter by status: I think if we want to remove the default filter for "All sites" that shows up, we should apply some other design (such as to the column header) to better indicate the availability of (and even apply) filtering. |
Just noting that there's this PR to update the DataViews version in use #93503 It looks like it may be merged this afternoon or tomorrow morning. 🤞 This is a bit unusual for me, but I'd perhaps suggest fixing this issue after 93503 is merged if this is a big change. 93503 is a difficult PR that has been 3 weeks in the works, and it'd be good to avoid conflicts, complex rebases, etc. |
These are logical and seem like an option we could move forward with. I think the alternative approach would be:
Noting for context on that second note. In core DataViews, when a column allows filtering, there is/was a dropdown on the column header to select the filter you want for that column. Our designers didn't like the design for this and we sort of overrode it by hacking. The visible "status" columns is not set up for filtering, and in place we added an invisible status column that enables the filters to show up in the other filtering UI. IIRC this was all done to avoid having the dropdown from the column header, and I think why we make filters more discoverable by the "all sites" default state. So the other option is to re-think that design conflict, and show the dropdown from the header as core does or in a similar way. In which case we could just make the default state no filters at all, as it probably should be.
👍 Thanks for mentioning that. |
#94253 should resolve this. |
Quick summary
After the user has reset the filter states, changing the view sets "All sites" again.
Steps to reproduce
I provide a video to reproduce:
Gravacao.do.ecra.2024-08-22.as.13.28.44.mov
What you expected to happen
The filters should be reset.
What actually happened
The filters were set again.
Impact
All
Available workarounds?
There is no user impact
If the above answer is "Yes...", outline the workaround.
No response
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
The text was updated successfully, but these errors were encountered: