Updated how quarter/week/session are determined allowing more flexible configuration of meeting times, durations, and number of meetings per week.
Computation of scheduling related information is now centralized to src/utils/Scheduling.js.
Changes:
components/Puzzle - Problems are rendered appropriately according to the scheduling configurations. A week can now have a variable number of sessions.
components/Login - When adding problems to sessions the available sessions to add the problem to are limited by what is defined in components/config.js. Additional error detection has been added in the case the clock is inproperly set.
components/config.js - Added new class Meetings which defines a meeting based on a start time and a duration.
Additional Bug Fixes:
Problems submitted by a user were blocked from that user viewing. This has been patched.
The limit on problems per week was 2 when the alert message claims it is 5. It has been updated so the weekly limit on problems submissions is 5.
TODOs
May want to automate the scheduling process. (pros: less bug prone; cons: slower (requires fetching additional data from database)
Status
[ ] Please give it a run and try a few edge cases to ensure it is working properly.
Description
Updated how quarter/week/session are determined allowing more flexible configuration of meeting times, durations, and number of meetings per week. Computation of scheduling related information is now centralized to src/utils/Scheduling.js.
Changes:
Additional Bug Fixes:
TODOs
Status