obsidian-custom-sort icon indicating copy to clipboard operation
obsidian-custom-sort copied to clipboard

[On hold] Custom sort for search results

Open xq114 opened this issue 1 year ago • 1 comments

This is a really nice plugin! However, it can only sort in file explorer now. Will it be hard to support custom sort in search results as well? (Now obsidian only supports sorting by file name/modified time/created time) Thanks!

xq114 avatar Nov 12 '24 13:11 xq114

Hi @xq114

it looks like an excellent idea to also custom-sort the search results!

I didn't examine this area in details. At glance the main challenge is the plugin integration point. I believe there is no explicit plugin integration point exposed for sorting of search results. That means a developer would need to examine Obsidian internals (reverse engineering of internal code). And then, regardless of how the sorting is integrated, it will be error prone because of breaking changes introduced by Obsidian team regularly. In other words a high maintenance cost for the plugin, probably requiring frequent updates with each Obsidian major release and its breaking changes

I'm discouraged by my experience with custom-sort plugin - even now I'm struggling with fixing the problems resulting from breaking changes of Obsidian 1.7.2. That's the main reason why I'm putting this feature request on hold with future enhancement label.

SebastianMC avatar Nov 14 '24 10:11 SebastianMC