Skip to content

Conversation

wavexnani
Copy link
Contributor

This release brings significant improvements to our attendance tracking system, focusing on more efficient data retrieval, enhanced visual reporting, and greater flexibility for historical data access.

Optimized Attendance Data Retrieval

We've refined the data fetching process within attendance-service.ts. Previously, two separate database queries were executed: one for basic member details (member ID, name, year) and another for their specific attendance records (member ID, time-in, time-out, and present status). After retrieving these, a mapping function combined the data for each member.

Now, we've consolidated these into a single, comprehensive query. This new query efficiently retrieves all necessary member and attendance information at once. As a result, the subsequent mapping logic in the AttendanceService function is no longer needed and has been removed, leading to cleaner code and improved performance.

New Attendance Metrics Visualizations

To provide a clearer and more immediate overview of attendance, we've added new visual components to the right side of the page:

  • A Pie Chart
  • A Bar Chart

These charts display the number of members present, absent, and late, offering quick, at-a-glance insights into daily attendance patterns.

Enhanced Calendar Component Functionality

The calendar component has been upgraded to make accessing historical attendance data much easier:

  • A new dropdown menu has been integrated, allowing users to select any specific month and year.
  • This new feature enables you to effortlessly retrieve and view attendance data for any particular day within your chosen month and year.

Copy link

netlify bot commented Aug 8, 2025

Deploy Preview for zingy-speculoos-372a93 ready!

Name Link
🔨 Latest commit 4d87bda
🔍 Latest deploy log https://app.netlify.com/projects/zingy-speculoos-372a93/deploys/68aaef789f24a00008c57dfc
😎 Deploy Preview https://deploy-preview-38--zingy-speculoos-372a93.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sabarixr sabarixr merged commit 91c77c5 into amfoss:main Aug 24, 2025
3 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.

2 participants