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

Feature request: Allow filtering / searching of results #10

Open
danrthompson opened this issue Oct 5, 2022 · 1 comment
Open

Feature request: Allow filtering / searching of results #10

danrthompson opened this issue Oct 5, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@danrthompson
Copy link

danrthompson commented Oct 5, 2022

It would be awesome to have a way to search or filter through the results (inline or in the sidebar - either or both would be awesome). The ideal solution would look like the backlinks pane search interface.

There are some complexities when it comes to figuring out what to search through (just the text on the link's line? The whole block? The whole file?). I think any solution though would be a big step forward.

If I had the ideal solution though, I'd love to be able to filter by, in order of priority:

  1. Text on the link's line
  2. File path
  3. Tags in the file (we would already be able to do the link's line's tags by just searching the text)
  4. Maybe text of the file, but I think that would get too crowded

This is really just a nice to have, but I thought I'd throw it on the backlog!

@TfTHacker TfTHacker added the enhancement New feature or request label Oct 6, 2022
@mbentley
Copy link

I also find myself wanting to search through the SNW pane. One of the limitations of the search utility in the native Backlinks plugin is the lacking of search within a block. It returns all references within a file where there is a match so it returns results that are not in context of the search string.

So like if this was my note:

## 2023-12-30
* [[Acme]]
  * Foo
* [[Buy n Large]]
  * Foo

## 2023-12-29
* [[Acme]]
  * Bar
* [[Buy n Large]]
  * Bar

And I searched when looking at the backlinks for [[Acme]] for "Foo", I would ideally like to see the results filtered to:

## 2023-12-30
* [[Acme]]
  * Foo

As right now, the native Backlinks would only return:

* [[Acme]]
  * Foo

* [[Acme]]
  * Bar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants