You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On attendance sign-in, or a user going to events/UUID for a particular event. The user should only have there attendance marked if they arrive between the event timeframe +- 30 minutes.
Actual Behavior
Right now, the attendance tracker will mark people within the database per page visit regardless of the time. This means someone who didn't go to the event will be able to later after the event happened be recorded for being there.
Steps
eventData is an object with the following variables
you can use the start_date and end_date to check the timeframe and make sure that the current user at the current time is between that timeframe +- 30 minutes. If they aren't in the timeframe conditionally render, something about the event ending these are the next events, this is who went sort of thing
The text was updated successfully, but these errors were encountered:
Expected Behavior
On attendance sign-in, or a user going to events/UUID for a particular event. The user should only have there attendance marked if they arrive between the event timeframe +- 30 minutes.
Actual Behavior
Right now, the attendance tracker will mark people within the database per page visit regardless of the time. This means someone who didn't go to the event will be able to later after the event happened be recorded for being there.
Steps
eventData is an object with the following variables
type Event = {
name: string;
id: string;
start_date: string;
end_date: string;
place: string;
description: string;
link: string;
};
you can use the start_date and end_date to check the timeframe and make sure that the current user at the current time is between that timeframe +- 30 minutes. If they aren't in the timeframe conditionally render, something about the event ending these are the next events, this is who went sort of thing
The text was updated successfully, but these errors were encountered: