As a user, I should be able to add Personnel to a Mission.
Acceptance Criteria
GIVEN the user is logged in and visits the Mission page
WHEN they select the appropriate mission
THEN click on the View Details within the Personnel section/card
AND they click the "Add Personnel" button
THEN there will be a modal to create a new Personnel member
Dev Notes
• Create an (addMissionPersonnel)axios.post call in the helpers/data/missionPersonnelData.js file that allow the user to add mission personnel to firebase and the DOM
• Create an Add Personnel button right below the page heading that once clicks opens a modal for the user to input information to create a new mission personnel.
• Create a function that reads the values from the input fields to create a new personnelMember object, and then pass the object to addNewMissionPersonnel
• Update the dom with createMissionPersonnelCard function
• The card styling will be as shown on the mockup below
User Story
As a user, I should be able to add Personnel to a Mission.
Acceptance Criteria
GIVEN the user is logged in and visits the Mission page WHEN they select the appropriate mission THEN click on the View Details within the Personnel section/card AND they click the "Add Personnel" button THEN there will be a modal to create a new Personnel member
Dev Notes
• Create an (addMissionPersonnel)axios.post call in the helpers/data/missionPersonnelData.js file that allow the user to add mission personnel to firebase and the DOM
• Create an Add Personnel button right below the page heading that once clicks opens a modal for the user to input information to create a new mission personnel.
• Create a function that reads the values from the input fields to create a new personnelMember object, and then pass the object to addNewMissionPersonnel
• Update the dom with createMissionPersonnelCard function
• The card styling will be as shown on the mockup below