ucsb-cs156-s24 / proj-gauchoride-s24-5pm-8

https://ucsb-cs156-s24.github.io/proj-gauchoride-s24-5pm-8/
1 stars 0 forks source link

Kl - FEATURE: Change Driver Id text fields to dropdown #33

Closed KarstenLansing closed 4 months ago

KarstenLansing commented 4 months ago

I added two dropdown lists for both driver ID and Backup driver ID in the shift create form such that admins don't have to remember all the driver id's and which corresponds to which person. Passes mutation and coverage testing with 100% on both. Used the driver controller API to retrieve all of the driver IDs.

Acceptance criteria: When creating shifts, an admin can select the Driver ID and Backup Driver ID from a dropdown containing all of the drivers

Dokku deployment: https://gauchoride-karstenlansing-dev.dokku-16.cs.ucsb.edu/

Screenshot 2024-05-23 at 12 09 31 Screenshot 2024-05-23 at 12 09 55

Closes: #13