Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.13 KB

File metadata and controls

32 lines (23 loc) · 1.13 KB

Lab Schedule Slack Bot

This is the backend code for a Slack app to help lab members manage their testing schedules. Right now, it can access a Firestore database, validate workspace users, and pull a schedule summary for each user.

Features

Adding Slots to the Calendar

The form can be acccessed through /add-slot command, then it prompts the user to enter the information for their new time slot. After the form is submitted, the bot validates the user (determines whether they belong to a project), validates their entered time (whether it's too short, whether it overlaps with other slots in the same location, and whether the begin/end times are flipped).

add slot

Then, the request goes to the selected approver and they get a request and have an option to either approve it or reject it. The requester gets notified of the decision.

approve

If approved, the event is added to the database and will appear on the lab calendar after the time it's supposed to go in effect.

cal

Project in progress