From db4eabea8148f002783c43792931137c7ec31375 Mon Sep 17 00:00:00 2001 From: Gykes <24581046+Gykes@users.noreply.github.com> Date: Sun, 3 May 2026 15:32:28 -0700 Subject: [PATCH] New: Allow Description and Alias on Tag Creation in Scene Tagger (#6872) --- pkg/stashbox/scene.go | 6 +----- ui/v2.5/src/components/Tagger/scenes/StashSearchResult.tsx | 6 +++++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/stashbox/scene.go b/pkg/stashbox/scene.go index 64c4defa2..9ba4d1a22 100644 --- a/pkg/stashbox/scene.go +++ b/pkg/stashbox/scene.go @@ -204,11 +204,7 @@ func (c Client) sceneFragmentToScrapedScene(ctx context.Context, s *graphql.Scen } for _, t := range s.Tags { - st := &models.ScrapedTag{ - Name: t.Name, - RemoteSiteID: &t.ID, - } - ss.Tags = append(ss.Tags, st) + ss.Tags = append(ss.Tags, tagFragmentToScrapedTag(*t)) } return ss, nil diff --git a/ui/v2.5/src/components/Tagger/scenes/StashSearchResult.tsx b/ui/v2.5/src/components/Tagger/scenes/StashSearchResult.tsx index add295c49..eb48c8aa6 100755 --- a/ui/v2.5/src/components/Tagger/scenes/StashSearchResult.tsx +++ b/ui/v2.5/src/components/Tagger/scenes/StashSearchResult.tsx @@ -434,7 +434,11 @@ const StashSearchResult: React.FC = ({ t: GQL.ScrapedTag, createInput?: GQL.TagCreateInput ) { - const toCreate: GQL.TagCreateInput = createInput ?? { name: t.name }; + const toCreate: GQL.TagCreateInput = createInput ?? { + name: t.name, + description: t.description ?? undefined, + aliases: t.alias_list?.filter((a) => a) ?? undefined, + }; // If the tag has a remote_site_id and we have an endpoint, include the stash_id const endpoint = currentSource?.sourceInput.stash_box_endpoint;