Filter and highlight events based on tag

Two more thoughts / requests…

We have an Events category, and we use discourse post event enabled to have a category-level calendar populated from the posts.

We also use tags a lot, so it would be nice to:

  1. Be able to filter on a tag and have the calendar display only the filtered events (currently it vanishes altogether)
  2. Colour events in the calendar by tag (similar to how the staff-holiday calendar uses multiple colours)
8 Likes

I have a similar feature request.

There has been some recently added functionality to give colors to the events based on tags, but it would be absolutely great if the events post.topic.tags slugs were copied to the calendar events classNames in the addEvent() call, either as slug or as tag-slug. The discourse-post-event/events endpoint already copies the tags to the data structure on the client side.

Since the rendering of the calendar in the calendar plugin is all done in an initializer, it’s hard to override. Is this something you would accept a PR for?

1 Like