obsidian-another-quick-switcher icon indicating copy to clipboard operation
obsidian-another-quick-switcher copied to clipboard

[Feature Request] New Type of Priority -> Specific Tag Matches

Open FelipeRearden opened this issue 1 year ago â€ĸ 2 comments

Hello @tadashi-aikawa !!!!

ℹī¸ This FR is related to #19

This FR is about a new type of priority related to tags.

It's gonna be hard for to explain, let me know if something is not clear ...

In a nutshell: a new priority that lets the user define the order by tag names that are defined by the user itself in the text field

My Tag Structre

I use tags for everything in my vault. 95% of my notes has al least one tag

And I have a lot of Nested Tags

I gonna use a subset of of my tags to explain this FR with an example

#Source/Book #Source/Podcast #Source/Video #Source/Article

#Creator/Tim_Ferriss

#Status/NotDone

Real Example

I wanna create a Search that ...

RULE 🅰ī¸ get all notes from #Creator/Tim_Ferriss where status is #Status/NotDone

RULE 🅱ī¸ Sorted by this order: 1ī¸âƒŖ #Source/Podcast
2ī¸âƒŖ #Source/Book 3ī¸âƒŖ #Source/Video 4ī¸âƒŖ #Source/Article

This is my Setup

Default Input: #Creator/Tim_Ferriss #Status/NotDone

Command Prefix: empty

Sort Priorities: Tag match

Ignore prefix path patterns empty

This is What we Get

📸 Forgive for my poor Screenshot (I am not at my Devices, I create a simple example)

image

My FR

My FR is about sorting these 4 notes based on a secondary tag pattern defined by the user

A New Priority for tags where the user can type the order of secondary tags

Something like this:

Tag Match Pattern: tag1,tag2,tag3

From my example:

Tag Match Pattern: #Source/Podcast,#Source/Book,#Source/Video,#Source/Article


Thanks for reading this !!!!

Let me know if something is not clear :)

Have a great day!!!!!

FelipeRearden avatar Aug 13 '22 16:08 FelipeRearden

Thank you for your FR, @FelipeRearden :)

If I could implement it simply, I'll try it after the next release 👍

tadashi-aikawa avatar Aug 14 '22 13:08 tadashi-aikawa

Thank you for your FR, @FelipeRearden :)

If I could implement it simply, I'll try it after the next release 👍

Thank you very much @tadashi-aikawa for trying to implement this FR !!!!!

Let's hope its an easy one 🙏🙏🙏

FelipeRearden avatar Aug 14 '22 13:08 FelipeRearden

@FelipeRearden Released in 7.0.0-beta1 🚀

tadashi-aikawa avatar Sep 03 '22 10:09 tadashi-aikawa

Released in v7.0.0 🚀

tadashi-aikawa avatar Sep 24 '22 08:09 tadashi-aikawa