Skip to content

Conversation

@anandani4136
Copy link
Contributor

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the priority logic for user check-ins to only grant priority after attending at least 2 qualifying events on the current day. Previously, priority was granted after any single qualifying event check-in.

  • Moves attendance record updates to occur before priority checks
  • Implements day-specific event filtering and counting logic for priority determination
  • Updates test expectations to reflect the new 2-event minimum requirement

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/services/checkin/checkin-utils.ts Implements new priority logic requiring 2+ qualifying events on current day
src/services/checkin/checkin-router.test.ts Updates test expectations and adds comprehensive test for new priority behavior

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@anandani4136 anandani4136 merged commit aaa1e12 into main Sep 18, 2025
5 checks passed
@anandani4136 anandani4136 deleted the priority-update-2 branch September 18, 2025 14:43
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.

3 participants