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

Enable user to go back into the process while adding a book #54

Closed
4 tasks
Zelig880 opened this issue May 15, 2021 · 1 comment
Closed
4 tasks

Enable user to go back into the process while adding a book #54

Zelig880 opened this issue May 15, 2021 · 1 comment

Comments

@Zelig880
Copy link
Owner

At the moment, an user is not able to go back while adding a book, and is forces to refresh the page to be able to add a new book (for example if they clicked on teh wrong title).

  • Add a button on the bottom right of as shown in the attached picture if the add to your bookshelf is shown
  • SHow the button only if a title has been selected from the dropdow
  • Name the button "Start again" and use secondary theme
  • When the button is clicked, cleanup the selected book variable and make sure the form is reset to its initial state
    image
venkivijay added a commit to venkivijay/BooksBank that referenced this issue May 16, 2021
@venkivijay
Copy link
Contributor

@Zelig880 I have raised PR #59 for this issue. Please review it.

I used refs to access searchText and clear it as the Button triggering the reset and BookshelfAddStep1 components are Siblings.

venkivijay added a commit to venkivijay/BooksBank that referenced this issue May 20, 2021
venkivijay added a commit to venkivijay/BooksBank that referenced this issue May 20, 2021
Zelig880 pushed a commit that referenced this issue May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants