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

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

EPIC: Improve usability of the DriverAvailabilities Create Page #3

Open github-actions[bot] opened 5 months ago

github-actions[bot] commented 5 months ago

_### As a...

driver

I can...

Undestand what each of the form fields mean

So that...

i can submit a correct availability without running into issues

Discussion

The current create page for DriverAvailabilities has a number of aspects that should be improved.

First: When create an availability we do not need to take the driver id as input, rather it should be automatically assigned to the creator.

Second: image The form labels are very unprofessional and jarring. We need to change this to be consistent with the rest of the application. Please capitalize and separate words.

Third: image Input validation error messages on bad input also must be improved with capitalization and spaces.

Fourth: image There is no 'bad-input' error messages. We should have error messages on bad input for Drive Id, Day, Start Time, End Time. For day it would be ideal to convert this field to a dropdown, similar to the one on the RideRequestForm.

Fifth Like the RideRequestForm we want to have example messages on each of the form fields to help making it easier for the driver to know how to fill it out Example: image

Acceptance Criteria

Implementation Todos

Issue 1 : Backend:

Issue 2 : Frontend:

You may further split this into more issues if deemed necessary

github-actions[bot] commented 5 months ago

Copied from https://github.com/ucsb-cs156/proj-gauchoride/issues/105