You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Estimated time: 2-4 hours
Requirements
chore/code-review
branch from Task 1, create a new branchfeat/undo-actions
.Undo
action.Undo
it should set the reading list state back to the previous state.apps/okreads-e2e/src/specs/reading-list.spec.ts
to test the new undo feature.chore/code-review
as the target.The text was updated successfully, but these errors were encountered: