tutorbookapp / tutorbook

Web app that helps schools and nonprofits connect students with expert mentors and volunteer tutors.
https://tutorbook.org
Other
59 stars 13 forks source link

feat: add service hour logs #257

Closed nicholaschiang closed 3 years ago

nicholaschiang commented 3 years ago

Fixes TB-137

linear[bot] commented 3 years ago
TB-137 Add service hour logs

Admins and volunteers should be able to download a CSV of their service hours. Essentially, just a downloaded sheet of all of their meetings and then the sum of all of those service hours. It should be pretty straight forward to do with a PostgreSQL function and Supabase's built-in CSV function streamed to an HTTP response.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tutorbook/tutorbook/He5NKjkTuUn1NzETwnJA4QAexBmP
✅ Preview: https://tutorbook-git-hours-tutorbook.vercel.app

nicholaschiang commented 3 years ago

📝 Changed routes:

/[org]/users/[id]/hours /[org]/users/[id]
Screenshot of /[org]/users/[id]/hours
(view full size)
Screenshot of /[org]/users/[id]
(view full size)

And 2 other routes:

Commit cfb178151e56945175859fe5f5e9c0965f7705f6 (https://tutorbook-b1q0uh8r3-tutorbook.vercel.app).