hydrusnetwork / hydrus

A personal booru-style media tagger that can import files and tags from your hard drive and popular websites. Content can be shared with other users via user-run servers.
http://hydrusnetwork.github.io/hydrus/
Other
2.4k stars 158 forks source link

Custom variant of the archive/delete filter #262

Open Zweibach opened 4 years ago

Zweibach commented 4 years ago

A customisable version of the archive/delete filter for whatever purpose one could think to use it for.

My personal usecase would be to add or remove tags from files as I filter through them, with additional rules and shortcuts being able to be set before you start or as you go.

As I didn't make it clear I intended it for ratings as well: From #322 the system should also be able to handle rules for ratings.

The system should be able to save custom filters much like favourite search queries and ship with a few defaults.

Example

Say I have a couple hundred images tagged takao (kantai collection), due to old siblings quite a few of those are likely to be wrong. So I set left-click to mean "Yes, this tag is correct. Add if explicitly missing." while right-click means "No, this tag is wrong. Delete it and all siblings. Delete parents unless another, present tag, also has those parents." and maybe a third button to mean "No, this tag is wrong. Delete it and all siblings. Delete all parents and all other children of those parents."

Assign like/dislike ratings, numerical ratings, several at once.

@PurpleAzurite's usecase:

My use for this feature: quick like/dislike tagging. Left click would tag 'liked' and right click would tag 'disliked'

ShadowJonathan commented 4 years ago

Maybe a simple A/B feature could be added, where the "filter" is just simply "either do action A or do action B", where B could be a noop (doing nothing), and A could be something very specific (add these 3 tags, remove 1 tag if present)

Zweibach commented 4 years ago

"Do nothing" is already a function in the archive/delete filter, default is up-arrow and something else I think. Similarily backspace is "shit, I messed up, go back and undo".

vickyorlo commented 4 years ago

Sort of related to the second point of issue #154.

PurpleAzurite commented 4 years ago

My use for this feature: quick like/dislike tagging. Left click would tag 'liked' and right click would tag 'disliked'

bbappserver commented 4 years ago

I would especially like this for adding and removing tag sets. But maybe that's not so much a custom 'archive/delete' filter as it is a general purpose custom flipbook filter.

Related https://github.com/hydrusnetwork/hydrus/issues/273

Zweibach commented 4 years ago

If both features got implemented I don't see any reason why they wouldn't work together.

CuddleBear92 commented 12 months ago

Was thinking about a tag filter option a bit today. My thoughts where that you make set tagging setups for specific content, for example a creator with original characters and specific content.

Then you have it set a required tag which in this example would be the creators tag and also list a set of tags you want to add too that creator like characters or specific tags. Then all you do is track and flag what files you have and have not run through said filter much like how the dupe filter is aware if its unmatched or whatever.

For example I could have a it setup for one single character or a handful of characters/tags. If its one single tag like a character then it would work with left clicks and right clicks like the archive filter, left click to add the picked tag or right click to flag it as not applicable. If there is a list of tags or ratings set for the specific filter then it will be given its own window to overlay the filter itself. similar to the new tab window with large square buttons? or a list like the favourite tags... specific to the filter set obviously. Hmmm, if you where to select multiple tags/ratings in that window i guess it would work as a checkbox? Enter to confirm and space to skip? (random example)