memo icon indicating copy to clipboard operation
memo copied to clipboard

Completion Sort Order: Frequency/Recency

Open kevinjalbert opened this issue 1 year ago • 0 comments

The sort order of the auto-completion appears to be alphabetical. Would it be possible to do it based on frequency of the URI/link, or recency of the files?

My reasoning is that an infrequently used link might always be 'top' pick even though it isn't referenced often. I'm personally seeing this with using people's names as links, based on the size of the knowledge base there are names that aren't currently relevant but show up before the name I want to use (which is used more frequently/recently).

I didn't spend too much time looking into it, but It seems like memo pulls together all the links in a cache on boot. Would it be possible to have this cache also store alongside it the number of 'occurrences' and/or the most recent timestamp of the file it was used in, and that could be used to influence the sort order?

kevinjalbert avatar Jun 28 '23 15:06 kevinjalbert