Skip to content

feat: implement attendance logging system for clock-in/out events - #317

Merged
truthixify merged 2 commits into
DistinctCodes:mainfrom
anumukul:main
Oct 2, 2025
Merged

feat: implement attendance logging system for clock-in/out events#317
truthixify merged 2 commits into
DistinctCodes:mainfrom
anumukul:main

Conversation

@anumukul

@anumukul anumukul commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

Description

Implements immutable attendance logging for clock-in/out events.

Changes

  • Added AttendanceAction enum to types.rs
  • Created attendance_log.rs with logging and retrieval functions
  • Added authentication enforcement
  • Integrated with lib.rs
  • Added 8 passing tests

Resolves #215

- Add AttendanceAction enum (ClockIn, ClockOut) to types.rs
- Create AttendanceLog struct with immutable storage
- Implement log_attendance() with auth enforcement
- Add get_logs_for_user() for retrieval
- Include 8 comprehensive tests
- Integrate with lib.rs
@vercel

vercel Bot commented Oct 2, 2025

Copy link
Copy Markdown

@anumukul is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

@anumukul

anumukul commented Oct 2, 2025

Copy link
Copy Markdown
Contributor Author

please review my PR @truthixify

@truthixify

Copy link
Copy Markdown
Contributor

The CI is failing, make the CI pass by fixing the format.

@truthixify

Copy link
Copy Markdown
Contributor

Thank you @anumukul

@anumukul

anumukul commented Oct 2, 2025

Copy link
Copy Markdown
Contributor Author

The CI is failing, make the CI pass by fixing the format.

I have fixed it please review

@truthixify
truthixify merged commit 8035aff into DistinctCodes:main Oct 2, 2025
4 of 5 checks passed
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.

[CONTRACT] Implement Attendance Log Contract

2 participants