BCStudentSoftwareDevTeam / chemical-inventory

0 stars 0 forks source link

New Hazard Categories #169

Open ojmakinde opened 1 year ago

ojmakinde commented 1 year ago

Issue: The Primary Hazard dropdown when adding a new chemical required the creation of two new options, namely the Organic Health Hazard and Inorganic Health Hazard.

Solution: We added the options in the Hazard dictionaries located in the configuration files. Additionally, we added the color codes in the color coding dictionaries also located in their .yaml configuration files.

To test: Log into the Chemical Inventory, click the Add Chemical, fill in the fields, and ensure the Organic and Inorganic Health Hazard options exist in the dropdown. After creating, search the chemicals up and ensure that the color coding (blue) is correctly displayed on the screen.

fixes #168