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 A FOLDER'S NAME** #15

Open
6 tasks
sertmer opened this issue Feb 10, 2020 · 0 comments
Open
6 tasks

**USER CAN EDIT A FOLDER'S NAME** #15

sertmer opened this issue Feb 10, 2020 · 0 comments

Comments

@sertmer
Copy link
Owner

sertmer commented Feb 10, 2020

As a user, I want to be able to:

  • Edit the name of a folder

in case I make a mistake while creating it, or if the project changes

  • from the folders view:
  • add an edit button next to each folder name
  • on click of edit, input appears, placeholder: current folder name, along with save button
  • input value gets stored in local state on change
  • on click of save, check that foldername input is not empty
  • if not empty, fire off api call (PATCH folders)
  • use the response to re-render the folders page, showing updated folder name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant