notaapp / talk

Issues and discussions for the notes app, Nota.
https://nota.md
59 stars 1 forks source link

Strange search behavior #232

Closed borekb closed 1 year ago

borekb commented 2 years ago

I've got a .md note that contains this:

# GitHub tips

_Search terms: PM, project management, tips, tricks, hacks, GitHub, projects._

... etc. etc. ...

In the following video, I do this:

  1. Press Cmd-P
  2. Type "github tricks" → doesn't find good results 🚫
  3. Delete the last "s" (the search string is now "github trick") → finds a good result ✅
  4. Type "s" again (the search string is now "github tricks") → keeps showing the good result ✅

As if the speed at which I typed mattered or something.

https://user-images.githubusercontent.com/101152/170492673-f62e1926-f0da-4f07-b30d-39c2b87b21fa.mov

astoilkov commented 2 years ago

As if the speed at which I typed mattered or something.

If you type the query slowly, does the search term appear?

borekb commented 2 years ago

No, that theory was wrong.

Here's a much slower video, hopefully it gives you some hints:

https://user-images.githubusercontent.com/101152/170650398-25f4be16-936c-4405-a23b-1dc99725a155.mov

astoilkov commented 1 year ago

This is fixed in the latest release.

Closing this issue.