[calendar] Remove mood and video by default
All checks were successful
build & deploy / test (push) Successful in 1m53s
build & deploy / build-and-deploy (push) Successful in 29s

This commit is contained in:
2026-05-27 13:37:44 -04:00
parent afb61f6622
commit 425abebc9a

View File

@ -1293,6 +1293,7 @@ class ScrobbleCalendarView(LoginRequiredMixin, TemplateView):
"VideoGame", "VideoGame",
"Book", "Book",
"Mood", "Mood",
"Video",
] ]
MEDIA_EMOJI = { MEDIA_EMOJI = {
@ -1303,9 +1304,10 @@ class ScrobbleCalendarView(LoginRequiredMixin, TemplateView):
"VideoGame": "🎮", "VideoGame": "🎮",
"Book": "📚", "Book": "📚",
"Mood": "🥰", "Mood": "🥰",
"Video": "🎬",
} }
DEFAULT_EXCLUDE = ["Task"] DEFAULT_EXCLUDE = ["Task", "Mood", "Video"]
MONTH_COLORS = [ MONTH_COLORS = [
"#db7a7a", # Jan "#db7a7a", # Jan
@ -1360,7 +1362,7 @@ class ScrobbleCalendarView(LoginRequiredMixin, TemplateView):
timestamp__date__lte=month_end, timestamp__date__lte=month_end,
media_type__in=active_types, media_type__in=active_types,
) )
.select_related("task", "birding_location", "food", "trail", "video_game", "book", "mood") .select_related("task", "birding_location", "food", "trail", "video_game", "book", "mood", "video")
.order_by("timestamp") .order_by("timestamp")
) )