Skip to content

Comments

[tagCopyPaste] Refactor to use PluginApi.patch.#672

Merged
DogmaDragon merged 1 commit intostashapp:mainfrom
WeedLordVegeta420:tagCopyPaste-PatchRefactor
Feb 19, 2026
Merged

[tagCopyPaste] Refactor to use PluginApi.patch.#672
DogmaDragon merged 1 commit intostashapp:mainfrom
WeedLordVegeta420:tagCopyPaste-PatchRefactor

Conversation

@WeedLordVegeta420
Copy link
Contributor

This is a significant refactor to use the PluginApi.patch functionality to directly add the copy/paste functionality to the TagSelect React component.

This has a few benefits:

  • The copy/paste functionality is universally applied to all instances of the TagSelect dropdown including in marker editing and modal dialog boxes.
  • Pasted tags are inserted into the TagSelect control itself rather than being directly saved through a GraphQL call. Users will now have to click the Save button for changes to be applied. This should be more in line with how a user expects copying/pasting to work.
  • Since it is now easier for a user to verify tags were pasted correctly before saving, the confirmation dialog is less necessary. The confirmation dialog (if enabled in plugin settings) is now only displayed if new tags are going to being created.

@discourse-stashapp
Copy link

This pull request has been mentioned on Stash Forum. There might be relevant details there:

https://discourse.stashapp.cc/t/tagcopypaste/1858/13

@DogmaDragon DogmaDragon added the type:plugin Plugins label Feb 19, 2026
@DogmaDragon DogmaDragon merged commit 0587f0d into stashapp:main Feb 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants