Skip to content

Feat: No id in tag when tagging requester#2282

Open
nodiaque wants to merge 3 commits intoseerr-team:developfrom
nodiaque:no_id_autotag_option
Open

Feat: No id in tag when tagging requester#2282
nodiaque wants to merge 3 commits intoseerr-team:developfrom
nodiaque:no_id_autotag_option

Conversation

@nodiaque
Copy link

@nodiaque nodiaque commented Jan 9, 2026

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)

image

Checklist:

  • [ x] I have read and followed the contribution guidelines.
  • [ x] Disclosed any use of AI (see our policy)
  • [ x] I have updated the documentation accordingly.
  • [ x] All new and existing tests passed.
  • [ x] Successful build pnpm build
  • [ x] Translation keys pnpm i18n:extract (must I commit after running this?)
  • [ x] Database migration (if required) (not required)

@nodiaque nodiaque requested a review from a team as a code owner January 9, 2026 23:20
@nodiaque nodiaque changed the title No id autotag option Feat: No id in tag when tagging requester Jan 10, 2026
@gauthier-th
Copy link
Member

gauthier-th commented Jan 12, 2026

As said in #727, I would much prefer a feature to choose between

  • none
  • userId
  • userId - username
  • username

Instead of just a checkbox to remove the userId.

@nodiaque
Copy link
Author

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.

@fallenbagel
Copy link
Collaborator

fallenbagel commented Jan 12, 2026

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

@nodiaque
Copy link
Author

nodiaque commented Jan 12, 2026

I'll be OK with it but there's 2 thing to keep in mind.

  1. Make it backward compatible
  2. I don't know how to make dropdown, I'll have to check other dropdown in that list to see how to do it. I'll check later this week how to change for that.

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 ;)

@fallenbagel
Copy link
Collaborator

I'll be OK with it but there's 2 thing to keep in mind.

  1. Make it backward compatible
  2. I don't know how to make dropdown, I'll have to check other dropdown in that list to see how to do it. I'll check later this week how to change for that.

It will be backward compatible. By default you keep it how it is. Only allow users to change it.
For dropdown you can take a look at the dropdown component we have.

@fallenbagel
Copy link
Collaborator

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 ;)

Quick release is not our policy. We strive for stability and reliability rather than "as long as it works" ;)

@nodiaque
Copy link
Author

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 ;)

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.

@nodiaque
Copy link
Author

nodiaque commented Jan 12, 2026

I'll be OK with it but there's 2 thing to keep in mind.

  1. Make it backward compatible
  2. I don't know how to make dropdown, I'll have to check other dropdown in that list to see how to do it. I'll check later this week how to change for that.

It will be backward compatible. By default you keep it how it is. Only allow users to change it. For dropdown you can take a look at the dropdown component we have.

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.

@fallenbagel
Copy link
Collaborator

I'll be OK with it but there's 2 thing to keep in mind.

  1. Make it backward compatible
  2. I don't know how to make dropdown, I'll have to check other dropdown in that list to see how to do it. I'll check later this week how to change for that.

It will be backward compatible. By default you keep it how it is. Only allow users to change it. For dropdown you can take a look at the dropdown component we have.

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.

@nodiaque
Copy link
Author

nodiaque commented Jan 12, 2026

Yeah I guess you mean these?

image

This is a bit what I had in mind, which would make this (forget the value it's just a paint edit):
image

The problem I see here. The current code check the value of the checkbox is true or false. Now, it's a dropdown with value "none, userid-username,....". There's no way to translate that from current checkbox value.

Because of that, I'm forced to do something like this:
image

Or on 2 lines.

Unless there's a way I don't see right now to not lose the current config when removing the checkbox, I don't know all of the project code so maybe I'm missing a service helper or something.

@fallenbagel
Copy link
Collaborator

Yeah I guess you mean these?

image

This is a bit what I had in mind, which would make this (forget the value it's just a paint edit):
image

The problem I see here. The current code check the value of the checkbox is true or false. Now, it's a dropdown with value "none, userid-username,....". There's no way to translate that from current checkbox value.

Because of that, I'm forced to do something like this:
image

Or on 2 lines.

Unless there's a way I don't see right now to not lose the current config when removing the checkbox, I don't know all of the project code so maybe I'm missing a service helper or something.

No. None of that. I am talking about how there is a parent and a child. Look at the perms. You see how one tick enables the other fields. Like that have the selection as a SEPARATE field.

@nodiaque
Copy link
Author

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
@nodiaque nodiaque force-pushed the no_id_autotag_option branch from d3a9b5b to 91dae5c Compare January 12, 2026 20:48
@nodiaque
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Per user tag added to sonarr & radarr includes user id number

3 participants