tadashi-aikawa / obsidian-another-quick-switcher

This is an Obsidian plugin which is another choice of Quick switcher.
MIT License
242 stars 16 forks source link

[Feature Request] Default Input: New Operator for `OR` criteria for Candidates #194

Open FelipeRearden opened 1 year ago

FelipeRearden commented 1 year ago

Hello @tadashi-aikawa !!!!

MY FR is about a new type of Default input for filter files showed in a AQS Modal.

In a nutshell is a variation of what we have explained here in the README

A minus sign at the beginning excludes the matched candidates

MY WORFLOW

Let me explain my FR with simple example...

In a specific Folder I have these Notes:

NoteA with tags: [Status/𖨠,WC/1200]NoteB with tags: [Status/𖨠]NoteC with tags: [WC/1200]

Based on the way that I build my Default Input I can create these types of AQS Modals:

1️⃣ Default Input: #Status/𖨠 #WC/ will return NoteA

📸 Explanation: bring all notes that contains #Status/𖨠 AND #WC/ 2641909A-6D59-4039-9350-EF26A0E9E958

2️⃣ Default Input: #Status/𖨠 -#WC/ will return NoteB

📸 Explanation: bring all notes that contains #Status/𖨠 MINUS notes that contains #WC/ C2ED34C0-EF9D-4715-87C3-FD9B2F4A1448

MY FR

Following my example: How to I created a Default input that returns NoteA and NoteB ???

In other words: ... a new operator for Default Input that bring all notes that contains #Status/𖨠 OR notes that contains #Status/𖨠 #WC/

Why Do I need this Feature

Today, I have two different AQS Modals to filter my candidates the way that I need.

I would like to have these two types of candidates in a single AQS Modal since they are all new notes that I need to choose when I am going to a start to study.

🅰️ Notes with #Status/𖨠 -#WC/ are new notes that I didn't look at

🅱️ Notes with #Status/𖨠 #WC/ are new notes as well but these notes I already give a first-look and add a #WC/ tag with the word count (I have a templater script that counts that words in the active note and add a new tag to the YAML)

When deciding which New Note I am going to process by using the AQS Modal, I would like to have all of them in a single AQS Modal :)


Thanks for reading this !!!!! I hope you like my suggestion 🙏 🙏 🙏

Let me know if you need more information !!! I tried my best to explain this FR in my own words :)

Have a great day ☀️

tadashi-aikawa commented 1 year ago

Thank you for your FR, @FelipeRearden :)

I’m unsure if it’s possible, but I’ll consider it👍

FelipeRearden commented 1 year ago

I’m unsure if it’s possible, but I’ll consider it👍

Thank you very much for trying @tadashi-aikawa !!!

100% agree. I am unsure if is it possible as well, let see 🙏

Have a great day ☀️