fixed saved search query (#27808)
Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Using GitHub Code Search
|
||||
intro: 'You can use suggestions, completions and saved searches in the upgraded search interface to quickly find what you are looking for across {% data variables.product.prodname_dotcom_the_website %}.'
|
||||
intro: "You can use suggestions, completions and saved searches in the upgraded search interface to quickly find what you are looking for across {% data variables.product.prodname_dotcom_the_website %}."
|
||||
allowTitleToDifferFromFilename: true
|
||||
versions:
|
||||
feature: code-search-code-view
|
||||
@@ -27,9 +27,9 @@ For more information about the search syntax of code search, see "[AUTOTITLE](/s
|
||||
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, depending on the type of search, the search query will appear in the search bar or you will be taken to the search results page for the search term.
|
||||
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, depending on the type of search, the search query will appear in the search bar or you will be taken to the search results page for the search term.
|
||||
|
||||
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.
|
||||
|
||||
@@ -40,11 +40,13 @@ For more information about the search syntax of code search, see "[AUTOTITLE](/s
|
||||
## Creating and managing saved searches
|
||||
|
||||
1. In the top navigation of {% data variables.product.prodname_dotcom_the_website %}, click the search bar and type `saved:`.
|
||||
1. Under the search bar, the "Saved searches" section should now appear. Click {% octicon "plus-circle" aria-hidden="true" %} **Create 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.
|
||||
1. Under the search bar, in the "Saved queries" section, click {% octicon "plus-circle" aria-hidden="true" %} **Manage saved searches**.
|
||||
1. In the pop-up window, type both the name you want for your saved search and the query you want to save.
|
||||
1. To finish creating your saved search, click **Create saved search**.
|
||||
1. To see your saved search, click the search bar. Your saved search will be in the "Saved queries" section. Clicking on a saved search entry will add the query to the search bar and filter the suggestions accordingly.
|
||||
1. To manage a saved search, type `saved:` in the search bar, then click {% octicon "plus-circle" aria-hidden="true" %} **Manage saved searches**.
|
||||
- To edit a saved search, to the right of the search, click {% octicon "pencil" aria-label="The pencil icon" %}.
|
||||
- To delete a saved search, to the right of the search, click {% octicon "trash" aria-label="The trash icon" %}.
|
||||
|
||||
## Using the search results view
|
||||
|
||||
|
||||
Reference in New Issue
Block a user