Skip to content

Conversation

@realmayus
Copy link
Contributor

@realmayus realmayus commented Mar 22, 2025

Only save select Zoom data to our database.

This required some very hacky workaround because I wasn't sure how to identify pupils/students in the meeting report other than separating them by having an ID and not having an ID. Is there a better way to do it?

Closes https://github.com/corona-school/project-user/issues/1422

@realmayus realmayus requested a review from JeangelLF March 22, 2025 11:31
@realmayus realmayus temporarily deployed to backend-feat-minimal-me-3g8cnk March 22, 2025 11:31 Inactive
@realmayus realmayus temporarily deployed to backend-feat-minimal-me-fj4hmu March 22, 2025 20:17 Inactive
Copy link
Contributor

@JeangelLF JeangelLF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh... I think we tried to partially solve the same thing 🙈.
Last week, I added #1206 trying to avoid the zoom meeting report because of the issues you described

  • Not being able to identify users accurately
  • Not having any infos on non-zoom meetings

export async function populateAppointmentStats() {
logger.info('Populating appointment stats');
const zoomMeetingReports = await prisma.lecture.findMany({
where: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we also exclude here those that already have the stats populated? 👀

@realmayus
Copy link
Contributor Author

@JeangelLF I see, thanks for the notice. So all that remains for closing https://github.com/corona-school/project-user/issues/1422 is the meeting duration, afaict. This I can derive from the meeting reports without any hacks.

I'm gonna remove the appointment_stats data structure then and just add the actualDuration to the lecture entity.

@realmayus realmayus requested a review from JeangelLF April 7, 2025 11:07
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