hydrus icon indicating copy to clipboard operation
hydrus copied to clipboard

Custom variant of the archive/delete filter

Open Zweibach opened this issue 4 years ago • 7 comments

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'

Zweibach avatar Jun 17 '20 16:06 Zweibach

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)

ShadowJonathan avatar Jun 17 '20 17:06 ShadowJonathan

"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".

Zweibach avatar Jun 17 '20 17:06 Zweibach

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

vickyorlo avatar Jun 26 '20 14:06 vickyorlo

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

PurpleAzurite avatar Jul 03 '20 07:07 PurpleAzurite

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

bbappserver avatar Jul 14 '20 13:07 bbappserver

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

Zweibach avatar Aug 10 '20 15:08 Zweibach

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)

CuddleBear92 avatar Nov 28 '23 16:11 CuddleBear92