Skip to content

Conversation

@codeunia-dev
Copy link
Owner

This pull request updates the hackathon and event workflows with improvements to the CSV export process and fixes to the event search filtering logic.

Key Improvements

  • Simplified registration CSV export

    • Reduced unnecessary columns
    • Improved date formatting for better readability and consistency
    • Ensures exported data is lightweight and correct
  • Accurate event search filtering

    • Moved search filtering to the post-enrichment stage
    • Prevents mismatches caused by filtering on partially populated event objects
    • Improves accuracy of search results on the client-side

🛠 Code Summary

  • 66 additions
  • 38 deletions
  • 3 files updated
  • 2 commits included

🔒 Stability & Compatibility

  • No breaking schema changes
  • Existing clients remain compatible
  • Logic correctness improved without altering API shapes

Authored by: @akshay0611

…matting

- Remove unnecessary columns (Institution, Department, Year of Study, Experience Level, Registration Date) from CSV exports for both events and hackathons
- Consolidate date columns into single "Registered On" field with human-readable format (e.g., "Nov 19 2025")
- Format payment amounts with currency symbol (₹) and convert from cents to rupees
- Display "N/A" for missing payment amounts instead of empty values
- Update hackathons export endpoint to use service role client for bypassing RLS on master_registrations table
- Separate authentication check (server client) from data querying (service role client) in hackathons export
- Streamline CSV output to focus on essential registration information for better readability and usability
… results

- Remove search filter from initial database query before data enrichment
- Implement search filtering after enriching registrations with profile data
- Add support for searching by profile_name in addition to full_name, email, and phone
- Update total count calculation to reflect filtered results when search is applied
- Improve search accuracy by performing case-insensitive matching on enriched data
@vercel
Copy link

vercel bot commented Nov 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
codeunia Building Building Preview Comment Nov 19, 2025 7:21am

@codeunia-dev codeunia-dev merged commit 7c0a82e into main Nov 19, 2025
2 of 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.

3 participants