Feat: No id in tag when tagging requester#2282
Feat: No id in tag when tagging requester#2282nodiaque wants to merge 3 commits intoseerr-team:developfrom
Conversation
|
As said in #727, I would much prefer a feature to choose between
Instead of just a checkbox to remove the userId. |
|
I understand but it's a step. The main issue is the fact that user migrating from ombi have 2 set of tag. This is a first step in the right direction. Implementing drop down with multiple choice is doable but require more code. This at least provide a solution for the issue. |
Better to implement it in this pr since its within scope. Shouldn't be too complex. Just need to add a dropdown and some conditions on when creating tags |
|
I'll be OK with it but there's 2 thing to keep in mind.
edit: With my new understanding of the project, I understand the "take the time to do it" since the release isn't for right now. I was making this quick change to fix and have a step, I'm used to quick release cadence ;) |
It will be backward compatible. By default you keep it how it is. Only allow users to change it. |
Quick release is not our policy. We strive for stability and reliability rather than "as long as it works" ;) |
No problem. It was in fact to fix the main issue I did it like that. It was stable and functionnal. I'll check the other dropdown like you said to learn on it and push a new update. |
The issue I was seeing is I was removing the checkbox from "tag requested" and put a dropdown with all the option including none (thus removing the new entry I just put). I could do simply like I did right now with a dropdown as another option (instead of the new checkbox I added). I just didn't find how to make the dropdown enabled/disabled based on the checkbox. |
Never said to remove that option. That option should be kept with a child option that gets enabled when selected. Look at the settings > users page to understand what I mean. |
|
Got ya. I'll check the code on that. Thanks |
…r to tag without ID The current feature allow to add a custom tag "userid-username" upon request to either radarr ou sonarr. With this new feature, when Tag Request is enabled and this option is also enable, the tag will only be "username" instead of "userid-username" seerr-team#727
d3a9b5b to
91dae5c
Compare
|
I'm trying to understand how to do a dropdown box. It seems all dropdown box in the project use a different way and is overly complicated. I guess that's what happen when you aren't a UI dev, specially not web base |



Description
Added a new checkbox in the Radarr and Sonarr option under the Tag Request to allow the creation of tag without an id.
Request made in the community
How Has This Been Tested?
Per the guide, ran in pnpm dev on ubuntu, connected to my running emby + sonarr + radarr, created a request in both and saw the new request with the proper tag.
ubuntu LXC running under Unraid. Docker running Emby, Sonarr and Radarr. I ran under my Ubuntu machine using the guide with pnpm dev from scratch, added the services for both radarr and sonarr, made request in both and saw the tag added.
Not the best code under MediaRequestSubscriber.ts but it work. Could be optimize.
Screenshots / Logs (if applicable)
Checklist:
pnpm buildpnpm i18n:extract(must I commit after running this?)