Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

**USER CAN EDIT AN EXISTING FOLDER NAME** #11

Open
5 tasks
JamesRexMiller4 opened this issue Feb 9, 2020 · 0 comments
Open
5 tasks

**USER CAN EDIT AN EXISTING FOLDER NAME** #11

JamesRexMiller4 opened this issue Feb 9, 2020 · 0 comments
Labels

Comments

@JamesRexMiller4
Copy link
Collaborator

When viewing all folders a user can edit the name of a folder and save their changes

  • Add edit button/way to make h2 tag modifiable
  • Add useState to store all the folders from useEffect, and then write method to be able to find and update the modified folder name and save to state
  • Add button to save changes/functionality to click out edit box and that triggers save method
  • add apiCall patchFolderName
  • invoke patchFolderName to update db, and if successful show new name in its place, else render error message saying that name was not accepted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant