-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Testing: Notebook Rich Content Search for Editable Contents in Open Notebooks #174724
Comments
@andreamah all outlined items work, but: the replace on enter doesn't work -- is this intended? Just wanted to make sure before creating an issue. On the gif you can see how on enter, the found text isn't replaced when inside a notebook, but works in a text file. Screen.Recording.2023-02-21.at.14.08.17.mov |
Were you testing the find widget (CTRL+F)? This TPI is for the global search (CTRL+SHIFT+F). I just noticed that you were interacting mainly with the find widget in the screencap, which doesn't need to be tested here. |
Oh, I somehow tested only Replacing on |
Ah ok! I was just making sure that you were testing the right thing :) On search, I don't think we support something like replace on enter, since pressing enter when in the replace field will run the search. It should still work on the find widget, though (I think). You can file an issue for that. |
Refs #164926
Complexity: 4
Create Issue
Background
The goal of this issue is to test the part of #164926 that is in insiders. This should enable "rich content" search in open notebooks, meaning that, in open notebooks, search results should show actual results found in the notebook instead of raw results found in the text file. Currently, this only involves showing results for writeable content in notebooks (ie: cell inputs, markdown sources).
A simple example of this is that raw text could show
which would look like
in the notebook. With my current progress, you should see the first (raw) one when notebooks are closed and the second (processed) one when the notebook is opened and rendered. This is because it uses the notebook editor's find widget when the notebook is open to find search results.
Note that the search results when a notebook is open aren't going to show non-editable contents (cell outputs, markdown previews) yet.
Example GIF of behavior:
Set up:
"search.experimental.notebookSearch": true
in your settings.Testing:
a. Open a notebook with search results, either from the explorer or from the search results itself.
b. Perform a search and there are results in a currently opened notebook.
Replace
andReplace All
functionalities should work, in addition toDismiss
for the results.Thanks for testing! :)
The text was updated successfully, but these errors were encountered: