You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Adds CPS functionality to Discover, enabling saved searches and Discover embeddables to react to changes in CPS project picker.
Discover app
When going to Discover, project routing is set to default spaces setting (for now hardcoded).
When moving to another app or reloading Discover page, the setting is reset.
Project routing is not persisted in URL.
The user has the ability to save the project routing setting to a Discover session. If it's saved, next time it will be loaded with the saved setting.
Project routing is persisted per discover session if the user choses to save it to saved object, not per tab (with the ability to override for ESQL tabs)
Dashboard
By default, Discover session takes the CPS setting from the Dashboard (implemented here)
If Discover session has its own project routing saved in, it takes precedence over the Dashboard setting and informs the user about scope overrides via custom badge (please do not pay much attention to the badge current design, it will be refined later on + it doesn't display yet for ESQL cases):
Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.
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.
Summary
Adds CPS functionality to Discover, enabling saved searches and Discover embeddables to react to changes in CPS project picker.

Discover app
Dashboard