Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Add durations to school bell schedules #226

Open
nicholaschiang opened this issue Mar 27, 2020 · 1 comment
Open

Add durations to school bell schedules #226

nicholaschiang opened this issue Mar 27, 2020 · 1 comment
Assignees
Labels
priority:p2 type:bug Bugs are tasks to fix things.

Comments

@nicholaschiang
Copy link
Member

nicholaschiang commented Mar 27, 2020

Add durations to school bell schedules

Schools need to be able to use their school's bell schedules when they're editing times, booking appointments, etc. Each tutoring location should be able to define a custom bell schedule. Note that this bell schedule must be kept separate from the location's open hours (as we use the school's bell schedule to verify that the location open hours are correctly inputted).

Overview

Problem statement

As of now, we are unable to parse times that include both a period and a time (e.g. I'm available from G Period until 4:45 PM after school).

Proposed work

We want to be able to show paid tutors (e.g. Deborah Wenocur) times and students periods. This will also make it so that we can parse both periods and times (e.g. when looking at a time range from F Period until 4:45 PM on a Friday, we get F Period, G Period, 3:45 PM, 4:15 PM, and 4:45 PM in the user's select menu).

Success criteria

The criteria that must be met in order to consider this project a success.

  • Don't crash when a user adds both a period and time in their availability
  • Parse periods into time ranges based off data from UGWA
    • Be able to calculate payments for those periods (from their durations)
  • Show paid tutors time ranges and show Gunn students periods
    • Store data in Firestore as Date() objects? And then parse them into the correct display strings client side? (e.g. students from gunn.tutorbook.app see those times parsed into the Gunn bell schedule while students from paly.tutorbook.app see those times parsed into the Paly bell schedule).

User stories

How the product should work for various user types.

Gunn Students

Paly Students

Paid Tutors

Scope

Requirements

Current project requirements.

Future work

Future requirements.

Non-requirements

List anything that is out of scope.

Designs

Include designs here or add directly to the Requirements or User Stories sections.

Alternatives considered

List any alternatives you considered to this approach. Explain why they weren't used.

Related documents

Include links to other pages as necessary (e.g. technical design doc, project proposal, etc.)

@nicholaschiang nicholaschiang self-assigned this Mar 27, 2020
@nicholaschiang nicholaschiang changed the title Add Durations to Gunn Bell Schedule Add durations to school bell schedules Mar 27, 2020
@mvortizr
Copy link

I want to work on this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority:p2 type:bug Bugs are tasks to fix things.
Projects
None yet
Development

No branches or pull requests

2 participants