Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Setting Availabilities From Static Days of The Week to Dynamic Weeks of a Month #168

Open
AhmedNSidd opened this issue Sep 4, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request V1.1 All issues related to our v1.1 update
Milestone

Comments

@AhmedNSidd
Copy link
Collaborator

AhmedNSidd commented Sep 4, 2019

The title is pretty cryptic so I'll expand here. So right now, a user can set their availabilities for the days of the week. Meaning I can say that I'm available on Monday's at 7pm to 9pm, but I don't really like this system because if one week, I am busy from 8pm to 9pm, I would need to go the availability page and change the timing manually. It's pretty tedious, imo. This system also has another issue. Eventually, we want to make it so that if a lesson is scheduled with me from 8pm to 9pm, my availabilities automatically update themselves and show that I am now only available from 7pm to 8pm. But let's say that a lesson is scheduled on Monday from 8pm to 9pm 2 weeks in the future. How would we update the availabilities in that scenario? We can't unless we display a user's availabilities for the future too. I think it would also be tedious for a user to enter in their availabilities for every week. So this is how I envision the availability system to look like after addressing this issue: As a tutor, when I sign up, the website will ask me when I am available during the days of the week. After that, it will autofill those timings for the availability calendar for all the weeks. After that, if someone schedules a lesson with me, the availabilities can be updated for the appropriate day. First step in accomplishing this is finding a good calendar for websites. From a simple google search, fullcalendar.io looks good, more investigation will need to be done, however.
The next step would probably be to change the way we deal with availabilities in the backend. The way I envision it is we store the work hours for a user for the days of the week but in addition to that, we also store "special availabilities", these are the availabilities that differ from the work hours that are specified. So the calendar would show normal work hours, but for those special dates, it would show the availabilities that the user saved in the database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request V1.1 All issues related to our v1.1 update
Projects
None yet
Development

No branches or pull requests

1 participant