(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.