-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display the first line of notes when searching #35
Comments
Unfortunately, this will be an unresolvable conflict with my personal use case for now because pressing modifier keys (e.g. option) can only display static text, not dynamic values. So the only way to implement this would be to replace the current tag display with the first line and, personally, I use tags. The first line of my own notes usually contains a header that would be of little use to me compared to tags. |
Thank you for your nice reply. If it was not complicated, could you tell me how to modify your workflow in order to display the first line instead tags? That would be great help for my work. Thank you! |
Sure thing, assuming you want to fork the repo and maintain your own copy. Unfortunately, it is pretty complicated depending on how much experience you have with SQL queries and Go. The hardest part is getting the first line of the notes. You'll need to modify the queries I've written here (the ones that contain Then you'll need to parse the returned Once you've done that, you would have to change these two lines of code to return the first line you parse instead of the tags like I am: I wish I had an easier answer for you. Unfortunately, I don't have time to invest into figuring out more detail than that especially since implementing this would negate my own most useful setup. |
Thanks a lot!! Although now it's hard for me to understand your instruction, it's really a pleasure to figure it out, code by myself and finally see it work through. Thank you again! |
Hi, this workflow is very useful and help me a lot! Thank you for your great job. In my work setting, it's more important to display the fist line of notes than display tags. I know little about coding. Could you help me and add this feature to your workflow? For example, press "option" to display the first line. Thank you very much!
The text was updated successfully, but these errors were encountered: