con2 / kompassi

Kompassi Event Management System
https://kompassi.eu
Other
26 stars 27 forks source link

Dimension flags: As a program manager I want to hide a dimension from list filters or detail view #475

Closed japsu closed 3 months ago

japsu commented 4 months ago

Related to #474

Once we implement freeform location, it won't make sense any more to show in the program detail view the location both as dimension bubble and freeform location.

Propose adding flags such as isListFilter (default true) and isShownInDetail (default true) so that special dimensions such as date and room may be hidden in specific contexts.

An alternative would be to base this on locationDimension, but that would be too magical.

Slack discussion

japsu commented 3 months ago

NB isShownWithDimensionTitle https://outline.con2.fi/doc/general-conventions-JEpkPTjKUz#h-boolean-prefixes-are-preferred-but-not-mandatory

knomepasi commented 3 months ago

isNegativeSelectionFilter: True if the selection needs to be negative Use case: Accessibility flags (nobody wants to specifically join program with specific accessibility issues)