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

WPZ-3: Undo add and remove from reading list. #6

Open
7 tasks done
ambrose40 opened this issue Oct 15, 2020 · 0 comments · May be fixed by #14
Open
7 tasks done

WPZ-3: Undo add and remove from reading list. #6

ambrose40 opened this issue Oct 15, 2020 · 0 comments · May be fixed by #14
Assignees
Labels
feature New feature
Milestone

Comments

@ambrose40
Copy link
Owner

ambrose40 commented Oct 15, 2020

Estimated time: 2-4 hours

Requirements

As a user, I want to be able to quickly undo my action when clicking the Want to Read button in the book list, or the remove button in the reading list.

  • Starting from the chore/code-review branch from Task 1, create a new branch feat/undo-actions.
  • Update the code such that a snackbar appears whenever the user adds or removes a book. (Hint: this module is already installed and set up)
  • The snackbar must display the event that occurred (i.e. added/removed), and an Undo action.
  • When the user clicks Undo it should set the reading list state back to the previous state.
  • Write a new e2e test in apps/okreads-e2e/src/specs/reading-list.spec.ts to test the new undo feature.
  • Commit your changes on the feature branch.
  • Open a pull-request with chore/code-review as the target.
@ambrose40 ambrose40 added the improvement Code review, improvements, good practices label Oct 15, 2020
@ambrose40 ambrose40 self-assigned this Oct 15, 2020
@ambrose40 ambrose40 added this to the TASK-3 milestone Oct 15, 2020
@ambrose40 ambrose40 mentioned this issue Oct 15, 2020
10 tasks
@ambrose40 ambrose40 linked a pull request Oct 16, 2020 that will close this issue
7 tasks
@ambrose40 ambrose40 added feature New feature and removed improvement Code review, improvements, good practices labels Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant