Closed austinberke closed 4 months ago
I wonder, is this necessary? For example, if I search for nick
and get the wrong one, I'll usually type in a last name. Do you have a scenario in mind for where my approach wouldn't be as natural a response?
It's not super high priority, but my issue with it is a matter of defined behavior: it seems nodes.find()
will return an arbitrary match which doesn't seem like the best practice for a search function.
Fair point. Maybe after we change the internals to return multiple search results, we could score and order the results. Currently, sometimes the returned result isn't the best one (e.g., "jose" points to "Joseph Dominguez).
Problem:
nodes.find()
Proposed solution:
nodes.filter()
Next
button or hit Enter to cycle through all results