Skip to content
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

Custom sort for search results #176

Open
xq114 opened this issue Nov 12, 2024 · 1 comment
Open

Custom sort for search results #176

xq114 opened this issue Nov 12, 2024 · 1 comment
Labels
future enhancement on hold Paused - will be resumed or cancelled.

Comments

@xq114
Copy link

xq114 commented Nov 12, 2024

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!

@SebastianMC
Copy link
Owner

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 SebastianMC added on hold Paused - will be resumed or cancelled. future enhancement labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future enhancement on hold Paused - will be resumed or cancelled.
Projects
None yet
Development

No branches or pull requests

2 participants