sballin / alfred-search-notes-app

Use Alfred to quickly open notes in iCloud/Apple Notes.
https://www.alfredforum.com/topic/11716-search-appleicloud-notes/
MIT License
502 stars 23 forks source link

Utilize "tags" notes feature of Mac OS Monterey #52

Closed deiveehan closed 2 years ago

deiveehan commented 2 years ago

Is your feature request related to a problem? Please describe. Now that Monterey is released, wanted to check if the workflow can be modified to utilize new features of Monterey (i.e., tags).

Describe the solution you'd like This workflow must accept the "tag name" as the input, Alfred should then display all the other tags under this tag, which can be used to narrow down to the document right from the Alfred search bar.

Example. If I have 100 notes with the tags

  1. kubernetes #setup #howto

  2. kubernetes #reference #kubectl

  3. kubernetes #istio #overview

  4. kubernetes #core #overview

  5. Java #setup #howto

Then the workflow can accept the input - if the user types "Kubernetes", then the user can further drill down from the list of items in Alfred (i.e., setup, howto, overview, Istio, core, Kubectl).

if the user types "overview" after "kubernetes" (i.e., kubernetes overview), then the Alfred search bar can display "Istio and core" as options.

This will be very useful to narrow down to the document right from the search bar.

Describe alternatives you've considered

Additional context

sballin commented 2 years ago

Isn't this pretty much taken care of by the "nt" keyword? I understand it might be faster to choose each tag from a list that gets narrowed down in Alfred, but I'm not sure what should happen at the end of this process. I don't think it's possible to tell the Notes app with applescript to show only notes with a given set of hashtags, as you can do by hand in the sidebar...