Admins can view every DriverAvailability submitted by any driver by clickling Driver Availabilities under the Admin dropdown on the navbar. But right now each entry in the table, simply shows just the driver id.
In other place in the application, the driver id is a hyperlink that takes the user to a information page on that driver. For this table, we want to do the same and have the driverId be a hyperlink to the information page like on the Shifts page.
The second thing regarding this index page is the review button. It doesn't do anything and there is no purpose for it being there. Please remove it.
Acceptance Criteria
[ ] Admin can click on the Driver Id and it will take them to the same information page that you get from the Shifts page.
[ ] Review button is removed
Implementation Todos
Frontend:
[ ] Modify DriverAvailabilityTable.js to fulfill acceptance critera. Use ShiftTable.js as an example.
[ ] Remove the Review button from DriverAvailabilityTable.js
As a...
Admin
I can...
know whos availability each row in the table is
So that...
its easier to view quickly
Discussion
Admins can view every
DriverAvailability
submitted by any driver by clicklingDriver Availabilities
under theAdmin
dropdown on the navbar. But right now each entry in the table, simply shows just the driver id.In other place in the application, the driver id is a hyperlink that takes the user to a information page on that driver. For this table, we want to do the same and have the driverId be a hyperlink to the information page like on the
Shifts
page.The second thing regarding this index page is the review button. It doesn't do anything and there is no purpose for it being there. Please remove it.
Acceptance Criteria
Review
button is removedImplementation Todos
Frontend:
DriverAvailabilityTable.js
to fulfill acceptance critera. UseShiftTable.js
as an example.Review
button fromDriverAvailabilityTable.js