sct / overseerr

Request management and media discovery tool for the Plex ecosystem
https://overseerr.dev
MIT License
3.9k stars 449 forks source link

fix: allow blank issue descriptions #3915

Closed kirsch33 closed 3 months ago

kirsch33 commented 3 months ago

Description

This PR allows blank/empty issue descriptions to be submitted and removes the "*" required label on the modal form.

To-Dos

Issues Fixed or Closed

danshilm commented 3 months ago

More changes are required for this to be properly implemented; an issue comment is still created for the issue, just with an empty text. The endpoint to create issues needs to be modified to accept Issues without comments.

kirsch33 commented 3 months ago

I don't follow. In my testing this performs exactly as intended. As issue is created without any comments and with a blank description.

After peeking around the code base some I still don't see what else would need to be modified. Can you provide a bit more info as to what endpoint needs to be modified ?

sct commented 3 months ago

I do not want to encourage empty comments. I think they can spend a small amount of time writing in what the issue is.

kirsch33 commented 3 months ago

@sct in my case I have an external program that operates via webhooks and looks for subtitles issues. If found it initiates a sync.

Its much easier to explain to family/friends that they simply need to click the issue button and change the type to "subtitle" versus asking them to also describe that its out of sync (since that's the only possible subtitle related issue at least with my specific setup it is redundant). Kind of a niche situation, but that's what lead to this PR.

Anyways, if this doesn't jive with the vision for Overseerr, I understand.

sct commented 3 months ago

@sct in my case I have an external program that operates via webhooks and looks for subtitles issues. If found it initiates a sync.

Its much easier to explain to family/friends that they simply need to click the issue button and change the type to "subtitle" versus asking them to also describe that its out of sync (since that's the only possible subtitle related issue at least with my specific setup it is redundant). Kind of a niche situation, but that's what lead to this PR.

Anyways, if this doesn't jive with the vision for Overseerr, I understand.

That's a really cool use-case! I love the idea but unfortunately I would still like to avoid making this optional (For my own sanity, and probably many others). For now I think best to just let your users know they should just write in literally any text in the description field. Hopefully that's not too much of a bother.

kirsch33 commented 3 months ago

@sct not at all, I understand. Thank you for your time and for Overseerr itself.

Lockszmith-GH commented 3 months ago

Sorry to ressurrect this, but how about a default description when subtitle is selected?