con2 / kompassi

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

As a program manager I want to define colors for dimensions to be shown in the Guide #471

Closed japsu closed 3 months ago

japsu commented 4 months ago

Currently in the Program Guide V2 Embedded, these are done as per-event customizations to the PHP code:

Image

Push this down to the Program v2 data model and GraphQL API so that the V2 Embedded need not be customized per-event for this. Also implement the colors and possibly icons, too in, V2 Light.

There is the concept of a "Primary Dimension" that could be one to supply the color and possible icon. We could also omit this and use the first value of the first dimension (they should have a deterministic order).

Live demo of V2 Embedded Live demo of V2 Light Docs