nothingislost / obsidian-query-control

An experimental Obsidian plugin that adds controls to embedded queries
MIT License
278 stars 16 forks source link

Compatibility with the better search view plugin #46

Open LYTWilson opened 6 months ago

LYTWilson commented 6 months ago

This plugin really brings the query up to another level, however, it has some compatibility issues with another very useful plugin better search view. This plugin shows the headings and hierarchy structures of a line. For example, in a note a line with "apple" has a header and a parent bullet point, in this plugin, it will show it as well, in the search view, backlinks, and also query view.

This is ok when the "show more content" in query control is turned on, it will show all the things the better search view shows. When I toggle the show more content off, it returns to the original showcase, which is optimal. However, when I toggled it back on, it did not show the headers and parent content of the line, making the better search view disabled, after reloading the page, the problem goes away until the next toggle on and off.

Here is a video included.

https://github.com/nothingislost/obsidian-query-control/assets/122441973/3f7f24ad-1df2-4209-8aaf-e9f38032331f

Optimally, the query would work so when it "shows more content", it will show the better search view, when it "shows less content", returns to the original view.

The plugin is great work! And it still can be worked with easily, just hoped both very powerful plugins could work together!