Event (calendar) UX issues

I’m running into the following UX issues when using the renewed calendar plugin

The hero image in the event card links to the image and not to the topic

That’s unexpected. I would like to end up in the topic when clicking that image.

Lacking plugin outlets in the composer and advanced settings dialog

Although the event view in the cooked post has many plugin outlets and a wrapper discourse-post-event-info, the new event view in the composer does not have any, and nor does the advanced settings dialog, making them impossible to customize or extend.

No specific CSS class for the custom field section in the advanced settings dialog

In order to allow special formatting or input for the custom fields, it would be nice if we both had a plugin outlet (see previous issue) and the ability to hide the entire generic custom field input section. The “custom fields” section only has form-kit__container --full CSS class, but no ID.

The separate fields do have a control-customFields-fieldname id.

The “Advanced settings” button at the bottom does not change

Even when you are IN advanced settings, the button keeps looking the same. It turns out to be a toggle, pressing “Advanced settings” in the advanced settings dialog brings you back to the main view.

Add custom fields to serializer

Not a UX thing per se, but the custom fields are not accessible in the front end in a structured manner.
We’re currently using a plugin that simply does this to make us happy:

  add_to_class("DiscoursePostEvent::BasicEventSerializer", :event_extensions_custom_fields) do
    object.custom_fields
  end

  add_to_serializer("discourse_post_event/basic_event", :custom_fields) do
    event_extensions_custom_fields
  end
2 Likes