projectEndings / staticSearch

A codebase to support a pure JSON search engine requiring no backend for any XHTML5 document collection
https://endings.uvic.ca/staticSearch/docs/index.html
Mozilla Public License 2.0
46 stars 21 forks source link

We should stop using fieldsets for filter controls #251

Closed martindholmes closed 1 year ago

martindholmes commented 1 year ago

This ticket was originally going to be about allowing fieldsets to be resized, so that users interested in a particular set of filters could expand the fieldset to see them better. However, it turns out that CSS resize does not work on fieldsets; I can't quite figure out the reason for that, but tests confirm it. I think we should switch to using another container for filter sets when we rewrite the CSS, to make them resizable.

martindholmes commented 1 year ago

After discussion, we believe this would be better handled by creating an optional post-processing transform step for which transformation to details elements is an example XSLT we provide. Our CSS should style the details elements as well as the fieldset elements. See issue #263.