Danbooru

Feature request: Bottom-up tag deletion

Posted under Bugs & Features

The rules of the implication are such that adding a child tag automatically adds a parent tag.
However, this implication does not seem to apply when deleting a tag. Of course, there is a concern that deleting a child tag may also delete its parent tag, which may have a common meaning.

So I propose a feature like this.
I'd like to see a feature where when you delete a tag, if there are any parent tags of that tag, you can use something like a snackbar in javascript to see the parent tags and choose to delete them as well. This snackbar will disappear when you click outside or press [Esc]. Hmm, is that how it's supposed to work?
This happens when you backspace a tag in a post that has already been uploaded, and in order to detect this, we need to be able to see which tag the cursor is currently pointing at, if the word has been removed, and if it has a parent tag.

So here's an example of what We would use.
Removing pinafore_dress and sleeveless_dress

If we were deleting tags in bulk, we could think of an exception that would allow us to exclude the search for parent tags.

1