Method For Auto-Expanding Search Results

By default, searching for tags or text will only show the bullet point where it was written and its parent points. However, in the use case scenario of placing tags in the headers of text, rather than in the body itself, it becomes much more difficult to view the contents of more than a handful of search results.

As an example, searching currently produces results like this:

But it seems that results like this:


would be more useful and less tedious for large searches.

7 Likes

One more way to implement this is to implement “Expand All” shortcut key when searching, since I believe this is a power user feature anyways.

Here’s how it would work:

  1. User types or selects a tag
  2. Search results show up with highlights on each item:
  3. User presses ⌘⇧. while the cursor is still in search field
  4. All items that have highlighted text will expand in the search results.
  5. User presses ⌘⇧. while the cursor is still in search field
  6. All items that have highlighted text will collapse in the search results.

In the future, if there’s plenty of users doing this action, it could be promoted into a button beside the X?

Yes this would be useful to see children. I like the idea of having it expandable or collapsible.

Chris

I’d like to add my vote to this feature request!

The recently-added parent search term can perform this kind of auto-expanding without buttons. In Chris’s example above, you could search for parent:#TODO and it should show you all children of items tagged #TODO.

2 Likes

Clunky solution. In part because the “parent:” operator means that tag auto-completion is no longer available. Tag auto-completion in the search bar is something I find essential.

Thx!
dgg

1 Like

Use a space after entering the parent: or ancestor: element in the search bar, then when you begin typing a tag autocomplete is affective. Is this what you are referring to?