Safety HQ Dashboard
As HQ Staff, user must be able to do the following actions in HQ Tools:
-
View Safety Forms by their type (Preliminary Project Safety, Final Project Safety, Check In, Animal Use) in a table format (same structure as any other table in HQ). In the table, following columns should be shown: -
Team Name (#teamID); -
Form Status (reference to how other tables in HQ Tools show entity status); -
Form creation date; -
Action column, with two buttons: -
Edit form status; -
View form (opens the form in https://teams.igem.org/{teamID}/safety/{formType}/{formUUID}
.
-
-
-
Filter forms by teamID (using TeamSelector) and form status; -
Edit form status in a modal and refresh list after the update.
API endpoints:
1. GET {{baseURL}}/teams/deliverables/safety -> fetch all forms (form type is a required query parameter) in a paginated format
2. PUT {{baseURL}}/teams/:teamID/deliverables/forms/:formUUID/status/:status -> update team form status
Related MRs:
- hq-tech/backend!329 (merged)
- !414 (merged) (frontend)
Edited by Orestis Athanasopoulos Antoniou