Skip to content

Split CityCamp city page events into upcoming and past - #149

Merged
bensheldon merged 3 commits into
mainfrom
separate-upcoming-past-events
Jul 17, 2026
Merged

Split CityCamp city page events into upcoming and past#149
bensheldon merged 3 commits into
mainfrom
separate-upcoming-past-events

Conversation

@bensheldon

@bensheldon bensheldon commented Jul 14, 2026

Copy link
Copy Markdown
Member
  • City pages now show separate "Upcoming events" and "Past events" sections instead of one combined "Future and past events" list, split via a Jekyll pre_render hook comparing each event's date against the current date.
  • Adds Timecop as a test dependency and a spec that freezes the date to verify the upcoming/past split, the same-day boundary, and sort order (upcoming soonest-first, past most-recent-first).

Adds separate "Upcoming events" and "Past events" sections to city
pages instead of one combined list, computed via a Jekyll pre_render
hook that partitions each city's events against the current date.
Adds Timecop as a test dependency and a spec that freezes the date
to verify the split, boundary behavior, and sort order.
…t-events

# Conflicts:
#	Gemfile
#	Gemfile.lock
@bensheldon
bensheldon merged commit 8a22178 into main Jul 17, 2026
2 checks passed
@bensheldon
bensheldon deleted the separate-upcoming-past-events branch July 17, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant