[calendar] Add boardgames to pills

This commit is contained in:
2026-05-27 14:00:42 -04:00
parent 90f3d38687
commit b4e15c73c1

View File

@ -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")
)