Feature Requests: Exit Search and Return to the Selected Text

(I have achieved this feature using JS; if WF team needs it, I can provide the video clip to explain it.)

Feature Requests:
Place your cursor or select text in a WorkFlowy search result. After exiting search in the current pane, the screen will return to your cursor position or selection position.

The Problem

  • Search is a convenient way to find something in a long outline. However, exiting search can return the view to the top of the current pane instead of keeping the user near the result they found.

  • This interrupts the workflow: the user has already located the relevant text, but must find it again in the full outline. This is especially difficult when the result is far down the page, inside collapsed ancestors, or outside the currently rendered area. (And I need the context so I cannot simply zoom into the nodes)

  • Proposed Workflow

    • Search for a keyword.
    • Select any text in a search result.
    • Invoke “Exit Search and Reveal Selection,” ideally through a keyboard shortcut or command.
    • WorkFlowy:
      • Clears the search in the current pane.
      • Reveals the node containing the selected text.
      • Expands any collapsed ancestors necessary to display it.
      • Scrolls to the selected text, preferably preserving its previous vertical position in the viewport.
      • Restores the original text selection so the user can immediately copy, edit, or continue working.
  • Why This Matters

    • This would make search a bridge back into the outline, not a separate view that loses the user’s place.
    • A typical use case is finding a sentence deep inside a large document, then returning to its full context to edit it. One action should let the user move from “I found it” to “I’m working on it,” without losing either the location or the selection.
3 Likes

Strongly support this request. One of the only long-persisting pain points of WF.

1 Like

I may not be fully getting it, but I tend to use the jump menu for this sort of thing. I enter the search, hopefully get a limited number of results, then select the one I want.

I can then either breadcrumb up or expand down as the case may be. Leaves me with one family tree in the pane to navigate. :man_shrugging:

A more realistic scenario is that I want to memorize vocabulary from the word list. For example, if a word list has 200 words in the A list, then sometimes I want to search for something. After I search for something, the whole screen will jump back to the beginning. But with this feature, you will go back to what you were remembering in the word list. @calsi

Feature Requests:
Place your cursor or select text in a WorkFlowy search result. After exiting search in the current pane, the screen will return to your cursor position or selection position.

Yes, hopefully; that’s the key! And I agree that the jump menu usually works as desired.

The problem is when the search term is common, not just on the current page; then the jump menu is only useful if one adds in nested search, and then of course multi-word searches do not work.

1 Like

@tschenyinkoh Different use case for sure. I tend to be doing specific targeting with this method.

@jodmarch Yeah, typically I don’t use jump if it is a more generic search term. Search and refine for those.