casa
casa copied to clipboard
5847 surface common filters
What github issue is this PR for, if any?
Resolves #5847
What changed, and why?
- Moved the
Sorted by
andHide drafts
filter options outside of the collapsable area of the form element, so that they display regardless of filter menu collapse status. - Fixed the positioning of the form select pseudo icons by refactoring the HTML syntax around the select elements
- Changed the filter-card-body collapse class logic to, fix a bug where the "Expand / show" button did not respond to the first click after filtering. This change accounts for how Bootstrap implements its version of collapse.
How is this tested? (please write tests!) ππͺ
I did not add any new tests, since this was only a matter of changing options that are collapsed. However, I did update the button text and the tests that expected the old text.
I can add some system tests to check that the "sticky" options are always displayed if that is desired.
Screenshots please :)
Feelings gif (optional)
Instead of a gif, I asked ChatGPT to write a haiku about Bootstrap. γγΌγγΉγγ©γγ εΆη΄γζγγ¦ θͺη±γζ±γ