Skip to content

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

Closed
ZamanZahid wants to merge 2 commits into
tjcsl:devfrom
ZamanZahid:enrichment-default-next-week
Closed

ZamanZahid wants to merge 2 commits into
tjcsl:devfrom
ZamanZahid:enrichment-default-next-week

Conversation

@ZamanZahid

@ZamanZahid ZamanZahid commented Apr 10, 2026

Copy link
Copy Markdown

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

@aarushtools aarushtools left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to place this commit on a new branch

@ZamanZahid

ZamanZahid commented May 12, 2026

Copy link
Copy Markdown
Author

Alright here is the new one - #1899

@ZamanZahid ZamanZahid closed this May 12, 2026
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

3 participants