Bulk Actions: "Add Tags" in addition to "Change Tags"

Today I made the rather sad discovery that the bulk “change tags” feature depicted below actually will set the tags for selected topics to be exactly the same as the tags entered, meaning it will remove any existing tags. Discovery is sad because I accidentally borked 20 or more topic tags because I misunderstood what was going to happen, and there’s no undo. :crying_cat_face:

A fix to this would be to add a new “Add Tags” option to the bulk actions, which would allow the bulk adding of tags to selected topics without removing any existing tags those topics might have. :heart_eyes_cat:

10 Likes

Ouch. We bulk manage tags all the time and will need to add tags without disturbing existing ones. Please add this.

3 Likes

Yes, please add this ASAP. We have just installed the tags plugin, and it is great!
But we need to do many searches, and ADD tags for each search, NOT replace tags.

Thanks.

3 Likes

Yes please. Surprise destructive actions are never a good thing.

2 Likes

So this has the pr-welcome tag, I’d love to see someone in the community take a stab at this, and possibly bulk tag removal as well!

1 Like

I’ve managed to create append button for tags and renamed the old ambiguous button one to “replace tags”. Here is the PR:

https://github.com/discourse/discourse/pull/4622

11 Likes

Thanks. That sounds great!

I’m not familiar with the process. Can this change be used now (if so, how?) or do we have to wait for it to be integrated with a new Discourse release?

You have to wait for it to be merged in. Once it is merged in tests-passed will pick it up within 15-20 minutes, beta will pick it up at the next release, and stable at its next release.

4 Likes

Superfab. Many thanks!

Thanks for the clarification.
I hope this new feature makes it into release version very soon.

2 Likes

Just letting you know that the feature is finally in the beta release.

6 Likes