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

Add random watchlist-movie button #7

Open
1 of 7 tasks
WinterIsCoding23 opened this issue May 11, 2023 · 1 comment
Open
1 of 7 tasks

Add random watchlist-movie button #7

WinterIsCoding23 opened this issue May 11, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@WinterIsCoding23
Copy link
Owner

WinterIsCoding23 commented May 11, 2023

Value proposition
As a user I want to click a random-button in order to have a random movie from my watchlist suggested to me.

Description

Image

Acceptance criteria

  • By clicking the random-watchlist-movie-button the user is directed to the detail page of a random movie from the Watchlist.
  • The displayed movie is marked as a favourite.
  • By clicking the random-watchlist-movie-button AGAIN the detail page of a DIFFERENT movie from the Watchlist is shown.

Tasks

  • Create a random-watchlist-movie-button in the Watchlist-component on the startpage (OR in the navbar, tbd)
  • Link the onClick-event of the button to a random-function that shows a random watchlist-movie detail page
  • Replace the random movie-infos (title, image) on the startpage by a another random-movie-button and adapt the styling (size!) depending on the styling of the random-watchlist-movie-button
  • Link the onClick-event of the random-movie-button to a random movie from the database (API)
@WinterIsCoding23 WinterIsCoding23 changed the title As a user I want to click a random-button in order to have a random movie suggested to me. As a user I want to click a random-button in order to have a random movie from my watchlist suggested to me. May 11, 2023
@WinterIsCoding23 WinterIsCoding23 added the documentation Improvements or additions to documentation label May 11, 2023
@WinterIsCoding23 WinterIsCoding23 changed the title As a user I want to click a random-button in order to have a random movie from my watchlist suggested to me. Add random movie button May 12, 2023
@WinterIsCoding23 WinterIsCoding23 changed the title Add random movie button Add random watchlist-movie button May 12, 2023
@WinterIsCoding23
Copy link
Owner Author

WinterIsCoding23 commented Jun 14, 2023

  • Add update of streaming-options in PUT-request (for case that watchlist-movie suddenly is available for streaming and other way round)
  • Change randomMovie-generation to include mainstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant