-
-
Notifications
You must be signed in to change notification settings - Fork 288
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
fix: allow user to request new seasons of a already provided show #966
base: develop
Are you sure you want to change the base?
Conversation
When a new season of a show already available launches, the users can't ask for the new season as the request more button doesn't appear, this commit aims to fix this fallenbagel#962
} else if ( | ||
mediaType === 'tv' && | ||
hasPermission([Permission.REQUEST, Permission.REQUEST_TV], { | ||
type: 'or', | ||
}) && | ||
media && | ||
media.status === MediaStatus.PARTIALLY_AVAILABLE | ||
) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should merge this condition with the one below, both are doing the same thing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ToMattBan could you make this change asap so we can have it available for next version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, sorry the delay
@ToMattBan You just removed the fix you wanted this PR to achieve and only white-space changes remaining now |
@fallenbagel yeah, I'm not sure what you want. It was said that I should merge with the one bellow, when I did, the changes don't exist anymore. If they do the same thing, there are no reason to my fix. |
We literally asked to merge your condition We still need this fix but you'll need to add the permision to the logic below instead of the else condition. That's all we said... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 303 achieves the same logic as the else function that this pr originally had. We asked to merge that else function into line 303
You just need to add PENDING_APPROVAL
into the else if conditions. Same with 4k button
Gotcha, as soon as I get home, I fix it. |
@fallenbagel done. Tested a lot and it seems stable. No problem found. The reason to remove isComplete is that |
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
Description
Follow the flow:
This PR aims to fix this, by adding a "Request More" button that allows the user to request a new season of the show.
Screenshot (if UI-related)
Issues Fixed or Closed