add screenshots + updates based on reviews
This commit is contained in:
@@ -35,27 +35,42 @@ For more information about the search syntax of the new code search (beta), see
|
||||
1. In the top navigation of {% data variables.product.prodname_dotcom_the_website %}, click the search bar.
|
||||
1. Under the search bar, you will see a list of suggestions organized by category, including recent searches and suggested repositories, teams, and projects that you have access to. You can also see a list of saved searches that you have created. For more information on saved searches, see "[Creating and managing saved searches](#creating-and-managing-saved-searches)."
|
||||
|
||||

|
||||
|
||||
If you click on any of the specific suggestions, you will be taken directly to the page for that suggestion (for example, the repository or project page). If you click on a recent or saved search, you will be taken to the search results view for that search query.
|
||||
|
||||
1. Once you start typing a search query, you will see a list of completions and suggestions that match your query. You can click on a suggestion to jump to a specific location. As you type more qualifiers, you will see more specific suggestions, such as code files you can jump to directly.
|
||||
1. After typing your query, you can also hit Enter to be taken to the full search results view. For more information, see "[Using the search results view](#using-the-search-results-view)."
|
||||
|
||||

|
||||
|
||||
1. After typing your query, you can also press Enter to go to the full search results view, where you can see each match and a visual interface for applying filters. For more information, see "[Using the search results view](#using-the-search-results-view)."
|
||||
|
||||
## Creating and managing saved searches
|
||||
|
||||
1. In the top navigation of {% data variables.product.prodname_dotcom_the_website %}, click the search bar and start typing a search query (or any letter).
|
||||
2. Under the search bar, the "Saved searches" section should now appear. Click **Create saved search**.
|
||||
3. In the pop-up window, fill out the name you want for your query and the query that you want to save. Click **Create saved search**.
|
||||
1. Under the search bar, the "Saved searches" section should now appear. Click {% octicon "plus-circle" aria-label="The plus-circle icon" %} **Create saved search**.
|
||||
|
||||
If you click again on the search bar, you can now see your saved search in the "Saved searches" section under the search bar. Clicking on a saved search entry will add the query to the search bar and filter the suggestions accordingly.
|
||||
- To edit a saved search, in the "Saved searches" section, click {% octicon "pencil" aria-label="The pencil icon" %} to the right of the saved search.
|
||||
- To delete a saved search, click {% octicon "trash" aria-label="The trash icon" %} to the right of the saved search.
|
||||

|
||||
|
||||
1. In the pop-up window, fill out the name you want for your query and the query that you want to save. Click **Create saved search**.
|
||||
|
||||

|
||||
|
||||
1. If you click again on the search bar, you can now see your saved search in the "Saved searches" section under the search bar. Clicking on a saved search entry will add the query to the search bar and filter the suggestions accordingly.
|
||||
|
||||

|
||||
|
||||
- To edit a saved search, in the "Saved searches" section, click {% octicon "pencil" aria-label="The pencil icon" %} to the right of the saved search.
|
||||
- To delete a saved search, click {% octicon "trash" aria-label="The trash icon" %} to the right of the saved search.
|
||||
|
||||

|
||||
|
||||
## Using the search results view
|
||||
|
||||
This search results view already existed for the current search on GitHub, and the functionality for most search types, except code, is the same. With the new code search beta enabled, the search results page has a redesigned UI and includes filters that are part of the new code search engine, such as path and symbol filters.
|
||||
The search results view already exists for the classic search on GitHub, and the functionality for most search types, except code, is the same. With the new code search beta enabled, the search results page has a redesigned UI and includes filters that are supported in the new code search engine, such as path and symbol filters.
|
||||
|
||||
To construct a search query and view, sort, and filter results using a visual interface, you can use {% data variables.search.search_page_url %} or {% data variables.search.advanced_url %}.
|
||||
To construct a search query, as well as view and filter results, using a visual interface, you can use the {% data variables.search.search_page_url %} or {% data variables.search.advanced_url %}. If you press Enter after typing a search query in the search bar, you will also be taken to the search results view.
|
||||
|
||||
If you press Enter after typing a search query in the search bar, you will also be taken to the search results view.
|
||||
On the search results view, you can navigate between different types of search results, including code, issues, pull request, repositories, and more. You can also view and ues filters.
|
||||
|
||||
On the search results view, you can navigate between different types of search results, including code, issues, pull request, repositories, and more. You can also view and click on filters, and sort results.
|
||||

|
||||
Reference in New Issue
Block a user