Skip to content

fixed (enrichment): default to next week on weekends#1887

Open
ZamanZahid wants to merge 2 commits intotjcsl:devfrom
ZamanZahid:enrichment-default-next-week
Open

fixed (enrichment): default to next week on weekends#1887
ZamanZahid wants to merge 2 commits intotjcsl:devfrom
ZamanZahid:enrichment-default-next-week

Conversation

@ZamanZahid
Copy link
Copy Markdown

@ZamanZahid ZamanZahid commented Apr 10, 2026

closes: #1875

Proposed changes

  • Added helper function to determine default enrichment date
  • Updated enrichment_context to use new weekend logic

Brief description of rationale

Right now, on Saturdays and Sundays, the enrichment page defaults to the last week's activities, even though signups are closed after Friday. This change makes it show the next week instead, unless there are still enrichment activities on that weekend.

@ZamanZahid ZamanZahid requested a review from a team as a code owner April 10, 2026 16:53
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 79.234% (-0.03%) from 79.264% — ZamanZahid:enrichment-default-next-week into tjcsl:dev

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.

Default to next enrichment week on Saturday

2 participants