Closed AllenHsm closed 6 months ago
I think its better to just have the edit and delete in, rather than leave it commented
Now drivers can edit their availability and the admin can edit & delete the availability.
Test coverage:
Table mutation coverage:
Storybook page for ordinary user:
Storybook page for driver:
Storybook page for admin:
Add table component for driver availability plus its test. Since we have not determined whether to add edit & delete functions, the codes are commented Closes: #15 Storybook page for ordinary user:![image](https://github.com/ucsb-cs156-w24/proj-gauchoride-w24-7pm-4/assets/47500460/0ee8d0f0-eb6f-4f0d-80f1-357910313ce2)
Storybook page for driver:
Storybook page for admin:
![image](https://github.com/ucsb-cs156-w24/proj-gauchoride-w24-7pm-4/assets/47500460/d0705a00-eb5b-4b4d-b3fa-c6318072717d)
npm coverage:![image](https://github.com/ucsb-cs156-w24/proj-gauchoride-w24-7pm-4/assets/47500460/16b28c55-77dc-41a7-bebd-fc94b4d51794)
mutation coverage:![image](https://github.com/ucsb-cs156-w24/proj-gauchoride-w24-7pm-4/assets/47500460/c928a98f-19df-4c77-adbb-420db14272f0)