From b4e15c73c10e2b6827673fbf23a040751c314638 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 27 May 2026 14:00:42 -0400 Subject: [PATCH] [calendar] Add boardgames to pills --- vrobbler/apps/scrobbles/views.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vrobbler/apps/scrobbles/views.py b/vrobbler/apps/scrobbles/views.py index 289d754..2eeed05 100644 --- a/vrobbler/apps/scrobbles/views.py +++ b/vrobbler/apps/scrobbles/views.py @@ -1294,6 +1294,7 @@ class ScrobbleCalendarView(LoginRequiredMixin, TemplateView): "Book", "Mood", "Video", + "BoardGame", ] MEDIA_EMOJI = { @@ -1305,9 +1306,10 @@ class ScrobbleCalendarView(LoginRequiredMixin, TemplateView): "Book": "📚", "Mood": "🥰", "Video": "🎬", + "BoardGame": "🎲", } - DEFAULT_EXCLUDE = ["Task", "Mood", "Video", "Food"] + DEFAULT_EXCLUDE = ["Task", "Mood", "Video", "Food", "BoardGame"] MONTH_COLORS = [ "#db7a7a", # Jan @@ -1362,7 +1364,7 @@ class ScrobbleCalendarView(LoginRequiredMixin, TemplateView): timestamp__date__lte=month_end, media_type__in=active_types, ) - .select_related("task", "birding_location", "food", "trail", "video_game", "book", "mood", "video") + .select_related("task", "birding_location", "food", "trail", "video_game", "book", "mood", "video", "board_game") .order_by("timestamp") )