SemanticMediaWiki / SemanticResultFormats

Provides additional visualizations (result formats) for Semantic MediaWiki
https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Result_Formats
Other
45 stars 75 forks source link

bug (filtered): use a more specific term for the CSS classes "enabled", "disabled" #818

Closed gesinn-it-gea closed 4 weeks ago

gesinn-it-gea commented 4 months ago

By default, each filter has assigned the css class enabled. This is related to the filter option +value filter switches=on off.

Example: <div id="hn85zw4n6q" class="filtered-filter filtered-value enabled">

"enabled" is a very general term that runs the risk of also being used elsewhere. Specifically, "enabled" is also used by leaflet maps, for example.

Replace "enabled" with "filtered-filter-enabled" and "disabled" with "filtered-filter-disabled"

gesinn-it-gea commented 1 month ago

image

gesinn-it-gea commented 1 month ago

The enabled class is related to the +value filter switches=on off switch and is on by default.

gesinn-it-ilm commented 4 weeks ago

This bug is fixed and tested. Added more specific term for CSS classes instead of 'enabled' and 'disabled'.

fix