Skip to content

Draft: UX Enhancement: Add GitLab-style Grid View for Attendance Users

Greeshma Kanukunta requested to merge feature/attendance-grid into develop

What does this MR do and why?

Add GitLab-style attendance grid view with automatic attendance marking on user/patient login.

  • Implement automatic attendance marking when a user/patient logs into their profile
  • Integrate attendance API from Corpus backend to record presence
  • Ensure attendance is marked as Present with login timestamp
  • Prevent duplicate attendance entries for the same user on the same day/session
  • Add GitLab-style grid view UI to visually display attendance records
  • Allow volunteers/admins to quickly identify patient presence
  • Follow existing UI components and project structure for consistency

This enhancement improves visibility of patient arrivals and helps volunteers/admins track attendance efficiently during camps or sessions.

References

Screenshots or screen recordings

image

Before After
Existing attendance view without grid GitLab-style attendance grid view with patient presence

How to set up and validate locally

  1. Checkout the feature branch
  2. Install dependencies npm install
  3. Start the development server npm run dev
  4. Login as a user/patient
  5. Verify the following:
    • Attendance is automatically marked as Present on login
    • Attendance API request is triggered successfully
    • No duplicate attendance records are created
    • Attendance grid view renders correctly
    • Admin/Volunteer can view the updated attendance status

Merge request reports

Loading