Show a message when the calendar has no events #35

Merged
westfarn merged 1 commits from feat/calendar-empty-state into master 2026-10-10 04:14:37 -07:00
Owner

Summary

Closes #34.

  • Upcoming and Past calendar tabs show a short message when that list is empty, so a calendar with no events is no longer a blank content area.
  • Empty copy stays hidden on a tab that has events.

Test plan

  • Open /calendar with no CalendarEvent rows and confirm Upcoming says “There are no upcoming events to display.”
  • Switch to Past and confirm it says “There are no past events to display.”
  • Add an upcoming event and confirm the Upcoming message is gone while Past still shows its empty message if there are no past events.
  • uv run python manage.py test schasite.tests.PublicPageTests.test_calendar_shows_empty_state_when_no_events schasite.tests.CalendarEventTests.test_calendar_page_splits_past_and_future
## Summary Closes #34. - Upcoming and Past calendar tabs show a short message when that list is empty, so a calendar with no events is no longer a blank content area. - Empty copy stays hidden on a tab that has events. ## Test plan - [ ] Open `/calendar` with no `CalendarEvent` rows and confirm Upcoming says “There are no upcoming events to display.” - [ ] Switch to Past and confirm it says “There are no past events to display.” - [ ] Add an upcoming event and confirm the Upcoming message is gone while Past still shows its empty message if there are no past events. - [ ] `uv run python manage.py test schasite.tests.PublicPageTests.test_calendar_shows_empty_state_when_no_events schasite.tests.CalendarEventTests.test_calendar_page_splits_past_and_future`
westfarn added 1 commit 2026-10-09 10:39:22 -07:00
Show a message when the calendar has no events.
CI / test (pull_request) Successful in 5s
Unit Tests / test (pull_request) Successful in 4s
427693fb9f
Closes #34. Upcoming and Past tabs explain an empty list instead of leaving the content area blank.
westfarn merged commit 753dd495b4 into master 2026-10-10 04:14:37 -07:00
westfarn deleted branch feat/calendar-empty-state 2026-10-10 04:14:37 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/scha#35