-
-
Notifications
You must be signed in to change notification settings - Fork 833
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Feature] Favourite Tags #4617
Comments
Related to #3313 |
You can do half of that right now. Just not in the tag select areas Just create a tag called Favourites and any favourite tag add this tag as a parent tag Then on the tags page just to see your favourites make a saved filter for Parent Tags > Include All > Favourites. To see the top level of Favourites. If they are nested subtags of the tags that have favorites as a parent. Use the option "Include sub tags) And filter for that in any other place you can too |
But agree a boolean filter would be nice |
I don't want all favourite tags at the same time, so that's not really valid. If you do want all your favourite tags added, then that would work, but it's not what I'm suggesting. |
The filter should be pretty easy, although I haven't looked at the code in quite a while so take that with a grain of salt. Theoretically, though, it should be something like this: tagsReordered = [...tags.filter(tag => tag.favourite), ...tags.filter(tag => !tag.favourite)] And then just use the new variable instead of the existing tags variable. Again, I haven't looked at the code in quite a while so treat that as more pseudocode than anything. If you mean the Favourite filter for the tags page, you can probably just do a one-for-one copy of the one used for performers. Anyhow, I appreciate you taking this up. EDIT: Looks like the code has been changed a lot since I've last seen it. It appears all filters like tags (performers, studios, etc) use the same code. That said, the above pseudocode should still work. |
ordering tags |
Ordering tags so that favourites appear first was one of key points in this request. I do agree that it makes sense to have it as a setting, probably opt-in. |
My mistake, I simply searched for Favorite tags and this came up and I skimmed it. I may be able to add that, but At the very least tag favoriting (the title lol) is coming at the very least. I will try and add it as a sort option, it probably shouldnt be default behaviour but I could see the use for it. |
A feature I'd love to see is the ability to favourite tags. On the tags page, this would behave the same as it does for performers with a boolean filter option to select only favourites or exclude them.
For items that can be tagged (scenes, performers, etc.), the tag filter should continue to be sorted alphabetically but with the favourited tags on top.
For example, if I had tags: A, B, C, D, E, and F. Normally the tag filter would order them as such, however, if I had favourited the C and E tags, the order would now be C, E, A, B, D, F. Alternatively, the favourited tags could appear in the list twice; at the top and then again in their normal position, so using the previous example: C, E, A, B, C, D, E, F.
This would allow for a step between default behaviour and saved filters, allowing for easier mix-and-matching of a user's favourite tags.
The text was updated successfully, but these errors were encountered: