-
-
Notifications
You must be signed in to change notification settings - Fork 404
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(ui): allow canceling from request list & hide edit button for own requests #1401
Conversation
This PR also removes the ability for admins to cancel a request from the popup edit modal for movies. |
Huh, how are you able to submit requests that aren't approved but still see those buttons? You shouldn't be allowed to Approve/Deny requests if you have |
We don't allow admins to cancel others' pending requests on the request list; only approve/deny actions are shown. Wouldn't it be better to be consistent here? I imagine some admins who find themselves in the Also, there is no such And again, I'm not sure how you're submitting requests as an admin that aren't immediately approved (and you can't edit already-approved requests). |
c017836
to
0e7cb7f
Compare
Added a check to verify that the user does not have the |
There actually should be a cancel request button for series it's just not correctly implemented at the moment. Users who make a series request should be able to edit the request by unchecking the seasons they requested. If all seasons are unchecked (just like the admin edit interface) the button would become "Cancel Request." I suppose in this case, we should if anything allow admins to approve/decline requests from the view request modal. (Not in this PR) |
🎉 This PR is included in version 1.23.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Description
Edit
button in movie request modal, since users cannot edit their own requests (MANAGE_REQUESTS
permission is required to edit requests, and users with that permission also have auto-approve perms)Cancel Requests
button on request list to allow users to cancel their own requestsRecent Requests
slider empty string to reflect that it no longer only displays pending/processing requestsScreenshot (if UI-related)
To-Dos
yarn build
yarn i18n:extract
Issues Fixed or Closed
N/A