-
Notifications
You must be signed in to change notification settings - Fork 159
Docs for pinned filters and other available actions on "pills" #2438
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
Merged
florent-leborgne
merged 7 commits into
elastic:main
from
florent-leborgne:pin-across-all-apps
Aug 7, 2025
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d73261d
Docs for global filters
florent-leborgne 33a2b0d
Update explore-analyze/_snippets/global-filters.md
florent-leborgne 792c8fc
add content to other apps
florent-leborgne 177aaba
specify that pinned filters aren't saved along with the object
florent-leborgne 8a756de
Merge branch 'pin-across-all-apps' of github.com:florent-leborgne/doc…
florent-leborgne 795f2b2
Merge branch 'main' into pin-across-all-apps
florent-leborgne 68ec292
Merge branch 'main' into pin-across-all-apps
florent-leborgne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
You can interact with filter pills to edit them, temporarily alter their behavior without having to delete them, or make them available in other contexts. The following options are available when selecting a filter pill: | ||
|
||
**Pin across all apps** and **Unpin** | ||
: Adds this filter to available dashboards and to apps such as **Discover**, **Lens**, **Maps**, and **Visualize**. The filter is removed if you: | ||
* Unpin it. In this case, the filter only remains on the currently open app, unpinned. | ||
* Remove it from any place while it's still pinned. | ||
* Refresh your session, for example by opening a dashboard in a new tab. Pinned filters are not saved along with the dashboard, visualization, or Discover session that you added them to. | ||
|
||
:::{tip} | ||
When a pinned filter can't be applied, for example if a field specified in the filter doesn't exist in the current data view, the filter is ignored and shows in a different color. | ||
::: | ||
|
||
**Edit filter** | ||
: Lets you edit and update the filter. | ||
|
||
**Exclude results** and **Include results** | ||
: Reverses the filter behavior. | ||
|
||
**Temporarily disable** and **Re-enable** | ||
: Lets you temporarily disable a filter instead of requiring you to delete it. This is particularly useful for testing different filter combinations. | ||
|
||
**Delete** | ||
: Deletes the filter. | ||
|
||
You can perform most of these actions at once for all filters in your current view using the **Filter** icon {icon}`filter`. From the menu that opens, select **Apply to all**, then choose the action you'd like to perform. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another interesting behavior is that Pinned filters are not saved. For example, if you pin a filter on a dashboard and save the dashboard. Then open the dashboard listing table in a new tab and open the dashboard, the pinned filter is no longer present. Not sure if this is worth mentioning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is! I will add something