From f64d5e0c21315b6aae62463eb4d24fbd19e80f17 Mon Sep 17 00:00:00 2001 From: Josh Larson Date: Thu, 13 Aug 2026 14:30:09 -0400 Subject: [PATCH 1/5] fix(events): Add an empty state for months with no events --- .../templates/event/_month.html.heex | 6 +- lib/dotcom_web/views/event_view.ex | 14 ++-- test/dotcom_web/views/event_view_test.exs | 66 +++++++++++++------ test/support/factories/cms/partial/teaser.ex | 31 +++++++++ 4 files changed, 92 insertions(+), 25 deletions(-) create mode 100644 test/support/factories/cms/partial/teaser.ex diff --git a/lib/dotcom_web/templates/event/_month.html.heex b/lib/dotcom_web/templates/event/_month.html.heex index 229cf784d6..5630d78a88 100644 --- a/lib/dotcom_web/templates/event/_month.html.heex +++ b/lib/dotcom_web/templates/event/_month.html.heex @@ -1,4 +1,4 @@ -