In the additional info modal that is accessible by clicking the button on the far right column of the table, add a text area and submit button to allow users to update the additional notes for a given project. When submit is clicked, call the update additional notes route that will be created in another task this week.
It should roughly follow this layout when the modal is opened:
----------------------------------edit --
current additional notes information
displayed as regular text
when edit button is clicked:
editable text area box with previous additional notes
already filled in
--------------------------- cancel | submit --
Requirements:
[ ] Text area box, cancel and submit buttons only appear when edit is clicked
[ ] text area box, cancel and submit buttons disappear when submit or cancel is clicked
[ ] Text shows up as it is typed in the text area (use useState)
[ ] Submit button calls endpoint to add changes to database
[ ] Color of submit button is consistent with project theme
[ ] Uses the shadcn Textarea component and Button components for the buttons
In the additional info modal that is accessible by clicking the button on the far right column of the table, add a text area and submit button to allow users to update the additional notes for a given project. When submit is clicked, call the update additional notes route that will be created in another task this week.
It should roughly follow this layout when the modal is opened:
----------------------------------edit -- current additional notes information displayed as regular text
when edit button is clicked:
editable text area box with previous additional notes already filled in --------------------------- cancel | submit --
Requirements: