nss-evening-cohort-10 / nutshell-star-destroyer

0 stars 1 forks source link

Personnel: Create #16

Closed EmileeA closed 4 years ago

EmileeA commented 4 years ago

User Story

AC

GIVEN the user is logged in and visits the personnel page WHEN the user clicks the add personnel button THEN there will be a modal to create a new personnel member

WHEN the save button is clicked THEN the new personnel member record will be found in personnel collection in firebase AND the page will be updated to show the new record

Dev Notes

EmileeA commented 4 years ago

image

EmileeA commented 4 years ago

image

ConnorSullivan10 commented 4 years ago

Currently you have to hard refresh the personnel page after adding, before you can see the new data. Create adds new info to firebase data, but the READ function (whatever function prints the cards) needs to be re-called after the info is added to firebase. Add button should only display when logged in.

rtate2 commented 4 years ago

Add New Personnel modal

Star-Destroyer-addModal