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 STORY : Add to Wishlist #40

Closed
9 tasks done
Tracked by #35
tomik-z-cech opened this issue Feb 27, 2024 · 1 comment
Closed
9 tasks done
Tracked by #35

USER STORY : Add to Wishlist #40

tomik-z-cech opened this issue Feb 27, 2024 · 1 comment

Comments

@tomik-z-cech
Copy link
Owner

tomik-z-cech commented Feb 27, 2024

As a Site User, I need to be able to add items to my Wishlist in order to see keep the items I am interested in separately.

Acceptance Criteria :

Logged in User :

When I click "Add to Wishlist" toggle then the item toggles in Wishlist.

Not Logged in User :

Doesn't have that option.

Tasks :

  • Provide user with "Add to Wishlist" / "Remove from Wishlist" toggle button
  • Create view in views.py
  • Adjust item_detail.html template
  • Ensure the view communicates with context_list.py nested in wishlist app
  • Add logic to toggle item in Wishlist
  • Provide user with message that item was added / removed to / from the Wishlist
  • Protect the view to only logged in users
  • Test functionality as Logged in User
  • Test functionality as Not Logged in User

Epic :
EPIC 7

@tomik-z-cech
Copy link
Owner Author

This was done in commit 618624a.

@github-project-automation github-project-automation bot moved this from In Progress to Done in PP5 - Ohm-Azing Components Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant