stash icon indicating copy to clipboard operation
stash copied to clipboard

Feature Request: Add StashIDs Manually in UI for all Objects

Open Gykes opened this issue 1 month ago • 7 comments

Describe the feature you'd like

With the addition of StashID support for tags it looks like it may be time to finally add the ability to manually add or search for StashIDs to the various objects that support them (Scenes, Performers, Studios, Tags).

Describe the benefits this would bring to existing users

Better matching?

Is there an existing way to achieve this goal?

Via plugins but you have to manually find the ID on your respective Stashbox and add it manually.

Have you searched for an existing open/closed issue?

  • [x] I have searched for existing issues and none cover the core request of my proposal

Additional context

From WithoutPants: "I figure an add button dropdown to select the stash-box instance, then opens a dialog to search for the object via name or stash id"

I pretty much agree with that implantation. Something much simpler like how the current StashID Input plugin works would be good as well for just straight up manual entry but it's already a plugin so might not want to spend the time moving that to core.

Gykes avatar Nov 13 '25 04:11 Gykes

So my thought on this are as such:

  1. User clicks Add/IDs or some variation button with a dropdown showing available stash-box instances
  2. Selects which stash-box instance to search
  3. Opens a search dialog where they can search by: - Name (e.g., "Brazzers" for a studio) - Stash ID (direct lookup)
  4. Shows search results from that stash-box
  5. User selects the correct match
  6. Adds that stash ID to the local object

I feel like this would essentially just be tagger but one Studio/Scene/Performer/Tag at a time.

If we dont want to get that complex we can essentially move this plugin to core. https://docs.stashapp.cc/plugins/list/#stash-stashid-input

This would allow users to add tags manually but it would not give them the search option.

Gykes avatar Nov 13 '25 04:11 Gykes

I'd prefer not to allow users to easily add potentially invalid stash-ids in the core UI. Using a search modal is a little more complex, but I think it's the nicer way to go.

Implementation considerations:

  • reuse the search modal components as much as possible

WithoutPants avatar Nov 13 '25 08:11 WithoutPants

Understood, i'll look into implementing it.

Gykes avatar Nov 13 '25 16:11 Gykes

So, had a short think about this and I think the overall look should match how the plugin works but instead of just adding the stash ID it would search. I added a very cheap and nasty paint product of what I think it could look like.

Left box: Dropdown for Stashbox selection Middle box: Enter Stash ID or name Right box: Search.

The right box will open the modal and do an initial search for whatever is in the box. The user can then select the correct result or retry with another search.

UI Sketch:

Image

Gykes avatar Nov 17 '25 01:11 Gykes

Since input fields are generally only available from Edit page, I think the same should apply to adding StashID. I'm used to the plugin, so the proposed UI makes sense to me otherwise.

DogmaDragon avatar Nov 17 '25 01:11 DogmaDragon

Inside the edit page makes sense and I can agree with that.

Gykes avatar Nov 17 '25 01:11 Gykes

So, I changed it up a little bit.

Currently, the button will only appear if you have a stashbox assigned in your metadata library. You can use the dropdown to search via various stashbox instances. You can search via name or stashid. Similar to other modals you would select the correct option and then save it. Currently this is only functioning on performers till the UI can be decided on. Once it is then it can be transitioned to the other areas relatively simply.

Please let me know any feedback and I can add it in.

Edit Page:

Image

Edit Page with Stash ID:

Image

Search Modal:

Image

Name Search:

Image

StashID Search:

Image

Gykes avatar Nov 17 '25 04:11 Gykes